Subversion Repositories SmartDukaan

Rev

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

Rev 6050 Rev 6057
Line 46... Line 46...
46
				<div class="recharge-main-left-container" style="font-size:16px">
46
				<div class="recharge-main-left-container" style="font-size:16px">
47
                    <form id="create-recharge-form" style="float:left;padding-top:20px;padding-left:50px" action='/confirm!createRecharge'>
47
                    <form id="create-recharge-form" style="float:left;padding-top:20px;padding-left:50px" action='/confirm!createRecharge'>
48
                        <h1>Recharge Details</h1>
48
                        <h1>Recharge Details</h1>
49
                        <br>
49
                        <br>
50
                        <br>
50
                        <br>
-
 
51
						
51
                        <span style="display:inline-block; width:300px">Mobile Number : </span><span>1234567890 $action.getNumber()</span><br>
52
                        <span style="display:inline-block; width:300px">Mobile Number : </span><span>$action.getNumber()</span><br>
52
						<span style="display:inline-block; width:300px">Operator : </span><span>Airtel$action.getOperator()</span><br>
53
						<span style="display:inline-block; width:300px">Operator : </span><span>$action.getOperatorName()</span><br>
53
						<span style="display:inline-block; width:300px">Recharge amount : </span><span>Rs. 333$action.getAmount()</span><br>
54
						<span style="display:inline-block; width:300px">Recharge amount : </span><span>Rs. $action.getAmount()</span><br>
54
						<hr style="width: 615px;height: 2px;background-color: black;border: none;">
55
						<hr style="width: 615px;height: 2px;background-color: black;border: none;">
55
						#if($action.getCoupons())
56
						#if($action.getCoupons())
56
                        <span style="display:inline-block; width:300px">Coupons :</span>
57
                        <span style="display:inline-block; width:300px">Coupons :</span>
57
						#foreach($coupon in $action.getCoupons())
58
						#foreach($coupon in $action.getCoupons())
58
                        <span style="margin-left: -6px;"><input checked='true' value='$coupon.getValue()' readonly='true' type="checkbox">$coupon.getCouponCode() worth $coupon.getAmount() rupees.</span>
59
                        <span style="margin-left: -6px;"><input checked='true' value='$coupon.getValue()' readonly='true' type="checkbox">$coupon.getCouponCode() worth $coupon.getAmount() rupees.</span>
59
						#end
60
						#end
60
						#end
61
						#end
-
 
62
    					#if(!$action.isLoggedIn())
-
 
63
							<div style="font-size:15px;color:red">If you want to use wallet please <a href="http://local.shop2020.in:8080/login?redirectUrl=/recharge"><b>LOGIN NOW</b></a></div>
61
    					
64
						#else
62
                        <div style="font-size:13px;">Congratulations, you have successfully applied the coupon</div>
65
							<div style="font-size:15px;color:red;">$action.getMessage()</div>
-
 
66
						#end
63
						<br><br>
67
						<br><br>
64
						<span style="display:inline-block; width:300px">Amount to pay : </span><span style="font-size:20px"><b>Rs. $action.getAmount()</b></span>
68
						<span style="display:inline-block; width:300px">Amount to pay : </span><span style="font-size:20px"><b>Rs. $action.getAmount()</b></span>
65
						<br><br><br>
69
						<br><br><br>
66
						<input type='hidden' name='rechargeType' value='$action.getRechargeType()'>
70
						<input type='hidden' name='rechargeType' value='$action.getRechargeType()'>
67
						<input type='hidden' name='operator' value='$action.getOperator()'>
71
						<input type='hidden' name='operator' value='$action.getOperator()'>
68
						<input type='hidden' name='userId' value='$action.getUserId()'>
72
						<input type='hidden' name='userId' value='$action.getUserId()'>
69
						<input type='hidden' name='Amount' value='$action.getAmount()'>
73
						<input type='hidden' name='Amount' value='$action.getAmount()'>
70
						<input type='hidden' name='rechargeType' value='$action.getServiceType()'>
-
 
71
						#if($action.getAmount() == '0')
74
						#if($action.getAmount() == '0')
72
							#set($buttonText = 'RECHARGE')
75
							#set($buttonText = 'RECHARGE')
73
						#else
76
						#else
74
							#set($buttonText = 'PAY NOW')
77
							#set($buttonText = 'PAY NOW')
75
						#end
78
						#end