Subversion Repositories SmartDukaan

Rev

Rev 23193 | Rev 23886 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
23026 ashik.ali 1
<style>
2
.modal-content{
3
		background : white;
4
	}
5
	.modelHeaderCustom{
6
		font-size:14px;
7
		font-weight:bold;
8
	}
9
 
10
	.form-group{
11
		border-bottom: 1px solid #eff2f7;
12
    	padding-bottom: 15px;
13
    	margin-bottom: 15px;
14
	}
15
 
16
</style>
17
 
18
<script type="text/javascript">
19
 
20
	$(function() {
23193 ashik.ali 21
    	$('input[name="startDateTime"]').daterangepicker({
22
    		"showDropdowns": true,
23
    		"singleDatePicker": true,
23884 amit.gupta 24
    		"startDate": moment(),
25
    		"autoUpdateInput": true,
23026 ashik.ali 26
    		locale: {
23193 ashik.ali 27
    			cancelLabel: 'Clear',
23884 amit.gupta 28
    			format: 'DD/MM/YYYY'
23193 ashik.ali 29
  			}
23026 ashik.ali 30
	    });
31
 
23193 ashik.ali 32
	    $('input[name="startDateTime"]').on('apply.daterangepicker', function(ev, picker) {
23884 amit.gupta 33
      		$(this).val(picker.startDate.format('DD/MM/YYYY'));
23193 ashik.ali 34
  		});
35
 
36
  		$('input[name="startDateTime"]').on('cancel.daterangepicker', function(ev, picker) {
37
      		$(this).val('');
38
  		});
39
 
40
	    $('input[name="endDateTime"]').daterangepicker({
41
	    	"showDropdowns": true,
42
    		"singleDatePicker": true,
23884 amit.gupta 43
    		"startDate": moment(),
44
    		"autoUpdateInput": true,
23193 ashik.ali 45
    		locale: {
46
    			cancelLabel: 'Clear',
23884 amit.gupta 47
    			format: 'DD/MM/YYYY'
23193 ashik.ali 48
  			}
49
	    });
50
 
51
	    $('input[name="endDateTime"]').on('apply.daterangepicker', function(ev, picker) {
23884 amit.gupta 52
      		$(this).val(picker.startDate.format('DD/MM/YYYY'));
23193 ashik.ali 53
  		});
54
 
55
  		$('input[name="endDateTime"]').on('cancel.daterangepicker', function(ev, picker) {
56
      		$(this).val('');
57
  		});
58
 
23026 ashik.ali 59
	});
60
 
61
</script>
62
 
63
<section class="wrapper">
64
	<div class="row">
65
		<div class="col-lg-12">
66
			<h3 class="page-header"><i class="icon_document_alt"></i>ITEM LEDGER DOWNLOAD</h3>
67
			<ol class="breadcrumb">
68
				<li><i class="fa fa-home"></i><a href="${rc.contextPath}/dashboard">Home</a></li>
69
				<li><i class="icon_document_alt"></i>ITEM LEDGER DOWNLOAD</li>						  	
70
			</ol>
71
		</div>
72
	</div>
73
	<div id="customer-details" style="background:white;background-color:white;padding:10px;">
74
 
75
		<div class = "row">
76
			<div class="col-lg-2 form-group">
23193 ashik.ali 77
				<label for="usr">Start Date Time</label>
23026 ashik.ali 78
			</div>
79
 
23193 ashik.ali 80
			<div class="col-lg-2 form-group">
81
				<input placeholder="Start Date Time" id="startDateTime" name="startDateTime" type="text" value="">
23026 ashik.ali 82
			</div>
83
 
23193 ashik.ali 84
			<div class="col-lg-2 form-group">
85
				<label for="usr">End Date Time</label>
86
			</div>
87
 
88
			<div class="col-lg-2 form-group">
89
				<input placeholder="End Date Time" id="endDateTime" name="endDateTime" type="text" value="">
90
			</div>
91
 
23026 ashik.ali 92
			<div class="col-xs-3" style="float:right;">
93
				<button class="btn btn-primary" style="width:100%;border-radius:0px;" id="downloadItemLedgerReportButton" onclick="downloadItemLedgerReport()">Download Report</button>	
94
			</div>
95
 
96
		</div>
97
 
98
	</div>
99
</section>