fix mailable

This commit is contained in:
Godfrey M
2025-07-15 12:04:36 -07:00
parent f130186b37
commit 214757ab0b
+1 -1
View File
@@ -26,7 +26,7 @@ class CheckoutComponentMail extends Mailable
$this->note = $note;
$this->target = $checkedOutTo;
$this->acceptance = $acceptance;
$this->qty = optional($component->assets->first())->pivot->assigned_qty;
$this->qty = optional(optional($component->assets->first())->pivot)->assigned_qty;
$this->settings = Setting::getSettings();