mirror of
https://github.com/InvoiceShelf/InvoiceShelf.git
synced 2026-04-07 13:41:23 +00:00
fix custom field issue and report issues
This commit is contained in:
committed by
Mohit Panjwani
parent
7b6a88ad4e
commit
603bf637a7
@@ -68,7 +68,7 @@ class Tax extends Model
|
||||
public function scopeTaxAttributes($query)
|
||||
{
|
||||
$query->select(
|
||||
DB::raw('sum(amount) as total_tax_amount, tax_type_id')
|
||||
DB::raw('sum(base_amount) as total_tax_amount, tax_type_id')
|
||||
)->groupBy('tax_type_id');
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user