Subversion Repositories SmartDukaan

Rev

Rev 11024 | Go to most recent revision | Blame | Compare with Previous | Last modification | View Log | RSS feed

<!-- <?php //echo '<pre>'; print_r($recharge_orderconfirmation[0]->response); echo '</pre>';?> -->
<?php //$orderConfirmation = $recharge_orderconfirmation[0];?>
<div class="r-hldr"> 
  <div class="r-head">Recharge Details</div>
  <div class="r-cont clearfix">
    <div>Order Id</div>
    <div><?php echo $recharge_orderconfirmation[0]->response->rechargeDisplayId; ?></div>
  </div>
  <div class="r-cont clearfix">
    <div>Status</div>
    <div><?php echo $recharge_orderconfirmation[0]->response->rechargeStatus; ?></div>
  </div>
  <div class="r-info">
    <div class="r-info-head clearfix">
      <div>Mobile Number</div>
      <div>Operator</div>
      <div>Amount</div>
    </div>
    <div class="r-info-body clearfix">
      <div><?php echo $recharge_orderconfirmation[0]->response->rechargeDeviceNumber ?></div>
      <div><?php echo $recharge_orderconfirmation[0]->response->rechargeProvider ?></div>
      <div><?php echo $recharge_orderconfirmation[0]->response->totalAmount ?></div>
    </div>
  </div><!--o-info-->
  
</div><!--o-hldr-->
<script type="text/javascript">
var value = localStorage.getItem('rechargeValue');
  if(parseInt(value) == 1){
    ga('send', 'event', 'Recharge', 'Recharge Result','Mobile-Result');  
  }else if(parseInt(value) == 2){
    ga('send', 'event', 'Recharge Result', 'Pay Now','DTH-Result');
  }
  var orderConfirmation = <?php echo json_encode($orderConfirmation);?>
</script>