document model add append columns received_at and sent_at

This commit is contained in:
Cüneyt Şentürk 2020-12-24 11:59:20 +03:00
parent 625ee4bf65
commit f80ab42d7a

View File

@ -28,7 +28,7 @@ class Document extends Model
protected $table = 'documents';
protected $appends = ['attachment', 'amount_without_tax', 'discount', 'paid', 'status_label'];
protected $appends = ['attachment', 'amount_without_tax', 'discount', 'paid', 'received_at', 'status_label', 'sent_at'];
protected $dates = ['deleted_at', 'issued_at', 'due_at'];