Subversion Repositories SmartDukaan

Rev

Rev 28085 | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
28085 tejbeer 1
 
2
 
3
 
4
 
5
<script>
6
	$(document).ready(function() {
7
		$('#chcksectHead').click(function() {
8
			if (this.checked == false) {
9
				$('.chcktbl:checked').attr('checked', false);
10
			} else {
11
				$('.chcktbl:not(:checked)').attr('checked', true);
12
			}
13
 
14
		});
15
	});
16
</script>
17
 
18
 
19
<div class="modal-header">
20
	<button type="button" class="close" data-dismiss="modal">&times;</button>
21
	<h4 class="modal-title">Select Items ($cs.getBusinessName())</h4>
22
</div>
23
<div class="modal-body" style="height: 400px; overflow: auto;">
24
 
25
	<div class="select-item-color">
26
 
27
		<div class="row">
28
 
29
			<div class="col-lg-12">
30
 
31
				<table class="table  table-advance" id="select-item">
32
					<tbody>
33
						<tr>
34
							<td><input type="checkbox" id="chcksectHead" /></td>
35
							<th>Item Id</th>
36
							<th>Name</th>
37
							<th>Qty</th>
38
						</tr>
39
					</thead>
40
 
33966 aman.kumar 41
							#foreach($item in $items )
28085 tejbeer 42
					<tr>
43
						<td><input type="checkbox" class="chcktbl"
44
							name="itemColorCheck" /></td>
33966 aman.kumar 45
						<td>$item.getId()</td>
46
						<td>$item.getItemDescription()</td>
28085 tejbeer 47
						<td><input type="number" min="0" max="40" id="quantity"
48
							value="" /></td>
49
 
50
 
51
					</tr>
52
					#end
53
					</tbody>
54
				</table>
55
			</div>
56
		</div>
57
	</div>
58
</div>
59
<div class="modal-footer">
60
	<button type="button" data-dismiss="modal"
61
		class="btn btn-default cancel-request">Cancel</button>
62
	<button type="button" class="btn btn-default submit-item-po"
63
		data-fofoid="$cs.getPartnerId()">Submit</button>
64
 
65
</div>