ranjith-dev #552

Merged
jothi merged 7 commits from ranjith-dev into master 2026-04-29 12:50:02 +00:00
Showing only changes of commit c1ef611c9a - Show all commits

View File

@@ -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');