Commit 2a392d46bb37d55d6724df7030e4122b589b91c8

Authored by Adhidarma Hadiwinoto
1 parent e01ea76b33
Exists in master

perbaikan tarif daya

Showing 1 changed file with 2 additions and 2 deletions Side-by-side Diff

... ... @@ -86,7 +86,7 @@ function prepareResultData(result) {
86 86 data.dt = ts;
87 87 }
88 88 catch(err) {
89   - logger.warn('Exception when getting timestamp data, using current timestamp', {err: err, result: result, task: task});
  89 + //logger.warn('Exception when getting timestamp data, using current timestamp', {err: err, result: result, task: task});
90 90 data.dt = strftime('%Y-%m-%d %H:%M:%S', new Date());
91 91 }
92 92  
... ... @@ -309,7 +309,7 @@ function topupRequest(task) {
309 309 if (resultCode == '0000') {
310 310 var nama_pelanggan = directResponse.Result.nama_pel[0].trim();
311 311 nama_pelanggan = nama_pelanggan.replace(/-\/-/g, '-');
312   - var sn = directResponse.Result.token[0].trim() + '/' + nama_pelanggan + '/' + directResponse.Result.tarif[0].trim() + 'VA/' + directResponse.Result.jml_daya[0].trim();
  312 + var sn = directResponse.Result.token[0].trim() + '/' + nama_pelanggan + '/' + directResponse.Result.tarif[0].trim() + '/' + directResponse.Result.daya[0].trim() + 'VA/' + directResponse.Result.jml_daya[0].trim();
313 313 sn = sn.replace(/\s/g, '-');
314 314  
315 315 responseMessage = 'SN=' + sn + '; ' + responseMessage;