Added machine_id column in alert mail model file
All checks were successful
Scan for leaked secrets using Kingfisher / kingfisher-secrets-scan (push) Successful in 26s

This commit is contained in:
dhanabalan
2026-08-18 12:44:25 +05:30
parent 7fcb3ebcb2
commit 39d65afcfe

View File

@@ -18,6 +18,7 @@ class AlertMailRule extends Model
'email', 'email',
'cc_emails', 'cc_emails',
'schedule_type', 'schedule_type',
'machine_id',
'created_at', 'created_at',
'updated_at', 'updated_at',
'created_by', 'created_by',
@@ -29,4 +30,10 @@ class AlertMailRule extends Model
return $this->belongsTo(InvoiceMaster::class); return $this->belongsTo(InvoiceMaster::class);
//return $this->belongsTo(InvoiceMaster::class, 'invoice_master_id'); //return $this->belongsTo(InvoiceMaster::class, 'invoice_master_id');
} }
public function machine(): BelongsTo
{
return $this->belongsTo(Machine::class);
//return $this->belongsTo(InvoiceMaster::class, 'invoice_master_id');
}
} }