assets
This commit is contained in:
@@ -112,7 +112,7 @@ class AssetHelper {
|
|||||||
public function GetAssetByType($type, $structureId) {
|
public function GetAssetByType($type, $structureId) {
|
||||||
$asset = Asset::where([
|
$asset = Asset::where([
|
||||||
'location_id' => $structureId,
|
'location_id' => $structureId,
|
||||||
'type' => $type,
|
'type_id' => $type,
|
||||||
'location_flag' => 'StructureFuel',
|
'location_flag' => 'StructureFuel',
|
||||||
])->first();
|
])->first();
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user