Pass item’s currency if set by location

Signed-off-by: snipe <snipe@snipe.net>
This commit is contained in:
snipe 2024-05-28 10:24:10 +01:00
parent 6c1c3a99dd
commit df882bbcbc

View file

@ -18,7 +18,7 @@
@include ('partials.forms.edit.model_number')
@include ('partials.forms.edit.order_number')
@include ('partials.forms.edit.purchase_date')
@include ('partials.forms.edit.purchase_cost')
@include ('partials.forms.edit.purchase_cost', ['currency_type' => $item->location->currency ?? null])
@include ('partials.forms.edit.quantity')
@include ('partials.forms.edit.minimum_quantity')
@include ('partials.forms.edit.notes')