Rev 26669 | Go to most recent revision | Blame | Compare with Previous | Last modification | View Log | RSS feed
<div class="pending-order-item" style="float:right";><h4 class="modelHeaderCustom" style="font-size:22px;">Order Detail</h4><div class = "row"><div class="col-lg-12"><table class="table table-advance" id = "pending-order-item-table"><tbody><tr><th>Order Id</th><th>Item Id</th><th>Quantity</th><th>Item detail</th><th>Selling Price</th><th>Action</th></tr></thead>#foreach($pendingOrderItem in $pendingOrderItems)<tr><td>$pendingOrderItem.getOrderId()</td><td>$pendingOrderItem.getItemId()</td><td>$pendingOrderItem.getQuantity()</td><td>$itemMap.get($pendingOrderItem.getItemId()).getBrand() $itemMap.get($pendingOrderItem.getItemId()).getModelName() $itemMap.get($pendingOrderItem.getItemId()).getModelNumber() $itemMap.get($pendingOrderItem.getItemId()).getColor()</td><td>$pendingOrderItem.getSellingPrice()</td>#if(!$inventoryMap.get($pendingOrderItem.getItemId()))<td style="font-color:red">Out of Stoke</td>#else<td><button class="btn btn-primary add-to-bag" data="$pendingOrderItem.getItemId()" data-toggle="modal" data-target="#bagModel"type="button" style="width:100%; border-radius:0px;">Action</button></td>#end</tr>#end</tbody></table></div></div></div><div id="bagModel" class="modal" role="dialog"><div class="modal-dialog modal-md"><!-- Modal content--><div class="modal-content"><div class="modal-header"><button type="button" class="close" data-dismiss="modal">×</button><h4 class="modal-title">Add Item To Bag</h4></div><div class="modal-body" style="min-height:200px"><div id="catalogModalBody"><input type="hidden" class="itemId" /><input type="hidden" class="availability" /><h4 class="bagModalProductInfo modelHeaderCustom">Product Details : <span></span></h4><h4 class="bagModalAvailability modelHeaderCustom">Availability : <span></span></h4><h4 class="bagModalEarlyImeis modelHeaderCustom">Imeis to bill: <span></span></h4><h4 class="bagModalQuantity modelHeaderCustom">Enter Quantity<span><input type="number" min="1" class="form-control quantity"></input></span></h4><hr/><span><button type="submit" id="addToBagButton" class="btn btn-primary">Submit!</button></span></div></div></div></div></div>