Subversion Repositories SmartDukaan

Rev

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

Rev Author Line No. Line
11024 lgm 1
<?php $orderConfirmation = $recharge_orderconfirmation[0];?>
10582 lgm 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">
11327 lgm 30
 
10582 lgm 31
var value = localStorage.getItem('rechargeValue');
32
  if(parseInt(value) == 1){
11024 lgm 33
    if(typeof _gaq != "undefined" && _gaq != null)  {
34
        _gaq.push(['_trackEvent', 'Recharge', 'Recharge Result','Mobile-Result']);
35
      } 
10582 lgm 36
  }else if(parseInt(value) == 2){
11024 lgm 37
    if(typeof _gaq != "undefined" && _gaq != null)  {
38
        _gaq.push(['_trackEvent', 'Recharge', 'Recharge Result','Recharge-Result']);
39
      } 
10582 lgm 40
  }
11342 lgm 41
  var orderConfirmation = <?php echo json_encode($orderConfirmation);?>;
42
  var pheight = Math.max(document.documentElement.clientHeight, window.innerHeight || 0);
43
  // if(document.getElementsByClassName('order-conf')[0] != undefined){
44
  //     document.getElementsByClassName('order-conf')[0].style.minHeight = pheight - 153 +'px';  
45
  // }
10582 lgm 46
</script>
47