Hello I have an amount field and a process type field (income-expense)
when I list all process, I can show expenses as negative by
$xcrud->column_callback('amount', 'format_amount_as_negative');
function. It shows correctly.
But the bottom of list sum('amount') code sums all values as positive
how can I sum field values after column_callback manipulation?
when I list all process, I can show expenses as negative by
$xcrud->column_callback('amount', 'format_amount_as_negative');
function. It shows correctly.
But the bottom of list sum('amount') code sums all values as positive
how can I sum field values after column_callback manipulation?