fixing: transaction bill
This commit is contained in:
parent
fe3404db32
commit
6a2c535414
|
@ -78,7 +78,7 @@ export class PpobCallbackController {
|
|||
);
|
||||
//
|
||||
} else {
|
||||
if (response['status'] != 20) {
|
||||
if (response['status'].toString() != '20') {
|
||||
//TODO: UPDATE GAGAL
|
||||
const updateTransaction =
|
||||
await this.transactionService.callbackOrderFailed(
|
||||
|
|
|
@ -1172,8 +1172,7 @@ export class TransactionService {
|
|||
const coaExpense = await this.coaService.findByName(
|
||||
`${coaType[coaType.EXPENSE]}-SYSTEM`,
|
||||
);
|
||||
|
||||
if (!userData.partner) {
|
||||
if (userData.partner != null) {
|
||||
//GET SALES
|
||||
supervisorData = await this.calculateCommission(
|
||||
supervisorData,
|
||||
|
|
Loading…
Reference in New Issue
Block a user