From f80ab42d7a5cee7dee812cd252d4ef2967d04b71 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=BCneyt=20=C5=9Eent=C3=BCrk?= Date: Thu, 24 Dec 2020 11:59:20 +0300 Subject: [PATCH] document model add append columns received_at and sent_at --- app/Models/Document/Document.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Models/Document/Document.php b/app/Models/Document/Document.php index 8fb8ac4ba..2b3a9fc85 100644 --- a/app/Models/Document/Document.php +++ b/app/Models/Document/Document.php @@ -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'];