reversed order of the acceptance and note paramter

This commit is contained in:
Godfrey M 2024-12-11 16:14:06 -08:00
parent a7e6b8ea3f
commit 400833f834
2 changed files with 1 additions and 2 deletions

View file

@ -282,7 +282,7 @@ class CheckoutableListener
];
$mailable= $lookup[get_class($event->checkoutable)];
return new $mailable($event->checkoutable, $event->checkedOutTo, $event->checkedOutBy, $event->note, $acceptance);
return new $mailable($event->checkoutable, $event->checkedOutTo, $event->checkedOutBy, $acceptance, $event->note);
}
private function getCheckinMailType($event){

View file

@ -27,7 +27,6 @@ class CheckoutLicenseMail extends Mailable
$this->note = $note;
$this->target = $checkedOutTo;
$this->acceptance = $acceptance;
$this->settings = Setting::getSettings();
}