Subversion Repositories SmartDukaan

Rev

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

Rev 17939 Rev 17947
Line 1... Line 1...
1
<script type="text/javascript" src="/js/checkout.js?v=<?php echo $staticversion;?>"></script>
1
<script type="text/javascript" src="/js/checkout.js?v=<?php echo $staticversion;?>"></script>
2
<script>
2
<script>
3
	$(document).ready(function(){
3
	$(document).ready(function(){
-
 
4
		var footertop = $(window).height();
-
 
5
		setInterval(function() {
-
 
6
			if(parseInt(footertop)!=parseInt($(window).height())){
-
 
7
				$("div#footer").hide();
-
 
8
			}else{
-
 
9
				$("div#footer").show();
4
			
10
			}
-
 
11
		},100);
5
		$("#state").val('<?php echo $getstateval;?>');
12
		$("#state").val('<?php echo $getstateval;?>');
6
 
13
 
7
		 $('#pin').keyup(function(){
14
		 $('#pin').keyup(function(){
8
            var pin_val = $(this).val();
15
            var pin_val = $(this).val();
9
            if(pin_val.length == 6){
16
            if(pin_val.length == 6){
Line 257... Line 264...
257
	</div>
264
	</div>
258
 
265
 
259
 
266
 
260
	<div class='row' style='padding:0px;' id='footer'>
267
	<div class='row' style='padding:0px;' id='footer'>
261
		<div class='col-xs-12' style='background-color:white;padding:5px; width:100%;'>
268
		<div class='col-xs-12' style='background-color:white;padding:5px; width:100%;'>
262
			<h4>Total payable Amount: &#8377; <?php echo number_format($totalPayable);?></h4>
269
			<h4>Total payable Amount: <span style="color:#ff0000;"> &#8377; <?php echo number_format($totalPayable);?></span></h4>
-
 
270
			<?php if($codAvailable):?>
263
			<input type="submit" value="Other Pay Option" class="link submit_check" data-name="other_option"></input>
271
			<input type="submit" value="Other Pay Option" class="link submit_check" data-name="other_option"></input>
264
			<input type="submit" value="Confirm Order via COD" class="btn btn-success pull-right submit_check" data-name="cod"></input>
272
			<input type="submit" value="Confirm Order via COD" class="btn btn-success pull-right submit_check" data-name="cod"></input>
-
 
273
            <?php else:?>
-
 
274
            <span style='padding-right:2px;color:red;font-size:15px;'>*COD Not Available</span>
-
 
275
            <input type="submit" value="Other Pay Option" class="btn btn-success pull-right submit_check" data-name="other_option"></input>
-
 
276
            <?php endif;?>
265
		</div>
277
		</div>
266
	</div>
278
	</div>
267
	</form>
279
	</form>
268
</div>
280
</div>
269
281