Merge pull request #14773 from snipe/bug/sc-25674/location_currency_on_edit

Pass accessory's currency if set by location
This commit is contained in:
snipe 2024-05-28 10:29:20 +01:00 committed by GitHub
commit 206238e83f
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

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')