Subversion Repositories SmartDukaan

Rev

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

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