corrected the relation in plant model #1388
@@ -269,6 +269,6 @@ class Plant extends Model
|
|||||||
|
|
||||||
public function courierInwards()
|
public function courierInwards()
|
||||||
{
|
{
|
||||||
return $this->hasMany(ItemCharacteristic::class, 'plant_id', 'id');
|
return $this->hasMany(CourierInward::class, 'plant_id', 'id');
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user