From 0e61523dabf3dbe625e2f1d8ca7bdbd8ca5de10b Mon Sep 17 00:00:00 2001 From: Fadli Date: Fri, 28 Oct 2022 11:10:50 +0700 Subject: [PATCH] - push total commision --- src/transaction/transaction.service.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/transaction/transaction.service.ts b/src/transaction/transaction.service.ts index 164a211..87160b1 100644 --- a/src/transaction/transaction.service.ts +++ b/src/transaction/transaction.service.ts @@ -2126,7 +2126,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(data.total_profit) - parseInt(total_expense), + total_commission: parseInt(total_expense) - parseInt(data.total_profit), }; }