diff --git a/app/Models/Estimate.php b/app/Models/Estimate.php index bf1baf7c..447d6eb2 100644 --- a/app/Models/Estimate.php +++ b/app/Models/Estimate.php @@ -33,9 +33,7 @@ class Estimate extends Model implements HasMedia protected $dates = [ 'created_at', 'updated_at', - 'deleted_at', - 'estimate_date', - 'expiry_date' + 'deleted_at' ]; protected $appends = [ diff --git a/app/Models/Invoice.php b/app/Models/Invoice.php index db93a008..a2541b74 100644 --- a/app/Models/Invoice.php +++ b/app/Models/Invoice.php @@ -39,9 +39,7 @@ class Invoice extends Model implements HasMedia protected $dates = [ 'created_at', 'updated_at', - 'deleted_at', - 'invoice_date', - 'due_date' + 'deleted_at' ]; protected $casts = [ diff --git a/app/Models/Payment.php b/app/Models/Payment.php index 6ddbc9cd..8b1319dd 100644 --- a/app/Models/Payment.php +++ b/app/Models/Payment.php @@ -31,7 +31,7 @@ class Payment extends Model implements HasMedia const PAYMENT_MODE_CREDIT_CARD = 'CREDIT_CARD'; const PAYMENT_MODE_BANK_TRANSFER = 'BANK_TRANSFER'; - protected $dates = ['created_at', 'updated_at', 'payment_date']; + protected $dates = ['created_at', 'updated_at']; protected $guarded = ['id'];