- fix total commision

This commit is contained in:
Fadli 2022-10-11 11:40:54 +07:00
parent 8d1ed5a686
commit 7285938241

View File

@ -2119,7 +2119,7 @@ export class TransactionService {
total_transaction: parseInt(data.total_transaction),
total_modal: parseInt(data.total_modal),
total_profit: parseInt(data.total_profit),
total_commission: parseInt(total_expense) - parseInt(data.total_profit),
total_commission: parseInt(data.total_profit) - parseInt(total_expense),
};
}