From 24637bff4a068cf06139c8f2a0dae36414adeefa Mon Sep 17 00:00:00 2001 From: raishvaria Date: Wed, 4 Dec 2019 17:08:36 +0530 Subject: [PATCH] add estimate & invoice item qty cast, build 201 --- app/EstimateItem.php | 1 + app/InvoiceItem.php | 1 + 2 files changed, 2 insertions(+) diff --git a/app/EstimateItem.php b/app/EstimateItem.php index 3bed838a..640c8108 100644 --- a/app/EstimateItem.php +++ b/app/EstimateItem.php @@ -24,6 +24,7 @@ class EstimateItem extends Model 'price' => 'integer', 'total' => 'integer', 'discount' => 'float', + 'quantity' => 'float', 'discount_val' => 'integer', 'tax' => 'integer' ]; diff --git a/app/InvoiceItem.php b/app/InvoiceItem.php index 7249fbf9..1f01980d 100644 --- a/app/InvoiceItem.php +++ b/app/InvoiceItem.php @@ -30,6 +30,7 @@ class InvoiceItem extends Model 'price' => 'integer', 'total' => 'integer', 'discount' => 'float', + 'quantity' => 'float', 'discount_val' => 'integer', 'tax' => 'integer' ];