Subversion Repositories SmartDukaan

Rev

Rev 10939 | Rev 11327 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 10939 Rev 11024
Line 1... Line 1...
1
<?php //$orderConfirmation = $recharge_orderconfirmation[0];?>
1
<?php $orderConfirmation = $recharge_orderconfirmation[0];?>
2
<div class="r-hldr"> 
2
<div class="r-hldr"> 
3
  <div class="r-head">Recharge Details</div>
3
  <div class="r-head">Recharge Details</div>
4
  <div class="r-cont clearfix">
4
  <div class="r-cont clearfix">
5
    <div>Order Id</div>
5
    <div>Order Id</div>
6
    <div><?php echo $recharge_orderconfirmation[0]->response->rechargeDisplayId; ?></div>
6
    <div><?php echo $recharge_orderconfirmation[0]->response->rechargeDisplayId; ?></div>
Line 25... Line 25...
25
    </div>
25
    </div>
26
  </div><!--o-info-->
26
  </div><!--o-info-->
27
  
27
  
28
</div><!--o-hldr-->
28
</div><!--o-hldr-->
29
<script type="text/javascript">
29
<script type="text/javascript">
-
 
30
debugger;
30
var value = localStorage.getItem('rechargeValue');
31
var value = localStorage.getItem('rechargeValue');
31
  if(parseInt(value) == 1){
32
  if(parseInt(value) == 1){
-
 
33
    if(typeof _gaq != "undefined" && _gaq != null)  {
32
    ga('send', 'event', 'Recharge', 'Recharge Result','Mobile-Result');  
34
        _gaq.push(['_trackEvent', 'Recharge', 'Recharge Result','Mobile-Result']);
-
 
35
      } 
33
  }else if(parseInt(value) == 2){
36
  }else if(parseInt(value) == 2){
-
 
37
    if(typeof _gaq != "undefined" && _gaq != null)  {
34
    ga('send', 'event', 'Recharge Result', 'Pay Now','DTH-Result');
38
        _gaq.push(['_trackEvent', 'Recharge', 'Recharge Result','Recharge-Result']);
-
 
39
      } 
35
  }
40
  }
36
  var orderConfirmation = <?php echo json_encode($orderConfirmation);?>
41
  var orderConfirmation = <?php echo json_encode($orderConfirmation);?>
37
</script>
42
</script>
38
 
43