| 13084 |
anikendra |
1 |
<?php
|
| 10582 |
lgm |
2 |
if(isset($recharge_amount) && !empty($recharge_amount)){
|
|
|
3 |
$recharge_amount = $recharge_amount[0];
|
|
|
4 |
$payAmount = $recharge_amount->payAmount;
|
|
|
5 |
}?>
|
|
|
6 |
<div class="conf-head">Please Confirm</div>
|
|
|
7 |
<div class="conf-cont">
|
|
|
8 |
<div class="conf-div clearfix">
|
|
|
9 |
<div><?php if(isset($number) && !empty($number)){ echo 'Mobile Number :';} elseif(isset($dth_number) && !empty($dth_number)){ echo 'Account Number :'; }?></div><div><?php if(isset($number) && !empty($number)){echo $number;} elseif(isset($dth_number) && !empty($dth_number)){ echo $dth_number; }?></div>
|
|
|
10 |
<div>Operator :</div><div id="rechargeOperator"><?php echo $operator;?></div>
|
|
|
11 |
<div>Recharge Amount :</div><div id="recharge_Amount"><?php echo $recharge;?></div>
|
|
|
12 |
<?php if(isset($recharge_amount->walletAmount) && $recharge_amount->walletAmount >0){?>
|
| 11331 |
lgm |
13 |
<div id="waText">Amount used from Wallet :</div><div id="walletAmount"><?php echo $recharge_amount->walletAmount;?></div>
|
|
|
14 |
<div id="walText">Amount left in your Wallet :</div><div id="walletAmountLeft"><?php echo $recharge_amount->walletAmountLeft;?></div>
|
| 10582 |
lgm |
15 |
<?php }?>
|
|
|
16 |
</div>
|
|
|
17 |
<div id="error" class="error_msg" style="display:none">
|
|
|
18 |
</div>
|
|
|
19 |
<div class="coupon-code" style="display:block">
|
|
|
20 |
<div id="coupon_msg">Have a Coupon Code? Enter here</div>
|
|
|
21 |
<div id="coupon" class="clearfix">
|
|
|
22 |
<input name="Coupon" id="couponCode" type="text" onfocus="clearError()" onKeyDown="if(event.keyCode==13) recahrgeAmount();"/>
|
|
|
23 |
<div class="apply-coupon" onclick="recahrgeAmount()">Apply</div>
|
|
|
24 |
</div>
|
|
|
25 |
</div>
|
| 13084 |
anikendra |
26 |
<?php if(isset($recharge_amount->walletAmountLeft) && $recharge_amount->walletAmountLeft == -1) :?>
|
|
|
27 |
<div class="walletlogin">If you want to use your wallet. <a href="/login" title="Please login to use your wallet">Please Login</a></div>
|
|
|
28 |
<div class="gd-total clearfix">
|
|
|
29 |
<?php endif;?>
|
| 11331 |
lgm |
30 |
<form name="recharge-confirm" method="post" action="<?php echo base_url().'confirm'?>" class="" onsubmit = "return submitform()">
|
| 10582 |
lgm |
31 |
<fieldset>
|
| 13084 |
anikendra |
32 |
<div class="gd-total clearfix">
|
| 10582 |
lgm |
33 |
<div>Amount to pay:</div>
|
|
|
34 |
<input id='amount' type='hidden' name='rechargeAmount' value="<?php echo $recharge;?>">
|
|
|
35 |
<input type='hidden' name='operatorId' value="<?php echo $operatorId;?>">
|
|
|
36 |
<input type='hidden' name='operator-name' value="<?php echo $operator;?>">
|
|
|
37 |
<input type='hidden' name='serviceType' value="<?php echo $serviceType;?>">
|
|
|
38 |
<input id="coupon_code" type='hidden' name='couponCode' value="">
|
|
|
39 |
<input type='hidden' name='email' value="<?php echo $email;?>">
|
|
|
40 |
<input type='hidden' name='plan' value="<?php if(isset($paln)) {echo $plan;}?>">
|
|
|
41 |
<input type='hidden' name='number' value="<?php if(isset($number)) {echo $number;} elseif(isset($dth_number)){echo $dth_number;}?>">
|
|
|
42 |
<input type='hidden' name='email' value="<?php echo $email?>">
|
| 11232 |
lgm |
43 |
<input type='hidden' id="amountPayable" value="<?php if(isset($payAmount)) {echo $payAmount;} else {echo $recharge;}?>">
|
| 10582 |
lgm |
44 |
<div id="payAmount">Rs <?php if(isset($payAmount)) {echo $payAmount;} else {echo $recharge;}?></div>
|
|
|
45 |
</div>
|
|
|
46 |
<div id="error1" class="error_msg" style="display:<?php if(isset($confirmCaptcha) && $confirmCaptcha == 1){echo 'block';}else{echo 'none';}?>">
|
|
|
47 |
<?php if(isset($confirmCaptcha) && $confirmCaptcha == 1){echo 'Invalid Captcha';}?></div>
|
| 15788 |
amit.gupta |
48 |
<?php if(isset($captcha) && !empty($captcha)){?>
|
|
|
49 |
<div class="g-recaptcha" data-sitekey="<?php echo $this->config->item('captcha_site_key')?>" style="margin-top:10px"></div>
|
|
|
50 |
<?php }?>
|
| 11232 |
lgm |
51 |
<input type="submit" value="<?php if(isset($captcha) && !empty($captcha)){echo 'Recharge Now';}else{echo 'Confirm';}?>" name="submit" id="submit"/>
|
| 10582 |
lgm |
52 |
</fieldset>
|
|
|
53 |
</form><!--mobile-recharge-->
|
|
|
54 |
|
|
|
55 |
</div>
|