| Line 24... |
Line 24... |
| 24 |
cursor:pointer;
|
24 |
cursor:pointer;
|
| 25 |
}
|
25 |
}
|
| 26 |
</style>
|
26 |
</style>
|
| 27 |
|
27 |
|
| 28 |
<script>
|
28 |
<script>
|
| 29 |
configureWarehousesDropDown();
|
29 |
configureWarehousesForScanOutDropDown();
|
| 30 |
configureWarehouseItemsDropDown();
|
- |
|
| 31 |
configureFofoUsersDropDown();
|
30 |
configureFofoUsersDropDown();
|
| 32 |
</script>
|
31 |
</script>
|
| 33 |
|
32 |
|
| 34 |
<section class="wrapper">
|
33 |
<section class="wrapper">
|
| 35 |
<div class="row">
|
34 |
<div class="row">
|
| Line 42... |
Line 41... |
| 42 |
</div>
|
41 |
</div>
|
| 43 |
</div>
|
42 |
</div>
|
| 44 |
|
43 |
|
| 45 |
<div id="scan-out-item-container">
|
44 |
<div id="scan-out-item-container">
|
| 46 |
<div class="row">
|
45 |
<div class="row">
|
| 47 |
<div class="col-lg-2 form-group">
|
46 |
<div class="col-lg-2 form-group" id="admin-warehouses-container">
|
| 48 |
<select class="form-control input-sm" id = "warehouses" name = "warehouses" placeholder="Warehouses">
|
47 |
<select class="form-control" id="admin-warehouses-for-scan-out" placeholder="Warehouses">
|
| 49 |
<option value="" disabled selected>Warehouses</option>
|
48 |
<option value="" disabled selected>Warehouses</option>
|
| 50 |
#foreach($warehouseId in $warehouseIdNameMap.keySet())
|
49 |
#foreach($warehouse in $warehouses)
|
| 51 |
<option value="$warehouseId">$warehouseIdNameMap.get($warehouseId)</option>
|
50 |
<option value="$warehouse.getId()">$warehouse.getName()</option>
|
| 52 |
#end
|
51 |
#end
|
| 53 |
</select>
|
- |
|
| 54 |
</div>
|
- |
|
| 55 |
<div class="col-lg-2 form-group" id="warehouse-items-container">
|
- |
|
| 56 |
<select class="form-control input-sm" id = "warehouse-items" name = "warehouse-items" placeholder="Items">
|
- |
|
| 57 |
</select>
|
52 |
</select>
|
| 58 |
</div>
|
53 |
</div>
|
| 59 |
|
54 |
|
| 60 |
<div class="col-lg-2 form-group">
|
55 |
<div class="col-lg-2 form-group">
|
| 61 |
<select class="form-control input-sm" id = "fofo-users" name = "fofo-users" placeholder="Users">
|
56 |
<select class="form-control input-sm" id = "fofo-users" name = "fofo-users" placeholder="Users">
|
| 62 |
<option value="" disabled selected>Users</option>
|
57 |
<option value="" disabled selected>Users</option>
|
| 63 |
#foreach($fofoId in $fofoIdEmailIdMap.keySet())
|
58 |
#foreach($fofoId in $fofoIdEmailIdMap.keySet())
|
| 64 |
<option value="$fofoId">$fofoIdEmailIdMap.get($fofoId)</option>
|
59 |
<option value="$fofoId">$fofoIdEmailIdMap.get($fofoId)</option>
|
| 65 |
#end
|
60 |
#end
|
| 66 |
</select>
|
61 |
</select>
|
| 67 |
</div>
|
- |
|
| 68 |
<div class="col-lg-2">
|
- |
|
| 69 |
<input type="number" class="form-control" id="quantity" placeholder="Quantity" value="" />
|
- |
|
| 70 |
</div>
|
62 |
</div>
|
| 71 |
<div class="col-lg-2">
|
63 |
<div class="col-lg-2">
|
| 72 |
<button class="btn btn-primary" data-toggle="modal" data-target="#scanOutItemModel" id="" onclick="scanOutItemDialog()" type="button">Scan Out</button>
|
64 |
<button class="btn btn-primary" data-toggle="modal" data-target="#scanOutItemModel" id="" onclick="scanOutItemDialog()" type="button">Scan Out</button>
|
| 73 |
</div>
|
65 |
</div>
|
| 74 |
|
66 |
|
| Line 81... |
Line 73... |
| 81 |
<table class="table table-striped table-advance table-hover">
|
73 |
<table class="table table-striped table-advance table-hover">
|
| 82 |
<tbody>
|
74 |
<tbody>
|
| 83 |
<tr>
|
75 |
<tr>
|
| 84 |
<th>Delivery Note Id</th>
|
76 |
<th>Delivery Note Id</th>
|
| 85 |
<th>Warehouse Name</th>
|
77 |
<th>Warehouse Name</th>
|
| 86 |
<th>Item Name</th>
|
- |
|
| 87 |
<th>Creator Email Id</th>
|
- |
|
| 88 |
<th>Partner Email Id</th>
|
78 |
<th>Partner Email Id</th>
|
| 89 |
<th>Serial Number</th>
|
- |
|
| 90 |
<th>Quantity</th>
|
- |
|
| 91 |
<th>Created On</th>
|
79 |
<th>Created On</th>
|
| 92 |
</tr>
|
80 |
</tr>
|
| 93 |
#if(!$adminDeliveryNotes.isEmpty())
|
81 |
#if(!$adminDeliveryNotes.isEmpty())
|
| 94 |
#foreach( $adminDeliveryNote in $adminDeliveryNotes )
|
82 |
#foreach( $adminDeliveryNote in $adminDeliveryNotes )
|
| 95 |
<tr class="scan-out-item-details" data="$adminDeliveryNote.getDeliveryNoteId()">
|
83 |
<tr class="scan-out-item-details" data="$adminDeliveryNote.getDeliveryNoteId()">
|
| 96 |
<td>$adminDeliveryNote.getDeliveryNoteId()</td>
|
84 |
<td>$adminDeliveryNote.getDeliveryNoteId()</td>
|
| 97 |
<td>$warehouseIdNameMap.get($adminDeliveryNote.getWarehouseId())</td>
|
85 |
<td>$warehouseIdNameMap.get($adminDeliveryNote.getWarehouseId())</td>
|
| 98 |
<td>$itemIdDescriptionMap.get($adminDeliveryNote.getItemId())</td>
|
- |
|
| 99 |
<td>$fofoIdEmailIdMap.get($adminDeliveryNote.getAdminId())</td>
|
- |
|
| 100 |
<td>$fofoIdEmailIdMap.get($adminDeliveryNote.getFofoId())</td>
|
86 |
<td>$fofoIdEmailIdMap.get($adminDeliveryNote.getFofoId())</td>
|
| 101 |
#if($adminDeliveryNote.getSerialNumber())
|
- |
|
| 102 |
<td>$adminDeliveryNote.getSerialNumber()</td>
|
- |
|
| 103 |
#else
|
- |
|
| 104 |
<td></td>
|
- |
|
| 105 |
#end
|
- |
|
| 106 |
<td>$adminDeliveryNote.getQuantity()</td>
|
- |
|
| 107 |
<td>$adminDeliveryNote.getFormattedCreateTimestamp()</td>
|
87 |
<td>$adminDeliveryNote.getFormattedCreateTimestamp()</td>
|
| 108 |
</tr>
|
88 |
</tr>
|
| 109 |
#end
|
89 |
#end
|
| 110 |
#else
|
90 |
#else
|
| 111 |
<tr>
|
91 |
<tr>
|
| Line 146... |
Line 126... |
| 146 |
<div class="modal-header">
|
126 |
<div class="modal-header">
|
| 147 |
<button type="button" class="close" data-dismiss="modal">×</button>
|
127 |
<button type="button" class="close" data-dismiss="modal">×</button>
|
| 148 |
<h4 class="modal-title">Scan Out Item</h4>
|
128 |
<h4 class="modal-title">Scan Out Item</h4>
|
| 149 |
</div>
|
129 |
</div>
|
| 150 |
<div class="modal-body">
|
130 |
<div class="modal-body">
|
| 151 |
<input type="hidden" class="itemId" />
|
- |
|
| 152 |
<input type="hidden" class="itemType" />
|
- |
|
| 153 |
<input type="hidden" class="warehouseId" />
|
131 |
<input type="hidden" class="warehouseId" />
|
| 154 |
<input type="hidden" class="userId" />
|
132 |
<input type="hidden" class="userId" />
|
| 155 |
<h4 class="itemInformation modelHeaderCustom">Item Details : <span></span></h4>
|
- |
|
| 156 |
<h4 class="warehouseInformation modelHeaderCustom">Warehouse Details : <span></span></h4>
|
133 |
<h4 class="warehouseInformation modelHeaderCustom">Warehouse Details : <span></span></h4>
|
| 157 |
<h4 class="userInformation modelHeaderCustom">User Details : <span></span></h4>
|
134 |
<h4 class="userInformation modelHeaderCustom">User Details : <span></span></h4>
|
| 158 |
<h4 class="itemQuantity modelHeaderCustom">Quantity : <span></span></h4>
|
- |
|
| 159 |
<h4 class="modal-title">Choose Serial Numbers</h4>
|
135 |
<h4 class="modal-title">Choose Instructions</h4>
|
| 160 |
<div id="serialNumberContainer">
|
136 |
<div id="instructionItemsContainer">
|
| 161 |
</div>
|
137 |
</div>
|
| 162 |
<hr/>
|
138 |
<hr/>
|
| 163 |
<span class="input-group-btn">
|
139 |
<span class="input-group-btn">
|
| 164 |
<button type="button" id="scanOutItemButton" class="btn btn-primary">Submit!</button>
|
140 |
<button type="button" id="scanOutItemButton" class="btn btn-primary">Submit!</button>
|
| 165 |
</span>
|
141 |
</span>
|