From df882bbcbccd12d5c3041d8425363e0c3d7fbb41 Mon Sep 17 00:00:00 2001 From: snipe Date: Tue, 28 May 2024 10:24:10 +0100 Subject: [PATCH] =?UTF-8?q?Pass=20item=E2=80=99s=20currency=20if=20set=20b?= =?UTF-8?q?y=20location?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: snipe --- resources/views/accessories/edit.blade.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/resources/views/accessories/edit.blade.php b/resources/views/accessories/edit.blade.php index b3ff55d419..068fddc266 100644 --- a/resources/views/accessories/edit.blade.php +++ b/resources/views/accessories/edit.blade.php @@ -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')