Subversion Repositories SmartDukaan

Rev

Rev 26669 | Go to most recent revision | Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
26647 tejbeer 1
  <div class="pending-order-item"  style="float:right";>
2
  <h4 class="modelHeaderCustom" style="font-size:22px;">Order Detail</h4>
3
   <div class = "row">
4
 
5
      <div class="col-lg-12">
6
 
7
        <table class="table  table-advance" id = "pending-order-item-table">
8
	    			<tbody>
9
	    			       <tr>
10
 
11
								 <th>Order Id</th>
12
								 <th>Item Id</th>
13
								 <th>Quantity</th>
14
								 <th>Item detail</th>
15
								 <th>Selling Price</th>
16
								 <th>Action</th>
17
	    					</tr>	
18
 
19
				        </thead>
20
 
21
		    					 #foreach($pendingOrderItem in $pendingOrderItems)
22
		    					 <tr>
23
								 <td>$pendingOrderItem.getOrderId()</td>
24
								 <td>$pendingOrderItem.getItemId()</td>
25
								 <td>$pendingOrderItem.getQuantity()</td>
26
								 <td>$itemMap.get($pendingOrderItem.getItemId()).getBrand() $itemMap.get($pendingOrderItem.getItemId()).getModelName() $itemMap.get($pendingOrderItem.getItemId()).getModelNumber() $itemMap.get($pendingOrderItem.getItemId()).getColor()</td>
27
								 <td>$pendingOrderItem.getSellingPrice()</td>
28
								 #if(!$inventoryMap.get($pendingOrderItem.getItemId()))
29
 
30
								  <td style="font-color:red">Out of Stoke</td> 
31
 
32
			    				  #else
33
 
34
			    				  <td><button class="btn btn-primary add-to-bag"  data="$pendingOrderItem.getItemId()" data-toggle="modal" data-target="#bagModel"  
35
			    				     type="button" style="width:100%; border-radius:0px;">Action</button></td>
36
			    				  #end  
37
 
38
 
39
			    				</tr>	
40
			    	   #end
41
		    	</tbody>
42
	    </table>
43
      </div>
44
      </div>
45
 
46
   </div>
47
 
48
 
49
 
50
 
51
    <div id="bagModel" class="modal" role="dialog">
52
  		<div class="modal-dialog modal-md">
53
	       <!-- Modal content-->
54
		    <div class="modal-content">
55
		      <div class="modal-header">
56
		        <button type="button" class="close" data-dismiss="modal">&times;</button>
57
		        <h4 class="modal-title">Add Item To Bag</h4>
58
		      </div>
59
		      <div class="modal-body" style="min-height:200px">
60
		      <div id="catalogModalBody">
61
					<input type="hidden" class="itemId" />
62
					<input type="hidden" class="availability" />
63
					<h4 class="bagModalProductInfo modelHeaderCustom">Product Details : <span></span></h4>
64
					<h4 class="bagModalAvailability modelHeaderCustom">Availability : <span></span></h4>
65
					<h4 class="bagModalEarlyImeis modelHeaderCustom">Imeis to bill: <span></span></h4>
66
					<h4 class="bagModalQuantity modelHeaderCustom">Enter Quantity
67
					<span>
68
						<input type="number" min="1" class="form-control quantity"></input>
69
					</span></h4>
70
				<hr/>
71
				<span>
72
					<button type="submit" id="addToBagButton" class="btn btn-primary">Submit!</button>
73
		       	</span>
74
			  </div>
75
			  </div>
76
		    </div>
77
		</div>
78
 </div>
79