mirror of
https://github.com/crater-invoice/crater.git
synced 2025-10-27 19:51:09 -04:00
fix custom field issue and report issues
This commit is contained in:
committed by
Mohit Panjwani
parent
7b6a88ad4e
commit
603bf637a7
@ -226,7 +226,7 @@ class Expense extends Model implements HasMedia
|
||||
$query->select(
|
||||
DB::raw('
|
||||
count(*) as expenses_count,
|
||||
sum(amount) as total_amount,
|
||||
sum(base_amount) as total_amount,
|
||||
expense_category_id')
|
||||
)
|
||||
->groupBy('expense_category_id');
|
||||
|
||||
Reference in New Issue
Block a user