ranjith-dev #552
@@ -48,6 +48,11 @@ class Plant extends Model
|
||||
return $this->hasMany(StickerMaster::class, 'plant_id', 'id');
|
||||
}
|
||||
|
||||
public function weightValidations(): HasMany
|
||||
{
|
||||
return $this->hasMany(WeightValidation::class, 'plant_id', 'id');
|
||||
}
|
||||
|
||||
public function invoiceValidations()
|
||||
{
|
||||
return $this->hasMany(InvoiceValidation::class, 'plant_id', 'id');
|
||||
|
||||
Reference in New Issue
Block a user