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
All checks were successful
Scan for leaked secrets using Kingfisher / kingfisher-secrets-scan (push) Successful in 26s
This commit is contained in:
@@ -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');
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user