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 6056
Line 8... Line 8...
8
	<META name="y_key" content="116f6310a0df3c4f" />
8
	<META name="y_key" content="116f6310a0df3c4f" />
9
	<meta name="msvalidate.01" content="A9BB200170442859BD6DF681353ACD78" />
9
	<meta name="msvalidate.01" content="A9BB200170442859BD6DF681353ACD78" />
10
	<title>Recharge payment details</title>
10
	<title>Recharge payment details</title>
11
 
11
 
12
#include ( "templates/commoncssfiles.vm" )
12
#include ( "templates/commoncssfiles.vm" )
13
 
-
 
-
 
13
#set($rechargeOrder = $action.getRechargeOrder()) 
-
 
14
#set($status = $action.getOrderStatus())
14
	<link rel="stylesheet" href="/css/home.css" type="text/css" />
15
	<link rel="stylesheet" href="/css/home.css" type="text/css" />
15
	<style type="text/css">
16
	<style type="text/css">
16
		#myAccount .status h1 {
17
		#myAccount .status h1 {
17
    color: #030303;
18
    color: #030303;
18
    font-size: 18px;
19
    font-size: 18px;
Line 85... Line 86...
85
<h1>Recharge Details</h1>
86
<h1>Recharge Details</h1>
86
<div style="padding-top: 10px; padding-bottom: 20px;" class="note">Note: Please note the following details about your Online Recharge request.</div>
87
<div style="padding-top: 10px; padding-bottom: 20px;" class="note">Note: Please note the following details about your Online Recharge request.</div>
87
<table cellspacing="0" cellpadding="0" border="0" width="100%" style="padding-top: 2px; padding-bottom: 2px; border-top-width: 0px; border-left-width: 0px;" id="rechargeData" class="tablesorter">
88
<table cellspacing="0" cellpadding="0" border="0" width="100%" style="padding-top: 2px; padding-bottom: 2px; border-top-width: 0px; border-left-width: 0px;" id="rechargeData" class="tablesorter">
88
                                <thead>
89
                                <thead>
89
                                    <tr>
90
                                    <tr>
90
                                        <th width="25%" style="padding-top: 4px; padding-bottom: 4px;">Mobile Number</th>
91
                                        <th width="25%" style="padding-top: 4px; padding-bottom: 4px;">#if ($action.isDTH()) Account Number #else Mobile Number#end</th>
91
										<th width="25%">Operator</th>
92
										<th width="25%">Operator</th>
92
                                        <th width="25%">Amount</th>
93
                                        <th width="25%">Amount</th>
93
                                        <th width="25%" class="borderRight">Status</th>
94
                                        <th width="25%" class="borderRight">Status</th>
94
                                    </tr>
95
                                    </tr>
95
                                </thead>
96
                                </thead>
96
                                <tbody>
97
                                <tbody>
97
                                    <tr>
98
                                    <tr>
98
                                        <td style="padding-top: 5px; padding-bottom: 5px;">9816294760</td>
99
                                        <td style="padding-top: 5px; padding-bottom: 5px;">$rechargeOrder.getDeviceNumber()</td>
99
                                        <td>Airtel</td>
100
                                        <td>$action.getProvider()</td>
100
                                        <td>200</td>
101
                                        <td>$rechargeOrder.getTotalAmount()</td>
101
                                        <td>Success</td>
102
                                        <td class="$status.get(0)">$status.get(1)</td>
102
                                    </tr>
103
                                    </tr>
103
                                </tbody>
104
                                </tbody>
104
                            </table>
105
                            </table>
105
<div class="message" style="padding-top: 30px;">
106
<div class="message" style="padding-top: 30px;">
106
	
-
 
107
	<!--RECHARGE SUCCESS-->
-
 
108
	
-
 
109
<!--	
-
 
110
<ul>
-
 
