- fix total profit b2b
This commit is contained in:
parent
af797919fd
commit
de3ce740f0
|
@ -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),
|
||||
};
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user