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