| 18718 |
manish.sha |
1 |
<script type="text/javascript"
|
|
|
2 |
src="/js/checkout.js?v=<?php echo $staticversion;?>"></script>
|
| 17959 |
manish.sha |
3 |
<script type="text/javascript">
|
|
|
4 |
$(document).ready(function(){
|
|
|
5 |
var cart_details = localStorage.getItem("cart_details");
|
|
|
6 |
if(cart_details == undefined){
|
|
|
7 |
$('span#totalPayable').text(' ₹ 0');
|
|
|
8 |
$('button.confirmcheckout').prop( "disabled", true );
|
| 17967 |
manish.sha |
9 |
$('.confirmprepaid').addClass('confirmprepaidDisabled').removeClass('confirmprepaid');
|
| 18633 |
manish.sha |
10 |
$('button.confirmcredit').prop( "disabled", true );
|
| 18718 |
manish.sha |
11 |
$('button.confirmcod').prop( "disabled", true );
|
| 18768 |
manish.sha |
12 |
$('span#CreditError').text('');
|
| 17959 |
manish.sha |
13 |
}else{
|
|
|
14 |
$('button.confirmcheckout').prop( "disabled", false );
|
| 17967 |
manish.sha |
15 |
$('.confirmprepaidDisabled').addClass('confirmprepaid').removeClass('confirmprepaidDisabled');
|
| 18633 |
manish.sha |
16 |
$('button.confirmcredit').prop( "disabled", false );
|
| 18718 |
manish.sha |
17 |
$('button.confirmcod').prop( "disabled", false );
|
| 17959 |
manish.sha |
18 |
}
|
| 18718 |
manish.sha |
19 |
var totalPayable = <?php echo $totalPayable;?>;
|
|
|
20 |
var creditLimit = <?php echo $creditLimit;?>;
|
|
|
21 |
var creditTicketSize = <?php echo $creditTicketSize;?>;
|
| 18773 |
manish.sha |
22 |
localStorage.removeItem('creditLimit');
|
|
|
23 |
localStorage.setItem('creditLimit', creditLimit);
|
| 18768 |
manish.sha |
24 |
localStorage.removeItem('creditTicketSize');
|
|
|
25 |
localStorage.setItem('creditLimit', creditTicketSize);
|
|
|
26 |
localStorage.removeItem('totalPayable');
|
|
|
27 |
localStorage.setItem('totalPayable', totalPayable);
|
|
|
28 |
|
| 18718 |
manish.sha |
29 |
if(cart_details == undefined || creditTicketSize>totalPayable || totalPayable>=creditLimit){
|
|
|
30 |
$('button.confirmcredit').prop( "disabled", true );
|
|
|
31 |
}else{
|
|
|
32 |
$('button.confirmcredit').prop( "disabled", false );
|
| 18768 |
manish.sha |
33 |
var creditAvailable = $("input.css-checkbox:checked").attr('credit_available');
|
|
|
34 |
if(creditAvailable=='true'){
|
|
|
35 |
$('button.confirmcredit').prop( "disabled", false );
|
|
|
36 |
$('button.confirmcredit').attr('style', 'background-color: #5cb85c;color: #fff');
|
|
|
37 |
}else{
|
|
|
38 |
$('button.confirmcredit').prop( "disabled", true );
|
|
|
39 |
$('button.confirmcredit').attr('style', 'background-color: #B4CAB4');
|
|
|
40 |
}
|
| 18718 |
manish.sha |
41 |
}
|
|
|
42 |
|
|
|
43 |
if (window.history && window.history.pushState) {
|
|
|
44 |
$(window).on('popstate', function() {
|
|
|
45 |
$('#myModal').modal('hide');
|
|
|
46 |
$("#cartloader").addClass('hidden');
|
|
|
47 |
if(typeof history.checkoutForm != "undefined"){
|
|
|
48 |
history.checkoutForm.submit();
|
|
|
49 |
}
|
|
|
50 |
});
|
|
|
51 |
}
|
| 17959 |
manish.sha |
52 |
});
|
|
|
53 |
</script>
|
| 18718 |
manish.sha |
54 |
<link rel="stylesheet" href="/css/hexdots.css" type="text/css">
|
| 17794 |
naman |
55 |
<style>
|
| 17840 |
manish.sha |
56 |
#footer {
|
|
|
57 |
position: fixed;
|
|
|
58 |
/*height:50px;*/
|
|
|
59 |
/*background-color:red;*/
|
|
|
60 |
bottom: 0px;
|
|
|
61 |
left: 0px;
|
|
|
62 |
right: 0px;
|
|
|
63 |
margin-bottom: 0px;
|
| 17794 |
naman |
64 |
}
|
|
|
65 |
|
| 17840 |
manish.sha |
66 |
#message,#message_success {
|
|
|
67 |
position: fixed;
|
|
|
68 |
/*height:50px;*/
|
|
|
69 |
/*background-color:red;*/
|
|
|
70 |
/*background-color: white;*/
|
|
|
71 |
top: 0px;
|
|
|
72 |
left: 0px;
|
|
|
73 |
right: 0px;
|
|
|
74 |
margin-top: 0px;
|
|
|
75 |
z-index: 10;
|
| 17794 |
naman |
76 |
}
|
|
|
77 |
|
| 17840 |
manish.sha |
78 |
.addressselect {
|
|
|
79 |
background-color: #D9FACF;
|
| 17794 |
naman |
80 |
}
|
| 17840 |
manish.sha |
81 |
|
| 17794 |
naman |
82 |
input[type=radio].css-checkbox {
|
| 17840 |
manish.sha |
83 |
position: absolute;
|
|
|
84 |
z-index: -1000;
|
|
|
85 |
left: -1000px;
|
|
|
86 |
overflow: hidden;
|
|
|
87 |
clip: rect(0, 0, 0, 0);
|
|
|
88 |
height: 1px;
|
|
|
89 |
width: 1px;
|
|
|
90 |
margin: -1px;
|
|
|
91 |
padding: 0;
|
|
|
92 |
border: 0;
|
|
|
93 |
}
|
| 17794 |
naman |
94 |
|
| 17840 |
manish.sha |
95 |
input[type=radio].css-checkbox+label.css-label {
|
|
|
96 |
padding-left: 21px;
|
| 18718 |
manish.sha |
97 |
padding-bottom: 10px;
|
| 17840 |
manish.sha |
98 |
height: 16px;
|
|
|
99 |
display: inline-block;
|
|
|
100 |
line-height: 16px;
|
|
|
101 |
background-repeat: no-repeat;
|
|
|
102 |
background-position: 0 0;
|
|
|
103 |
/*font-size:16px;*/
|
|
|
104 |
vertical-align: middle;
|
|
|
105 |
cursor: pointer;
|
|
|
106 |
}
|
| 17794 |
naman |
107 |
|
| 17840 |
manish.sha |
108 |
input[type=radio].css-checkbox:checked+label.css-label {
|
|
|
109 |
background-position: 0 -16px;
|
|
|
110 |
}
|
| 17794 |
naman |
111 |
|
| 17840 |
manish.sha |
112 |
label.css-label {
|
|
|
113 |
background-image: url(../img/radio.png);
|
|
|
114 |
-webkit-touch-callout: none;
|
|
|
115 |
-webkit-user-select: none;
|
|
|
116 |
-khtml-user-select: none;
|
|
|
117 |
-moz-user-select: none;
|
|
|
118 |
-ms-user-select: none;
|
|
|
119 |
user-select: none;
|
| 17794 |
naman |
120 |
}
|
| 17882 |
naman |
121 |
|
| 18718 |
manish.sha |
122 |
.custom_class {
|
|
|
123 |
color: red;
|
|
|
124 |
}
|
|
|
125 |
#cartloader{
|
|
|
126 |
position:absolute;
|
|
|
127 |
/*top:40%;*/
|
|
|
128 |
left:50%;
|
|
|
129 |
z-index:2001;
|
|
|
130 |
}
|
| 17794 |
naman |
131 |
</style>
|
| 17882 |
naman |
132 |
<?php
|
| 18718 |
manish.sha |
133 |
if($message != null){?>
|
|
|
134 |
<script>
|
| 17882 |
naman |
135 |
$(document).ready(function(){
|
|
|
136 |
$('#message').empty();
|
|
|
137 |
$('#message').append("Location is not serviceable...");
|
|
|
138 |
$('#message').removeClass('hidden');
|
|
|
139 |
|
|
|
140 |
setTimeout(function() {
|
|
|
141 |
$('#message').addClass('hidden');
|
|
|
142 |
}, 2000);
|
|
|
143 |
});
|
|
|
144 |
</script>
|
|
|
145 |
<?php }?>
|
|
|
146 |
<div class="modal fade" id="loadingModal">
|
| 18718 |
manish.sha |
147 |
<div class="modal-dialog">
|
|
|
148 |
<div class="modal-content">
|
|
|
149 |
<div class="modal-body">
|
|
|
150 |
<div class="text-center">
|
|
|
151 |
<img src="/img/ajax-loader.gif" />
|
|
|
152 |
</div>
|
|
|
153 |
</div>
|
|
|
154 |
</div>
|
|
|
155 |
<!-- /.modal-content -->
|
|
|
156 |
</div>
|
|
|
157 |
<!-- /.modal-dialog -->
|
| 17882 |
naman |
158 |
</div>
|
| 18718 |
manish.sha |
159 |
<div
|
|
|
160 |
class="alert alert-danger hidden" id="message"></div>
|
|
|
161 |
<div
|
|
|
162 |
class="alert alert-success hidden" id="message_success"></div>
|
| 17794 |
naman |
163 |
|
| 18718 |
manish.sha |
164 |
<div class="text-center hidden" id="cartloader">
|
|
|
165 |
<br><br>
|
|
|
166 |
<div class="hexdots-loader"></div>
|
|
|
167 |
</div>
|
|
|
168 |
<div
|
|
|
169 |
class='container' style='margin-bottom: 50px;'>
|
| 17794 |
naman |
170 |
|
|
|
171 |
|
|
|
172 |
|
|
|
173 |
|
| 18718 |
manish.sha |
174 |
<div class='row' style="padding-bottom: 55px;">
|
| 17794 |
naman |
175 |
|
|
|
176 |
|
| 18718 |
manish.sha |
177 |
<div class='row'>
|
|
|
178 |
<div class='col-xs-12'
|
|
|
179 |
style="background-color: white; margin-top: 5px;">
|
| 18734 |
manish.sha |
180 |
|
| 18718 |
manish.sha |
181 |
<h4>
|
|
|
182 |
Shipping Address: <a
|
|
|
183 |
href="<?php echo $base_url;?>shippings/add/<?php echo $user_name.'/'.$user_contact;?>"
|
|
|
184 |
class='btn btn-success btn-xs' style='float: right;'>Add New
|
|
|
185 |
Address</a>
|
|
|
186 |
</h4>
|
|
|
187 |
<br>
|
| 17882 |
naman |
188 |
|
| 18718 |
manish.sha |
189 |
</div>
|
|
|
190 |
</div>
|
|
|
191 |
<div class='col-xs-12'
|
|
|
192 |
style='background-color: white; padding: 40px; padding: 3px 20px;'>
|
| 17882 |
naman |
193 |
|
| 18718 |
manish.sha |
194 |
<div style='background-color: #f8f8f8; padding: 5px;'>
|
|
|
195 |
<?php
|
|
|
196 |
for($i=0;$i<count($firstshowaddress);$i++){?>
|
| 17794 |
naman |
197 |
|
| 18718 |
manish.sha |
198 |
<?php if($i==3):?>
|
|
|
199 |
<div id='showmoreaddressdropdown' style='display: none;'>
|
|
|
200 |
<?php endif;?>
|
|
|
201 |
<?php //if(count($firstshowaddress)>$i):?>
|
|
|
202 |
<div style='min-height: 80px; padding: 4px;'
|
|
|
203 |
id="address<?php echo $address['addresses'][$firstshowaddress[$i]]['id'];?>"
|
|
|
204 |
class='myaddress <?php if($defaultselectedaddress == $address['addresses'][$firstshowaddress[$i]]['id']){echo "addressselect";}?>'>
|
| 17794 |
naman |
205 |
|
| 18718 |
manish.sha |
206 |
<input type="radio" class="css-checkbox"
|
|
|
207 |
id='<?php echo $address['addresses'][$firstshowaddress[$i]]['id'];?>'
|
|
|
208 |
value='<?php echo $address['addresses'][$firstshowaddress[$i]]['id'];?>'
|
|
|
209 |
name="selectedaddress"
|
| 18745 |
manish.sha |
210 |
<?php if($defaultselectedaddress == $address['addresses'][$firstshowaddress[$i]]['id']){echo "checked";}?>
|
| 18768 |
manish.sha |
211 |
<?php if($creditorAssociated && $address['addresses'][$firstshowaddress[$i]]['creditOptionAvailable']):?> credit_available="true" <?php else: ?> credit_available="false"<?php endif;?> >
|
| 17794 |
naman |
212 |
|
| 18718 |
manish.sha |
213 |
<label
|
|
|
214 |
for="<?php echo $address['addresses'][$firstshowaddress[$i]]['id'];?>"
|
|
|
215 |
class="css-label radGroup2"
|
|
|
216 |
data-pin="<?php echo $address['addresses'][$firstshowaddress[$i]]['pin'];?>"
|
|
|
217 |
data-id="<?php echo $address['addresses'][$firstshowaddress[$i]]['id'];?>">
|
|
|
218 |
<?php
|
|
|
219 |
if(isset($address['addresses'][$firstshowaddress[$i]]['line1']) && !empty($address['addresses'][$firstshowaddress[$i]]['line1']))
|
|
|
220 |
{echo "Address: ",$address['addresses'][$firstshowaddress[$i]]['line1'];}
|
|
|
221 |
if(isset($address['addresses'][$firstshowaddress[$i]]['line2']) && !empty($address['addresses'][$firstshowaddress[$i]]['line2']))
|
|
|
222 |
{echo ",",$address['addresses'][$firstshowaddress[$i]]['line2'];}
|
|
|
223 |
if(isset($address['addresses'][$firstshowaddress[$i]]['city']) && !empty($address['addresses'][$firstshowaddress[$i]]['city']))
|
|
|
224 |
{echo "<br>",$address['addresses'][$firstshowaddress[$i]]['city'];}
|
|
|
225 |
if(isset($address['addresses'][$firstshowaddress[$i]]['state']) && !empty($address['addresses'][$firstshowaddress[$i]]['state']))
|
|
|
226 |
{echo ", ",$address['addresses'][$firstshowaddress[$i]]['state'];}
|
|
|
227 |
if(isset($address['addresses'][$firstshowaddress[$i]]['pin']) && !empty($address['addresses'][$firstshowaddress[$i]]['pin']))
|
|
|
228 |
{echo ",",$address['addresses'][$firstshowaddress[$i]]['pin'];}
|
|
|
229 |
?> </label>
|
| 18768 |
manish.sha |
230 |
<?php if($creditorAssociated):?>
|
| 18745 |
manish.sha |
231 |
<?php if($address['addresses'][$firstshowaddress[$i]]['creditOptionAvailable']):?>
|
| 18734 |
manish.sha |
232 |
<i class="glyphicon glyphicon-info-sign pull-right" style="font-size: 10px;color: #36BBD9;">
|
|
|
233 |
<span style="color: #36BBD9;font-size: 10px;font-family: "Helvetica Neue",Helvetica,Arial,sans-serif;">Credit Available</span>
|
|
|
234 |
</i>
|
| 18745 |
manish.sha |
235 |
<?php endif;?>
|
| 18768 |
manish.sha |
236 |
<?php endif;?>
|
|
|
237 |
<?php if($taxInvoiceEnabledUser):?>
|
| 18749 |
manish.sha |
238 |
<br>
|
| 18745 |
manish.sha |
239 |
<?php if($address['addresses'][$firstshowaddress[$i]]['taxInvoiceAvailable']):?>
|
| 18752 |
manish.sha |
240 |
<i class="glyphicon glyphicon-info-sign pull-right" style="font-size: 10px;color: #42A150;">
|
| 18768 |
manish.sha |
241 |
<span style="color: #42A150;font-size: 10px;font-family: "Helvetica Neue",Helvetica,Arial,sans-serif;">Tax Invoice Available</span>
|
| 18734 |
manish.sha |
242 |
</i>
|
| 18745 |
manish.sha |
243 |
<?php endif;?>
|
| 18768 |
manish.sha |
244 |
<?php endif;?>
|
| 17794 |
naman |
245 |
|
| 18718 |
manish.sha |
246 |
</div>
|
|
|
247 |
<hr style='margin: 0px; padding: 0px; border-color: #58d936;'>
|
|
|
248 |
<?php //endif;?>
|
|
|
249 |
|
|
|
250 |
<?php if($i>3 && $i==(count($firstshowaddress)-1)):?>
|
| 18633 |
manish.sha |
251 |
</div>
|
| 18718 |
manish.sha |
252 |
<!-- <center><button class='btn btn-default btn-xs' id='showmore'>Show More</button></center> -->
|
|
|
253 |
<?php endif;?>
|
|
|
254 |
|
|
|
255 |
<?php }?>
|
|
|
256 |
</div>
|
|
|
257 |
</div>
|
|
|
258 |
<?php if(count($firstshowaddress)>3):?>
|
|
|
259 |
<center>
|
|
|
260 |
<div class='btn btn-default btn-xs' id='showmore'>Show More</div>
|
|
|
261 |
</center>
|
|
|
262 |
<?php endif;?>
|
|
|
263 |
</div>
|
|
|
264 |
<!-- End of address section -->
|
|
|
265 |
|
|
|
266 |
<div class="modal fade" id="myModal">
|
|
|
267 |
<div class="modal-dialog">
|
|
|
268 |
<div class="modal-content"
|
|
|
269 |
style="background-color: #f0f0f0; color: #555;">
|
|
|
270 |
<div class="modal-body">
|
| 18768 |
manish.sha |
271 |
<p id="confirmOrderText" addressId="" checkoutType="" style="color: #555;" class="text-center"></p>
|
| 18633 |
manish.sha |
272 |
</div>
|
| 18718 |
manish.sha |
273 |
<div class="modal-footer">
|
|
|
274 |
<button type="button" class="btn btn-md pull-left" id="changeOption"
|
|
|
275 |
style="background-color: #58d936; color: #fff;">
|
|
|
276 |
<strong>Change Option<br>(विकल्प बदलें)</strong>
|
|
|
277 |
</button>
|
|
|
278 |
<button type="button" class="btn btn-md pull-right"
|
|
|
279 |
id="orderNow" style="background-color: #58d936; color: #fff;">
|
|
|
280 |
<strong>Order Now<br>(अभी खरीदें)</strong>
|
|
|
281 |
</button>
|
|
|
282 |
</div>
|
|
|
283 |
</div>
|
|
|
284 |
<!-- /.modal-content -->
|
|
|
285 |
</div>
|
|
|
286 |
<!-- /.modal-dialog -->
|
|
|
287 |
</div>
|
|
|
288 |
<!-- /.modal -->
|
| 18633 |
manish.sha |
289 |
|
| 18718 |
manish.sha |
290 |
<!-- Cart section started -->
|
|
|
291 |
<div class='row' style='padding: 0px;' id='footer'>
|
|
|
292 |
<div class='col-xs-12'
|
|
|
293 |
style='background-color: white; padding: 10px 20px 20px 20px; width: 100%;'>
|
|
|
294 |
<h4 style="margin: 0px; margin-bottom: 8px;">
|
|
|
295 |
Total payable Amount: <span style="color: #ff0000;"
|
|
|
296 |
id="totalPayable"> ₹ <?php echo number_format($totalPayable);?>
|
|
|
297 |
</span>
|
|
|
298 |
</h4>
|
|
|
299 |
<?php if($creditorAssociated):?>
|
|
|
300 |
<h5>Confirm Order: Choose Option</h5>
|
|
|
301 |
<?php if($creditTicketSize<=$totalPayable):?>
|
|
|
302 |
<?php if($creditLimit>=$totalPayable):?>
|
|
|
303 |
<?php if($codAvailable):?>
|
|
|
304 |
<div class="col-xs-12" style="margin-left: 20px;">
|
|
|
305 |
<div class="col-xs-4">
|
|
|
306 |
<button type="button" class="btn btn-md confirmprepaid"
|
|
|
307 |
style="margin: 10px 20px 0px 0px; background-color: #5cb85c; color: #fff;">Other</button>
|
|
|
308 |
</div>
|
|
|
309 |
<div class="col-xs-4">
|
|
|
310 |
<button type="button" class="btn btn-md confirmcod"
|
|
|
311 |
style="margin: 10px 20px 0px 0px; background-color: #5cb85c; color: #fff;">COD</button>
|
|
|
312 |
</div>
|
|
|
313 |
<div class="col-xs-4" style="padding:0px;">
|
|
|
314 |
<button type="button" class="btn btn-md confirmcredit"
|
|
|
315 |
style="margin: 10px 20px 0px 0px; background-color: #5cb85c; color: #fff;padding-right: 30px;padding-left: 30px;">Credit</button>
|
|
|
316 |
<br>
|
|
|
317 |
<span style="font-size: 8px;">Credit Limit<span style="color:#ff0000;font-size:12px;"> ₹ <?php echo number_format($creditLimit);?></span></span>
|
|
|
318 |
</div>
|
|
|
319 |
</div>
|
|
|
320 |
<?php else:?>
|
|
|
321 |
<div class="col-xs-12" style="margin-left: 20px;">
|
|
|
322 |
<div class="col-xs-4">
|
|
|
323 |
<span
|
|
|
324 |
style='padding-right: 2px; color: red; font-size: 12px; " margin: 0px 10px 0px 0px;'>*COD
|
|
|
325 |
Not Available</span>
|
|
|
326 |
</div>
|
|
|
327 |
<div class="col-xs-4">
|
|
|
328 |
<button type="button" class="btn btn-md confirmprepaid"
|
|
|
329 |
style="margin: 10px 20px 0px 0px; background-color: #5cb85c; color: #fff;">Other</button>
|
|
|
330 |
</div>
|
|
|
331 |
<div class="col-xs-4" style="padding:0px;">
|
|
|
332 |
<button type="button" class="btn btn-md confirmcredit"
|
|
|
333 |
style="margin: 10px 20px 0px 0px; background-color: #5cb85c; color: #fff;padding-right: 30px;padding-left: 30px;">Credit</button>
|
|
|
334 |
<br>
|
|
|
335 |
<span style="font-size: 8px;">Credit Limit<span style="color:#ff0000;font-size:12px;"> ₹ <?php echo number_format($creditLimit);?></span></span>
|
|
|
336 |
</div>
|
|
|
337 |
</div>
|
|
|
338 |
<?php endif;?>
|
|
|
339 |
<?php else:?>
|
| 18768 |
manish.sha |
340 |
<span id="CreditError" style='color: red; font-size: 11px; " margin: 0px 10px 0px 0px;'>* Your Credit Limit is less than Order Amount. <br>* आपकी उपलब्ध क्रेडिट लिमिट आर्डर राशि से कम है। </span>
|
| 18718 |
manish.sha |
341 |
<?php if($codAvailable):?>
|
|
|
342 |
<div class="col-xs-12" style="margin-left: 20px;">
|
|
|
343 |
<div class="col-xs-4">
|
|
|
344 |
<button type="button" class="btn btn-md confirmprepaid"
|
|
|
345 |
style="margin: 10px 20px 0px 0px; background-color: #5cb85c; color: #fff;">Other</button>
|
|
|
346 |
</div>
|
|
|
347 |
<div class="col-xs-4">
|
|
|
348 |
<button type="button" class="btn btn-md confirmcod"
|
|
|
349 |
style="margin: 10px 20px 0px 0px; background-color: #5cb85c; color: #fff;">COD</button>
|
|
|
350 |
</div>
|
|
|
351 |
<div class="col-xs-4" style="padding:0px;">
|
|
|
352 |
<button type="button" class="btn btn-md confirmcredit"
|
|
|
353 |
style="margin: 10px 20px 0px 0px; background-color: #B4CAB4; color: #fff;padding-right: 30px;padding-left: 30px;"
|
|
|
354 |
disabled="true">Credit</button>
|
|
|
355 |
<br>
|
|
|
356 |
<span style="font-size: 8px;">Credit Limit<span style="color:#ff0000;font-size:12px;"> ₹ <?php echo number_format($creditLimit);?></span></span>
|
|
|
357 |
</div>
|
|
|
358 |
</div>
|
|
|
359 |
<?php else:?>
|
|
|
360 |
<div class="col-xs-12" style="margin-left: 20px;">
|
|
|
361 |
<div class="col-xs-4">
|
|
|
362 |
<span
|
|
|
363 |
style='padding-right: 2px; color: red; font-size: 12px; " margin: 0px 10px 0px 0px;'>*COD
|
|
|
364 |
Not Available</span>
|
|
|
365 |
</div>
|
|
|
366 |
<div class="col-xs-4">
|
|
|
367 |
<button type="button" class="btn btn-md confirmprepaid"
|
|
|
368 |
style="margin: 10px 20px 0px 0px; background-color: #5cb85c; color: #fff;">Other</button>
|
|
|
369 |
</div>
|
|
|
370 |
<div class="col-xs-4" style="padding:0px;">
|
|
|
371 |
<button type="button" class="btn btn-md confirmcredit"
|
|
|
372 |
style="margin: 10px 20px 0px 0px; background-color: #B4CAB4; color: #fff;padding-right: 30px;padding-left: 30px;"
|
|
|
373 |
disabled="true">Credit</button>
|
|
|
374 |
<br>
|
|
|
375 |
<span style="font-size: 8px;">Credit Limit<span style="color:#ff0000;font-size:12px;"> ₹ <?php echo number_format($creditLimit);?></span></span>
|
|
|
376 |
</div>
|
|
|
377 |
</div>
|
|
|
378 |
<?php endif;?>
|
|
|
379 |
<?php endif;?>
|
|
|
380 |
<?php else:?>
|
| 18768 |
manish.sha |
381 |
<span id="CreditError" style='color: red; font-size: 11px; " margin: 0px 10px 0px 0px;'>* Minimum Order Amount Should be ₹ <?php echo number_format($creditTicketSize);?> for Credit <br>* क्रेडिट के लिए न्यूनतम आर्डर राशि ₹ <?php echo number_format($creditTicketSize);?> होनी चाहिए ।</span>
|
| 18718 |
manish.sha |
382 |
<?php if($codAvailable):?>
|
|
|
383 |
<div class="col-xs-12" style="margin-left: 20px;">
|
|
|
384 |
<div class="col-xs-4">
|
|
|
385 |
<button type="button" class="btn btn-md confirmprepaid"
|
|
|
386 |
style="margin: 10px 20px 0px 0px; background-color: #5cb85c; color: #fff;">Other</button>
|
|
|
387 |
</div>
|
|
|
388 |
<div class="col-xs-4">
|
|
|
389 |
<button type="button" class="btn btn-md confirmcod"
|
|
|
390 |
style="margin: 10px 20px 0px 0px; background-color: #5cb85c; color: #fff;">COD</button>
|
|
|
391 |
</div>
|
|
|
392 |
<div class="col-xs-4" style="padding:0px;">
|
|
|
393 |
<button type="button" class="btn btn-md confirmcredit"
|
|
|
394 |
style="margin: 10px 20px 0px 0px; background-color: #B4CAB4; color: #fff;padding-right: 30px;padding-left: 30px;"
|
|
|
395 |
disabled="true">Credit</button>
|
|
|
396 |
<br>
|
|
|
397 |
<span style="font-size: 8px;">Credit Limit<span style="color:#ff0000;font-size:12px;"> ₹ <?php echo number_format($creditLimit);?></span></span>
|
|
|
398 |
</div>
|
|
|
399 |
</div>
|
|
|
400 |
<?php else:?>
|
|
|
401 |
<div class="col-xs-12" style="margin-left: 20px;">
|
|
|
402 |
<div class="col-xs-4">
|
|
|
403 |
<span
|
|
|
404 |
style='padding-right: 2px; color: red; font-size: 12px; " margin: 0px 10px 0px 0px;'>*COD
|
|
|
405 |
Not Available</span>
|
|
|
406 |
</div>
|
|
|
407 |
<div class="col-xs-4">
|
|
|
408 |
<button type="button" class="btn btn-md confirmprepaid"
|
|
|
409 |
style="margin: 10px 20px 0px 0px; background-color: #5cb85c; color: #fff;">Other</button>
|
|
|
410 |
</div>
|
|
|
411 |
<div class="col-xs-4" style="padding:0px;">
|
|
|
412 |
<button type="button" class="btn btn-md confirmcredit"
|
|
|
413 |
style="margin: 10px 20px 0px 0px; background-color: #B4CAB4; color: #fff;padding-right: 30px;padding-left: 30px;"
|
|
|
414 |
disabled="true">Credit</button>
|
|
|
415 |
<br>
|
|
|
416 |
<span style="font-size: 8px;">Credit Limit<span style="color:#ff0000;font-size:12px;"> ₹ <?php echo number_format($creditLimit);?></span></span>
|
|
|
417 |
</div>
|
|
|
418 |
</div>
|
|
|
419 |
<?php endif;?>
|
|
|
420 |
<?php endif;?>
|
|
|
421 |
<?php else:?>
|
|
|
422 |
<?php if($codAvailable):?>
|
|
|
423 |
<a href="#" style='padding-right: 2px; color: blue; font-size: 15px;'
|
|
|
424 |
class="confirmprepaid"><u>Other Pay Option</u> </a>
|
|
|
425 |
<button class="btn btn-success confirmcheckout pull-right">Confirm
|
|
|
426 |
Order via COD</button>
|
|
|
427 |
<?php else:?>
|
|
|
428 |
<span style='padding-right: 2px; color: red; font-size: 15px;'>*COD
|
|
|
429 |
Not Available</span>
|
|
|
430 |
<button class="btn btn-success confirmprepaid pull-right">Other Pay
|
|
|
431 |
Option</button>
|
|
|
432 |
<?php endif;?>
|
|
|
433 |
<?php endif;?>
|
| 17794 |
naman |
434 |
|
| 18718 |
manish.sha |
435 |
</div>
|
|
|
436 |
</div>
|
|
|
437 |
|
|
|
438 |
<!-- Cart section end -->
|
| 17794 |
naman |
439 |
</div>
|
|
|
440 |
|