111
Dear User<br><br> Congratulations, Your recharge for Amount 200 on Airtel (9816294760) is successfull. <br><br>Please like our <a href="https://www.facebook.com/mysaholic">Facebook Page</a> for best deals and discounts.
-
 
112
</ul>-->
-
 
113
 
-
 
114
<!--Permanent failure-->
-
 
115
 
-
 
116
<!--<ul style="color:#FF1919;">
-
 
117
Dear User<br><br> We are sorry, your payment could not to be made because of xyz reason.<br><br>Your Recharge has not been done.<br><br>Please like our <a href="https://www.facebook.com/mysaholic">Facebook Page</a> for best deals and discounts.
-
 
118
</ul><input type="submit" value="Recharge Again" 24px;"="" height:="" 88px;="" width:="" border-left:="" border-bottom:="" #000000;="" border-right:="" #5f6c4d;="" solid="" border-top:="" bold;="" font-weight:="" 14px;="" font-size:="" cursive;="" pristina,="" harrington,="" font-family:="" #36431b;="" color:="" images="" http:="" style="width: 130px; height: 43px; border-left-width: 3px; margin-left: 282px; margin-top: 23px;">-->
107
	$status.get(2)
119
	
-
 
120
<!--Payment success recharge fail-->
-
 
121
	
-
 
122
	<ul style="color:#FF1919;">
-
 
123
		Dear User<br>
-
 
124
		#if($action.getRechargeOrder().getStatus().toString() == "PAYMENT_FAILED")
-
 
125
			Your payment was unsuccessful, and your recharge could not be done.
-
 
126
			<br>Please retry your recharge again.
-
 
127
			<br>You have not been charged anything.
-
 
128
		
-
 
129
		#elseif($action.getRechargeOrder().getStatus().toString() == "PAYMENT_SUCCESS" || $action.getRechargeOrder().getStatus().toString() == "RECHARGE_FAILED")
-
 
130
			Your payment has been successful, however your recharge cannot be done.
-
 
131
			<br>Please retry your recharge after two hours.
-
 
132
			<br>Your payment has been refunded to your recharge Wallet and can be used to make another recharge.The details have been emailed to you.
-
 
133
			
-
 
134
		#elseif($action.getRechargeOrder().getStatus().toString() == "RECHARGE_SUCCESS")
-
 
135
			Congratulations, your recharge was successful.
-
 
136
		#end
-
 
137
		<br><br>
-
 
138
 
-
 
139
</ul>
-
 
140
<table cellspacing="0" cellpadding="0" border="0" width="100%" class="tablesorter" id="rechargeData" style="padding-top: 2px; padding-bottom: 2px; border-top-width: 0px; border-left-width: 0px;">
-
 
141
                                <thead>
-
 
142
                                    <tr>
-
 
143
                                        <th width="25%" style="padding-top: 4px; padding-bottom: 4px;">Coupon ID</th>
-
 
144
<th width="25%" style="padding-top: 4px; padding-bottom: 4px;">Value</th>
-
 
145
										
-
 
146
                                        
-
 
147
                                        <th width="25%" class="borderRight">Valid Till</th>
-
 
148
                                    </tr>
-
 
149
                                </thead>
-
 
150
                                <tbody>
-
 
151
                                    <tr>
-
 
152
                                        <td style="padding-top: 5px; padding-bottom: 5px;">9635331</td>
-
 
153
                                        <td>200</td>
-
 
154
                                        <td>12-02-2012</td>
-
 
155
                                        
-
 
156
                                    </tr>
-
 
157
                                </tbody>
-
 
158
                            </table>
-
 
159
							<div style="padding-top:13px;" class="message-foot">
-
 
160
<ul style="color: rgb(255, 25, 25); font-size: 14px;">Please like our <a href="http://facebook.com/mysaholic">Facebook Page</a> for best deals and discount.
-
 
161
</ul>
-
 
162
</div>
108
</div>
163
</div>
109
</div>
164
</div>
110
</div>
165
</div>
111
</div>
166
				
112