mirror of
https://github.com/crater-invoice/crater.git
synced 2025-10-29 20:51:09 -04:00
solve trailing data error
This commit is contained in:
@ -63,20 +63,6 @@ class Invoice extends Model implements HasMedia
|
||||
'invoicePdfUrl',
|
||||
];
|
||||
|
||||
public function setInvoiceDateAttribute($value)
|
||||
{
|
||||
if ($value) {
|
||||
$this->attributes['invoice_date'] = $value;
|
||||
}
|
||||
}
|
||||
|
||||
public function setDueDateAttribute($value)
|
||||
{
|
||||
if ($value) {
|
||||
$this->attributes['due_date'] = $value;
|
||||
}
|
||||
}
|
||||
|
||||
public function emailLogs()
|
||||
{
|
||||
return $this->morphMany('App\Models\EmailLog', 'mailable');
|
||||
|
||||
Reference in New Issue
Block a user