fix: callbacktransction
This commit is contained in:
parent
953161c4b2
commit
359b375556
|
@ -1180,7 +1180,8 @@ export class TransactionService {
|
||||||
const coaExpense = await this.coaService.findByName(
|
const coaExpense = await this.coaService.findByName(
|
||||||
`${coaType[coaType.EXPENSE]}-SYSTEM`,
|
`${coaType[coaType.EXPENSE]}-SYSTEM`,
|
||||||
);
|
);
|
||||||
if (userData.partner != null) {
|
|
||||||
|
if (userData.partner == null) {
|
||||||
//GET SALES
|
//GET SALES
|
||||||
supervisorData = await this.calculateCommission(
|
supervisorData = await this.calculateCommission(
|
||||||
supervisorData,
|
supervisorData,
|
||||||
|
|
Loading…
Reference in New Issue
Block a user