diff --git a/lib/partner.js b/lib/partner.js index 5044037..c8f19c8 100644 --- a/lib/partner.js +++ b/lib/partner.js @@ -16,7 +16,8 @@ function buy(task) { pull.report({ trx_id: task.trx_id, rc: '14', - message: `GAGAL karena nomor tujuan ${task.destination} adalah nomor ganjil` + message: `GAGAL karena nomor tujuan ${task.destination} adalah nomor ganjil`, + balance: config.supplier_ending_balance }); } else { @@ -25,7 +26,8 @@ function buy(task) { rc: '00', sn: moment().format('YYYYMMDDHHmmssSSS'), message: `BERHASIL karena nomor tujuan ${task.destination} adalah nomor genap`, - amount: config.supplier_price ? config.supplier_price[task.product] : null + amount: config.supplier_price ? config.supplier_price[task.product] : null, + balance: config.supplier_ending_balance }); }