This commit is contained in:
2019-07-08 19:52:45 -05:00
parent 94cce31f47
commit a3892b183e

View File

@@ -112,7 +112,7 @@ class AssetHelper {
public function GetAssetByType($type, $structureId) {
$asset = Asset::where([
'location_id' => $structureId,
'type' => $type,
'type_id' => $type,
'location_flag' => 'StructureFuel',
])->first();