Commit d625c11d805c3a678817fd7126ccf0eecb2f911a

Authored by Adhidarma Hadiwinoto
1 parent 4b5a577721
Exists in master

penanganan response Nomor tujuan salah

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

... ... @@ -117,6 +117,9 @@ function parseMessage(task, message) {
117 117 if (message.indexOf('SUKSES') >= 0) {
118 118 rc = '00';
119 119 }
  120 + else if (message.indexOf('GAGAL. Nomor tujuan salah') >= 0) {
  121 + rc = '14';
  122 + }
120 123 else if (message.indexOf('Gagal.') >= 0) {
121 124 rc = '40';
122 125 }