Fixed assetloc to location
This commit is contained in:
parent
5d890fb139
commit
95b6e0d2d8
1 changed files with 2 additions and 2 deletions
|
@ -61,8 +61,8 @@
|
||||||
@include ('partials.forms.edit.order_number')
|
@include ('partials.forms.edit.order_number')
|
||||||
<?php
|
<?php
|
||||||
$currency_type=null;
|
$currency_type=null;
|
||||||
if ($item->id && $item->assetloc) {
|
if ($item->id && $item->location) {
|
||||||
$currency_type = $item->assetloc->currency;
|
$currency_type = $item->location->currency;
|
||||||
}
|
}
|
||||||
?>
|
?>
|
||||||
@include ('partials.forms.edit.purchase_cost', ['currency_type' => $currency_type])
|
@include ('partials.forms.edit.purchase_cost', ['currency_type' => $currency_type])
|
||||||
|
|
Loading…
Add table
Reference in a new issue