- push total commision

This commit is contained in:
Fadli 2022-10-28 11:10:50 +07:00
parent ead1a6efa4
commit 0e61523dab

View File

@ -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),
};
}