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