Use correct qty in component checkout email

This commit is contained in:
Marcus Moore
2025-09-11 14:10:31 -07:00
parent 15698d7694
commit 082bc3ece4
2 changed files with 4 additions and 2 deletions
+1 -1
View File
@@ -26,7 +26,7 @@ class CheckoutComponentMail extends Mailable
$this->note = $note;
$this->target = $checkedOutTo;
$this->acceptance = $acceptance;
$this->qty = $component->assets->first()?->pivot?->assigned_qty;
$this->qty = $component->checkout_qty;
$this->settings = Setting::getSettings();
}