- fix total profit b2b

This commit is contained in:
Fadli 2022-12-29 16:30:58 +07:00
parent af797919fd
commit de3ce740f0

View File

@ -2390,7 +2390,8 @@ export class TransactionService {
total_modal: parseInt(data.total_modal),
total_amount: parseInt(data.total_amount),
total_transaction: parseInt(data.total_transaction),
total_profit: parseInt(data.total_profit),
total_profit: data.total_amount - data.total_modal,
// total_profit: parseInt(data.total_profit),
};
}