fix: callbacktransction
This commit is contained in:
@@ -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,
|
||||||
|
|||||||
Reference in New Issue
Block a user