mirror of
https://github.com/snipe/snipe-it.git
synced 2025-03-05 20:52:15 -08:00
Fixed assetloc to location
This commit is contained in:
parent
5d890fb139
commit
95b6e0d2d8
|
@ -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…
Reference in a new issue