- fix total commision query
This commit is contained in:
parent
9bd6ee6b9b
commit
175fa2a7eb
|
@ -2121,7 +2121,7 @@ export class TransactionService {
|
||||||
total_transaction: parseInt(data.total_transaction),
|
total_transaction: parseInt(data.total_transaction),
|
||||||
total_modal: parseInt(data.total_modal),
|
total_modal: parseInt(data.total_modal),
|
||||||
total_profit: parseInt(data.total_profit),
|
total_profit: parseInt(data.total_profit),
|
||||||
total_commission: - parseInt(total_expense) - parseInt(data.total_profit),
|
total_commission: parseInt(total_expense) - parseInt(data.total_profit),
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user