Commit 63385829fe268a8ffc6929802df5161e22df428d
1 parent
12bc3d93d4
Exists in
master
stock ketika gagal
Showing 1 changed file with 1 additions and 1 deletions Side-by-side Diff
KiselScrap.php
... | ... | @@ -163,6 +163,7 @@ Class KiselScrap { |
163 | 163 | $xml_str .= "<product>$arr_resp[5]</product>"; |
164 | 164 | $xml_str .= "<msisdn>$arr_resp[7]</msisdn>"; |
165 | 165 | $xml_str .= "<harga>$arr_resp[11]</harga>"; |
166 | + $xml_str .= "<stock>$strBal</stock>"; | |
166 | 167 | $xml_str .= "<info>$arr_resp[13]</info>"; |
167 | 168 | $xml_str .= "</trx_response>"; |
168 | 169 | } |
... | ... | @@ -176,7 +177,6 @@ Class KiselScrap { |
176 | 177 | |
177 | 178 | $this->resp_xml = $xml_str; |
178 | 179 | # hit response transaksi ke ST24 |
179 | - #$this->send_form($this->resp_target, '', $arr_resp); | |
180 | 180 | } |
181 | 181 | else { |
182 | 182 | preg_match("/name=\"_sourcePage\" value=\"(\\S+)\"/s", $this->resp_str, $matches); |