Added wiremasterpacking in plant and item model
This commit is contained in:
@@ -109,6 +109,11 @@ class Plant extends Model
|
||||
return $this->hasMany(ProcessOrder::class, 'plant_id', 'id');
|
||||
}
|
||||
|
||||
public function wireMasterPacking()
|
||||
{
|
||||
return $this->hasMany(WireMasterPacking::class, 'plant_id', 'id');
|
||||
}
|
||||
|
||||
public function productionOrder()
|
||||
{
|
||||
return $this->hasMany(ProductionOrder::class, 'plant_id', 'id');
|
||||
|
||||
Reference in New Issue
Block a user