Subversion Repositories SmartDukaan

Rev

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

Rev 23882 Rev 24168
Line 34... Line 34...
34
	<div class="row">
34
	<div class="row">
35
		<div class="col-lg-12">
35
		<div class="col-lg-12">
36
			<h3 class="page-header"><i class="icon_document_alt"></i>ITEM</h3>
36
			<h3 class="page-header"><i class="icon_document_alt"></i>ITEM</h3>
37
			<ol class="breadcrumb">
37
			<ol class="breadcrumb">
38
				<li><i class="fa fa-home"></i><a href="${rc.contextPath}/dashboard">Home</a></li>
38
				<li><i class="fa fa-home"></i><a href="${rc.contextPath}/dashboard">Home</a></li>
39
				<li><i class="icon_document_alt"></i>SCAN IN ITEMS</li>						  	
39
				<li><i class="icon_document_alt"></i>SCAN IN ITEMS for $warehouse.getName()</li>						  	
40
			</ol>
40
			</ol>
41
		</div>
41
		</div>
42
	</div>
42
	</div>
43
	
43
	
44
	<div id="scan-in-item-container">
44
	<div id="scan-in-item-container">
45
    	<div class="row">
45
    	<div class="row">
46
        	<div class="col-lg-3 form-group">
46
        	<div class="col-lg-3 form-group">
-
 
47
        		<input type="hidden" id="warehouseId" name="warehouseId" value="$warehouse.getId()" />
-
 
48
        		<input type="hidden" id="warehouseName" name="warehouseId" value="$warehouse.getName()" />
47
        		<select class="form-control input-sm" id = "items-for-scan-in" name = "items-for-scan-in" placeholder="Items">
49
        		<select class="form-control input-sm" id = "items-for-scan-in" name = "items-for-scan-in" placeholder="Items">
48
					<option value="" disabled selected>Items</option>
50
					<option value="" disabled selected>Items</option>
49
					#foreach($item in $items)
51
					#foreach($item in $items)
50
         				<option value="$item.getId()" itemType="$item.getType()">$item.getBrand() $item.getDescription()</option>
52
         				<option value="$item.getId()" itemType="$item.getType()">$item.getBrand() $item.getDescription()</option>
51
         			#end
53
         			#end
52
	             </select>
54
	             </select>
53
        	</div>
55
        	</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>
-
 
63
						
-
 
64
        	<div class="col-lg-2">
56
        	<div class="col-lg-2">
65
            	<input type="number" class="form-control" id="quantity" placeholder="Quantity" value="" />
57
            	<input type="number" class="form-control" id="quantity" placeholder="Quantity" value="" />
66
        	</div>
58
        	</div>
67
			<div class="col-lg-2">
59
			<div class="col-lg-2">
68
              	<button class="btn btn-primary" data-toggle="modal" data-target="#scanInItemModel" id="" onclick="scanInItemDialog()" type="button">Scan In</button>
60
              	<button class="btn btn-primary" data-toggle="modal" data-target="#scanInItemModel" id="" onclick="scanInItemDialog()" type="button">Scan In</button>
Line 77... Line 69...
77
	    		<table class="table table-striped table-advance table-hover">
69
	    		<table class="table table-striped table-advance table-hover">
78
	    			<tbody>
70
	    			<tbody>
79
	    				<tr>
71
	    				<tr>
80
	    					<th>Item Name</th>
72
	    					<th>Item Name</th>
81
	    					<th>Availability</th>
73
	    					<th>Availability</th>
-
 
74
	    					<th>Reserved</th>
82
	    				</tr>
75
	    				</tr>
83
	    				#if(!$adminCurrentInventorySnapshots.isEmpty())
76
	    				#if(!$adminCurrentInventorySnapshots.isEmpty())
84
			    			#foreach( $adminCurrentInventorySnapshot in $adminCurrentInventorySnapshots )
77
			    			#foreach( $adminCurrentInventorySnapshot in $adminCurrentInventorySnapshots )
85
			    				<tr class="scan-in-item-details" data="$adminCurrentInventorySnapshot.getItemId()">
78
			    				<tr class="scan-in-item-details" data="$adminCurrentInventorySnapshot.getItemId()">
86
			    					<td>$itemIdDescriptionMap.get($adminCurrentInventorySnapshot.getItemId())</td>
79
			    					<td>$itemIdDescriptionMap.get($adminCurrentInventorySnapshot.getItemId())</td>
87
			    					<td>$adminCurrentInventorySnapshot.getAvailability()</td>
80
			    					<td>$adminCurrentInventorySnapshot.getAvailability()</td>
-
 
81
			    					<td>$adminCurrentInventorySnapshot.getReserved()</td>
88
			    				</tr>
82
			    				</tr>
89
			    			#end
83
			    			#end
90
		    			#else
84
		    			#else
91
		    				<tr>
85
		    				<tr>
92
		    					<td colspan="6" style="text-align:center;">NO MATCHING DATA FOUND FOR CRITERIA</td>
86
		    					<td colspan="6" style="text-align:center;">NO MATCHING DATA FOUND FOR CRITERIA</td>