From 46d795a61fd80ac8cc304824f7dc075aaa4b44d2 Mon Sep 17 00:00:00 2001 From: David Bomba Date: Fri, 6 Mar 2020 22:19:09 +1100 Subject: [PATCH] Minor Fixes (#3436) * remove jobs table * Working on notifications * Working on notifications * Fix for pdf_variables * Fixes for notification * Fixes for viewing invoice with NO company custom_fields * Fixes for company settings object creation * Working on group settings * Fixes for storing the correct currency_id on client creation * Fix for invoicetransformer * fix for store client * Update PaymentAppliedValidAmount.php (#38) * update company schema descriptions * Update PaymentAppliedValidAmount.php Co-authored-by: David Bomba * Cast invoice designs to the Hashes * Fixes for setting invoice/credit/design_ids to hashed * Fixes for quote transformer * Fixes for casts Co-authored-by: michael-hampton --- app/Models/Payment.php | 1 + 1 file changed, 1 insertion(+) diff --git a/app/Models/Payment.php b/app/Models/Payment.php index 5488269dc281..fe4a6cf92de5 100644 --- a/app/Models/Payment.php +++ b/app/Models/Payment.php @@ -67,6 +67,7 @@ class Payment extends BaseModel ]; protected $casts = [ + 'exchange_rate' => 'float', 'settings' => 'object', 'updated_at' => 'timestamp', 'created_at' => 'timestamp',