From e4b26cde3f6bd998d312790eca3fed5fc09dc9b5 Mon Sep 17 00:00:00 2001 From: denisdulici Date: Tue, 8 Jan 2019 11:53:13 +0300 Subject: [PATCH] fixed relationships --- app/Models/Setting/Tax.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/Models/Setting/Tax.php b/app/Models/Setting/Tax.php index f3a1ae00c..00ed7a67d 100644 --- a/app/Models/Setting/Tax.php +++ b/app/Models/Setting/Tax.php @@ -37,12 +37,12 @@ class Tax extends Model public function bill_items() { - return $this->hasMany('App\Models\Expense\BillItem'); + return $this->hasMany('App\Models\Expense\BillItemTax'); } public function invoice_items() { - return $this->hasMany('App\Models\Income\InvoiceItem'); + return $this->hasMany('App\Models\Income\InvoiceItemTax'); } /**