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