Compare commits
2 Commits
8703aec73e
...
6d26307c4a
| Author | SHA1 | Date | |
|---|---|---|---|
| 6d26307c4a | |||
|
|
efaf876df3 |
@@ -13,6 +13,7 @@ class AlertMailRule extends Model
|
|||||||
protected $fillable = [
|
protected $fillable = [
|
||||||
'module',
|
'module',
|
||||||
'plant',
|
'plant',
|
||||||
|
'invoice_master_id',
|
||||||
'rule_name',
|
'rule_name',
|
||||||
'email',
|
'email',
|
||||||
'cc_emails',
|
'cc_emails',
|
||||||
@@ -23,8 +24,9 @@ class AlertMailRule extends Model
|
|||||||
'updated_by',
|
'updated_by',
|
||||||
];
|
];
|
||||||
|
|
||||||
// public function plant(): BelongsTo
|
public function invoiceMaster(): BelongsTo
|
||||||
// {
|
{
|
||||||
// return $this->belongsTo(Plant::class);
|
return $this->belongsTo(InvoiceMaster::class);
|
||||||
// }
|
//return $this->belongsTo(InvoiceMaster::class, 'invoice_master_id');
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user