Added has many relationship for WeightValidation
Some checks failed
Scan for leaked secrets using Kingfisher / kingfisher-secrets-scan (push) Has been cancelled
Some checks failed
Scan for leaked secrets using Kingfisher / kingfisher-secrets-scan (push) Has been cancelled
This commit is contained in:
@@ -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