Subversion Repositories SmartDukaan

Rev

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

Rev 23783 Rev 23882
Line 25... Line 25...
25
	}
25
	}
26
</style>
26
</style>
27
 
27
 
28
<script>
28
<script>
29
	configureItemsForScanInDropDown();
29
	configureItemsForScanInDropDown();
-
 
30
	configureWarehousesForScanInDropDown();
30
</script>
31
</script>
31
 
32
 
32
<section class="wrapper">            
33
<section class="wrapper">            
33
	<div class="row">
34
	<div class="row">
34
		<div class="col-lg-12">
35
		<div class="col-lg-12">
Line 48... Line 49...
48
					#foreach($item in $items)
49
					#foreach($item in $items)
49
         				<option value="$item.getId()" itemType="$item.getType()">$item.getBrand() $item.getDescription()</option>
50
         				<option value="$item.getId()" itemType="$item.getType()">$item.getBrand() $item.getDescription()</option>
50
         			#end
51
         			#end
51
	             </select>
52
	             </select>
52
        	</div>
53
        	</div>
-
 
54
        	
-
 
55
        	<div class="col-lg-3 form-group">
-
 
56
        		<select class="form-control input-sm" id = "warehouses-for-scan-in" name = "warehouses-for-scan-in" placeholder="Warehouses">
-
 
57
					<option value="" disabled selected>Warehouses</option>
-
 
58
					#foreach($warehouse in $warehouses)
-
 
59
         				<option value="$warehouse.getId()">$warehouse.getName()</option>
-
 
60
         			#end
-
 
61
	             </select>
-
 
62
        	</div>
53
						
63
						
54
        	<div class="col-lg-2">
64
        	<div class="col-lg-2">
55
            	<input type="number" class="form-control" id="quantity" placeholder="Quantity" value="" />
65
            	<input type="number" class="form-control" id="quantity" placeholder="Quantity" value="" />
56
        	</div>
66
        	</div>
57
        	<div class="col-lg-2">
-
 
58
            	<input type="number" class="form-control" id="reserved" placeholder="Reserved" value="" />
-
 
59
        	</div>
-
 
60
			<div class="col-lg-2">
67
			<div class="col-lg-2">
61
              	<button class="btn btn-primary" data-toggle="modal" data-target="#scanInItemModel" id="" onclick="scanInItemDialog()" type="button">Scan In</button>
68
              	<button class="btn btn-primary" data-toggle="modal" data-target="#scanInItemModel" id="" onclick="scanInItemDialog()" type="button">Scan In</button>
62
			</div>
69
			</div>
63
        			
70
        			
64
       	</div>
71
       	</div>
Line 69... Line 76...
69
	    	<div class="col-lg-12">
76
	    	<div class="col-lg-12">
70
	    		<table class="table table-striped table-advance table-hover">
77
	    		<table class="table table-striped table-advance table-hover">
71
	    			<tbody>
78
	    			<tbody>
72
	    				<tr>
79
	    				<tr>
73
	    					<th>Item Name</th>
80
	    					<th>Item Name</th>
74
	    					<th>Reserved</th>
-
 
75
	    					<th>Availability</th>
81
	    					<th>Availability</th>
76
	    				</tr>
82
	    				</tr>
77
	    				#if(!$adminCurrentInventorySnapshots.isEmpty())
83
	    				#if(!$adminCurrentInventorySnapshots.isEmpty())
78
			    			#foreach( $adminCurrentInventorySnapshot in $adminCurrentInventorySnapshots )
84
			    			#foreach( $adminCurrentInventorySnapshot in $adminCurrentInventorySnapshots )
79
			    				<tr class="scan-in-item-details" data="$adminCurrentInventorySnapshot.getItemId()">
85
			    				<tr class="scan-in-item-details" data="$adminCurrentInventorySnapshot.getItemId()">
80
			    					<td>$itemIdDescriptionMap.get($adminCurrentInventorySnapshot.getItemId())</td>
86
			    					<td>$itemIdDescriptionMap.get($adminCurrentInventorySnapshot.getItemId())</td>
81
			    					<td>$adminCurrentInventorySnapshot.getReserved()</td>
-
 
82
			    					<td>$adminCurrentInventorySnapshot.getAvailability()</td>
87
			    					<td>$adminCurrentInventorySnapshot.getAvailability()</td>
83
			    				</tr>
88
			    				</tr>
84
			    			#end
89
			    			#end
85
		    			#else
90
		    			#else
86
		    				<tr>
91
		    				<tr>
Line 122... Line 127...
122
	        <button type="button" class="close" data-dismiss="modal">&times;</button>
127
	        <button type="button" class="close" data-dismiss="modal">&times;</button>
123
	        <h4 class="modal-title">Scan In Item</h4>
128
	        <h4 class="modal-title">Scan In Item</h4>
124
	      </div>
129
	      </div>
125
	      <div class="modal-body">
130
	      <div class="modal-body">
126
			<input type="hidden" class="itemId" />
131
			<input type="hidden" class="itemId" />
-
 
132
			<input type="hidden" class="warehouseId" />
-
 
133
			<h4 class="warehouseName modelHeaderCustom">Warehouse Name : <span></span></h4>
127
			<h4 class="itemInformation modelHeaderCustom">Item Details : <span></span></h4>
134
			<h4 class="itemInformation modelHeaderCustom">Item Details : <span></span></h4>
128
			<h4 class="itemQuantity modelHeaderCustom">Quantity : <span></span></h4>
135
			<h4 class="itemQuantity modelHeaderCustom">Quantity : <span></span></h4>
129
			<h4 class="itemReservedQuantity modelHeaderCustom">Reserved : <span></span></h4>
-
 
130
			<h4 class="modal-title">Enter Serial Numbers</h4>
136
			<h4 class="modal-title">Enter Serial Numbers</h4>
131
			<div id="serialNumberContainer">
137
			<div id="serialNumberContainer">
132
			</div>
138
			</div>
133
			<hr/>
139
			<hr/>
134
			<span class="input-group-btn">
140
			<span class="input-group-btn">