Added coil packingrelation in item model file
Some checks failed
Scan for leaked secrets using Kingfisher / kingfisher-secrets-scan (push) Has been cancelled
Gemini PR Review / Gemini PR Review (pull_request) Failing after 24s
Scan for leaked secrets using Kingfisher / kingfisher-secrets-scan (pull_request) Successful in 18s
Laravel Pint / pint (pull_request) Successful in 2m30s
Laravel Larastan / larastan (pull_request) Failing after 5m49s
Some checks failed
Scan for leaked secrets using Kingfisher / kingfisher-secrets-scan (push) Has been cancelled
Gemini PR Review / Gemini PR Review (pull_request) Failing after 24s
Scan for leaked secrets using Kingfisher / kingfisher-secrets-scan (pull_request) Successful in 18s
Laravel Pint / pint (pull_request) Successful in 2m30s
Laravel Larastan / larastan (pull_request) Failing after 5m49s
This commit is contained in:
@@ -17,6 +17,7 @@ class Item extends Model
|
|||||||
'description',
|
'description',
|
||||||
'hourly_quantity',
|
'hourly_quantity',
|
||||||
'uom',
|
'uom',
|
||||||
|
// 'type',
|
||||||
];
|
];
|
||||||
|
|
||||||
public function plant()
|
public function plant()
|
||||||
@@ -118,4 +119,9 @@ class Item extends Model
|
|||||||
{
|
{
|
||||||
return $this->hasMany(PanelGrMaster::class, 'item_id', 'id');
|
return $this->hasMany(PanelGrMaster::class, 'item_id', 'id');
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public function coilPacking()
|
||||||
|
{
|
||||||
|
return $this->hasMany(CoilPacking::class, 'item_id', 'id');
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user