Subversion Repositories SmartDukaan

Rev

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

Rev Author Line No. Line
23783 ashik.ali 1
<style>
2
	.table-striped > tbody > tr:nth-child(odd) > td{
3
  		background: white;
4
  		background-color: white;
5
	}
6
	.table-striped > tbody > tr:nth-child(even) > td{
7
  		background: white;
8
  		background-color:white;
9
	}
10
	.table-striped > tbody > tr:hover > td,
11
	.table-striped > tbody > tr:hover {
12
		background-color: #e98c8f;
13
	  	color:white;
14
	}
15
	.btn:hover{
16
  		color: grey;
17
  		text-decoration: none;
18
	}
19
	.btn-primary:hover{
20
  		color: grey;
21
  		text-decoration: none;
22
	}
23
	.vendor-details{
24
		cursor:pointer;
25
	}
26
</style>
27
 
28
<script>
23882 ashik.ali 29
	configureWarehousesForScanOutDropDown();
23783 ashik.ali 30
	configureFofoUsersDropDown();
31
</script>
32
 
33
<section class="wrapper">            
34
	<div class="row">
35
		<div class="col-lg-12">
36
			<h3 class="page-header"><i class="icon_document_alt"></i>ITEM</h3>
37
			<ol class="breadcrumb">
38
				<li><i class="fa fa-home"></i><a href="${rc.contextPath}/dashboard">Home</a></li>
24168 amit.gupta 39
				<li><i class="icon_document_alt"></i>SCAN OUT ITEMS - $warehouse.getName()</li>						  	
23783 ashik.ali 40
			</ol>
41
		</div>
42
	</div>
43
 
44
	<div id="scan-out-item-container">
45
    	<div class="row">
46
        	<div class="col-lg-2 form-group">
47
        		<select class="form-control input-sm" id = "fofo-users" name = "fofo-users" placeholder="Users">
48
					<option value="" disabled selected>Users</option>
24168 amit.gupta 49
					#foreach($fofoId in $fofoIdNameMap.keySet())
50
         				<option value="$fofoId">$fofoIdNameMap.get($fofoId)</option>
23783 ashik.ali 51
         			#end
52
	             </select>
53
        	</div>
54
			<div class="col-lg-2">
55
              	<button class="btn btn-primary" data-toggle="modal" data-target="#scanOutItemModel" id="" onclick="scanOutItemDialog()" type="button">Scan Out</button>
56
			</div>
57
 
58
       	</div>
59
   	</div>
60
 
61
  	<div id="scan-out-items-table">
62
		<div class="row">
63
	    	<div class="col-lg-12">
64
	    		<table class="table table-striped table-advance table-hover">
65
	    			<tbody>
66
	    				<tr>
67
	    					<th>Delivery Note Id</th>
68
	    					<th>Warehouse Name</th>
69
	    					<th>Partner Email Id</th>
70
	    					<th>Created On</th>
71
	    				</tr>
72
	    				#if(!$adminDeliveryNotes.isEmpty())
73
			    			#foreach( $adminDeliveryNote in $adminDeliveryNotes )
74
			    				<tr class="scan-out-item-details" data="$adminDeliveryNote.getDeliveryNoteId()">
75
			    					<td>$adminDeliveryNote.getDeliveryNoteId()</td>
24168 amit.gupta 76
			    					<td>$fofoIdNameMap.get($adminDeliveryNote.getFofoId())</td>
77
			    					<td>$dateTimeFormatter.format($adminDeliveryNote.getCreateTimestamp())</td>
23783 ashik.ali 78
			    				</tr>
79
			    			#end
80
		    			#else
81
		    				<tr>
82
		    					<td colspan="6" style="text-align:center;">NO MATCHING DATA FOUND FOR CRITERIA</td>
83
		    				</tr>
84
		    			#end
85
	    			</tbody>
86
	    		</table>
87
	    	</div>
88
	    </div>
89
    </div>
90
    #if(!$adminDeliveryNotes.isEmpty())
91
    	<div class="row" id="scan-out-items-paginated">
92
    		<div class="col-lg-9">
93
    			<p>Showing <span class="start">$start</span> to <span class="end">$end</span> of <span class="size">$size</span> items</p>
94
    		</div>
95
    		<div class="col-lg-3" style="text-align:right;">
96
				<div class="btn-group" style="width:40%">
97
					<button class="btn btn-primary previous" disabled="disabled" style="width:100%">Previous</button>
98
				</div>
99
				<div class="btn-group" style="width:40%">
100
					#if($end >= $size)
101
						<button class="btn btn-primary next" style="width:100%" disabled="disabled">Next</button>
102
					#else
103
						<button class="btn btn-primary next" style="width:100%">Next</button>
104
					#end
105
				</div>
106
	    	</div>
107
	    </div>
108
    #end
109
</section>
110
<div id="scan-out-item-details-container" style="background:white;background-color:white;">
111
</div>
112
<div id="scanOutItemModel" class="modal fade" role="dialog" data-backdrop="false">
113
	<div class="modal-dialog modal-lg">
114
       <!-- Modal content-->
115
	    <div class="modal-content">
116
	      <div class="modal-header">
117
	        <button type="button" class="close" data-dismiss="modal">&times;</button>
118
	        <h4 class="modal-title">Scan Out Item</h4>
119
	      </div>
120
	      <div class="modal-body">
121
			<input type="hidden" class="warehouseId" />
122
			<input type="hidden" class="userId" />
123
			<h4 class="userInformation modelHeaderCustom">User Details : <span></span></h4>
23882 ashik.ali 124
			<h4 class="modal-title">Choose Instructions</h4>
125
			<div id="instructionItemsContainer">
23783 ashik.ali 126
			</div>
127
			<hr/>
128
			<span class="input-group-btn">
129
				<button type="button" id="scanOutItemButton" class="btn btn-primary">Submit!</button>
130
	       	</span>
131
		  </div>
132
	      <div class="modal-footer">
133
	        <button type="button" class="btn btn-default" data-dismiss="modal">Close</button>
134
	      </div>
135
	      </div>
136
	</div>
137
</div>