| 28300 |
tejbeer |
1 |
|
|
|
2 |
<script>
|
|
|
3 |
|
|
|
4 |
$("#newWarehousebutton").click(function(){
|
|
|
5 |
$("#newWarehouse").modal({backdrop: false});
|
|
|
6 |
});
|
|
|
7 |
|
|
|
8 |
</script>
|
|
|
9 |
|
|
|
10 |
|
|
|
11 |
<table class="table table-striped sellerwarehouse-container">
|
|
|
12 |
<div>
|
|
|
13 |
|
|
|
14 |
<h2>Seller Details</h2>
|
|
|
15 |
|
|
|
16 |
</div>
|
|
|
17 |
<thead>
|
|
|
18 |
<tr>
|
|
|
19 |
<th>Label</th>
|
|
|
20 |
<th>Gst</th>
|
|
|
21 |
<th>Address</th>
|
|
|
22 |
</tr>
|
|
|
23 |
|
|
|
24 |
</thead>
|
|
|
25 |
|
|
|
26 |
<tbody>
|
|
|
27 |
<div class="row">
|
|
|
28 |
<tr>
|
|
|
29 |
|
|
|
30 |
<td>$seller.get($sellerId).getLabel()</td>
|
|
|
31 |
<td>$seller.get($sellerId).getGstin()</td>
|
|
|
32 |
<td>$seller.get($sellerId).getAddress()</td>
|
|
|
33 |
</tr>
|
|
|
34 |
</div>
|
|
|
35 |
|
|
|
36 |
|
|
|
37 |
|
|
|
38 |
</tbody>
|
|
|
39 |
</table>
|
|
|
40 |
|
|
|
41 |
|
|
|
42 |
|
|
|
43 |
|
|
|
44 |
|
|
|
45 |
|
|
|
46 |
|
|
|
47 |
<table class="table table-striped sellerwarehouse-container">
|
|
|
48 |
<div>
|
|
|
49 |
<h2>Warehouse Details</h2>
|
|
|
50 |
</div> <thead>
|
|
|
51 |
<tr>
|
|
|
52 |
<th>Warehouse Id</th>
|
|
|
53 |
<th>Prefix</th>
|
|
|
54 |
<th>invoice Id</th>
|
|
|
55 |
<th>Gst</th>
|
|
|
56 |
<th>Address</th>
|
|
|
57 |
</tr>
|
|
|
58 |
|
|
|
59 |
</thead>
|
|
|
60 |
|
|
|
61 |
<tbody>
|
|
|
62 |
<div class="row">
|
|
|
63 |
#foreach($sellerWarehouse in $sellerWarehouse)
|
|
|
64 |
|
|
|
65 |
<tr>
|
|
|
66 |
|
|
|
67 |
<td>$sellerWarehouse.getWarehouseId()</td>
|
|
|
68 |
<td>$sellerWarehouse.getPrefix()</td>
|
|
|
69 |
<td>$sellerWarehouse.getInvoiceSequence()</td>
|
|
|
70 |
<td>$seller.get($sellerWarehouse.getSellerId()).getGstin()</td>
|
|
|
71 |
<td>$wam.get($sellerWarehouse.getWarehouseId()).getAddress()</td>
|
|
|
72 |
</tr>
|
|
|
73 |
#end
|
|
|
74 |
</div>
|
|
|
75 |
|
|
|
76 |
<div class="col-lg-2">
|
|
|
77 |
<button type="button" class="btn btn-info btn-lg" data-toggle="modal" data-target="#newWarehouse"
|
|
|
78 |
style="font-size:12px;background: purple;">New Warehouse
|
|
|
79 |
</button>
|
|
|
80 |
|
|
|
81 |
<div id="newWarehouse" class="modal fade" role="dialog">
|
|
|
82 |
<div class="modal-dialog">
|
|
|
83 |
<!-- Modal content-->
|
|
|
84 |
<div class="modal-content" style="width: 1050px;">
|
|
|
85 |
<div class="modal-header">
|
|
|
86 |
<button type="button" class="close" data-dismiss="modal">×</button>
|
|
|
87 |
<h4 class="modal-title">Modal Header</h4>
|
|
|
88 |
</div>
|
|
|
89 |
|
|
|
90 |
|
|
|
91 |
<div class="modal-body" style="height: 194px;">
|
|
|
92 |
<form id="add-warehouse-form">
|
|
|
93 |
<div class="form-row">
|
|
|
94 |
<div class="form-group col-md-6">
|
|
|
95 |
<label for="warehouseId">Warehouse Id</label>
|
|
|
96 |
<input type="text" class="form-control" id="warehouseId" name="inputWarehouse" placeholder="Warehouse Id">
|
|
|
97 |
</div>
|
|
|
98 |
|
|
|
99 |
<div class="form-group col-md-6">
|
|
|
100 |
<label for="prefix">Prefix</label>
|
|
|
101 |
<input type="text" class="form-control" id="prefix" name="inputPrefix" placeholder="Prefix">
|
|
|
102 |
</div>
|
|
|
103 |
|
|
|
104 |
|
|
|
105 |
<div class="form-group col-md-6">
|
|
|
106 |
<label for="address">Address</label>
|
|
|
107 |
<select class="form-control input-sm" id = "addressWare" placeholder="label">
|
|
|
108 |
<option value="" disabled selected>Address</option>
|
|
|
109 |
#foreach($allWhm in $allWhm)
|
|
|
110 |
<option value="$allWhm.getId()">$allWhm.getAddress()</option>
|
|
|
111 |
#end
|
|
|
112 |
</select>
|
|
|
113 |
</div>
|
|
|
114 |
|
|
|
115 |
<div class="form-group col-md-2">
|
|
|
116 |
<button type="button" class="btn btn-primary" id="newWarehousebutton" data-dismiss="modal" style="margin: 22px;"
|
|
|
117 |
data-backdrop='static' data-keyboard='false'>submit
|
|
|
118 |
</button>
|
|
|
119 |
</div>
|
|
|
120 |
|
|
|
121 |
|
|
|
122 |
</div>
|
|
|
123 |
</form>
|
|
|
124 |
</div>
|
|
|
125 |
|
|
|
126 |
<div class="modal-footer">
|
|
|
127 |
<button type="submit" class="btn btn-default" data-dismiss="modal">Close</button>
|
|
|
128 |
</div>
|
|
|
129 |
</div>
|
|
|
130 |
</div>
|
|
|
131 |
</div>
|
|
|
132 |
|
|
|
133 |
</div>
|
|
|
134 |
|
|
|
135 |
</tbody>
|
|
|
136 |
</table>
|