Subversion Repositories SmartDukaan

Rev

Rev 10939 | Go to most recent revision | Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
10582 lgm 1
<!-- <?php //echo '<pre>'; print_r($recharge_orderconfirmation[0]->response); echo '</pre>';?> -->
2
<?php //$orderConfirmation = $recharge_orderconfirmation[0];?>
3
<div class="r-hldr"> 
4
  <div class="r-head">Recharge Details</div>
5
  <div class="r-cont clearfix">
6
    <div>Order Id</div>
7
    <div><?php echo $recharge_orderconfirmation[0]->response->rechargeDisplayId; ?></div>
8
  </div>
9
  <div class="r-cont clearfix">
10
    <div>Status</div>
11
    <div><?php echo $recharge_orderconfirmation[0]->response->rechargeStatus; ?></div>
12
  </div>
13
  <div class="r-info">
14
    <div class="r-info-head clearfix">
15
      <div>Mobile Number</div>
16
      <div>Operator</div>
17
      <div>Amount</div>
18
    </div>
19
    <div class="r-info-body clearfix">
20
      <div><?php echo $recharge_orderconfirmation[0]->response->rechargeDeviceNumber ?></div>
21
      <div><?php echo $recharge_orderconfirmation[0]->response->rechargeProvider ?></div>
22
      <div><?php echo $recharge_orderconfirmation[0]->response->totalAmount ?></div>
23
    </div>
24
  </div><!--o-info-->
25
 
26
</div><!--o-hldr-->
27
<script type="text/javascript">
28
var value = localStorage.getItem('rechargeValue');
29
  if(parseInt(value) == 1){
30
    ga('send', 'event', 'Recharge', 'Recharge Result','Mobile-Result');  
31
  }else if(parseInt(value) == 2){
32
    ga('send', 'event', 'Recharge Result', 'Pay Now','DTH-Result');
33
  }
34
  var orderConfirmation = <?php echo json_encode($orderConfirmation);?>
35
</script>
36