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