Subversion Repositories SmartDukaan

Rev

Rev 28989 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
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
 
28989 amit.gupta 30
	                  <td>$seller.getLabel()</td>
31
                      <td>$seller.getGstin()</td>
32
                      <td>$seller.getAddress()</td>
28300 tejbeer 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">
32348 jai.hind 77
        <button type="button" class="btn btn-primary btn-lg" data-toggle="modal" data-target="#newWarehouse"
78
                style="font-size:12px;">New Warehouse
28300 tejbeer 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">&times;</button>
87
                        <h4 class="modal-title">Modal Header</h4>
88
                    </div>
89
 
90
 
28494 tejbeer 91
                    <div class="modal-body"    style="height: 251px;">
28300 tejbeer 92
                       <form id="add-warehouse-form">
93
                                        <div class="form-row">
28494 tejbeer 94
 
95
                        <div class="form-group col-md-6">
96
                          <label for="warehouseName">Warehouse Name</label>
97
                         <input type="text" class="form-control" id="warehouseName"  name="inputWarehouseName"  placeholder="Warehouse Name">
98
                        </div>
28300 tejbeer 99
 
100
                             <div class="form-group col-md-6">
101
                                    <label for="prefix">Prefix</label>
102
                                    <input type="text" class="form-control" id="prefix"  name="inputPrefix"  placeholder="Prefix">
103
                               </div>
28494 tejbeer 104
                         <div class="form-group col-md-6">
105
                          <label for="pin">Pin</label>
106
                        <input type="text" class="form-control" id="pinNumber"  name="inputPin"  placeholder="Pincode">
107
                        </div>
28300 tejbeer 108
 
109
                   <div class="form-group col-md-6">
110
                    <label for="address">Address</label>
111
						   <select class="form-control input-sm" id = "addressWare"  placeholder="label">
112
						     <option value="" disabled selected>Address</option>
113
							  #foreach($allWhm in $allWhm)
114
		             		 <option value="$allWhm.getId()">$allWhm.getAddress()</option>
115
		             		#end
116
		             	</select>
117
					</div>
28494 tejbeer 118
                       <div class="form-group col-md-2">
28300 tejbeer 119
                            <button type="button" class="btn btn-primary" id="newWarehousebutton" data-dismiss="modal" style="margin: 22px;"
120
                                    data-backdrop='static' data-keyboard='false'>submit
121
                            </button>
122
                       </div>
28494 tejbeer 123
                     </div>
28300 tejbeer 124
                             </form>
125
                         </div>
126
 
127
                    <div class="modal-footer">
128
                        <button type="submit" class="btn btn-default" data-dismiss="modal">Close</button>
129
                    </div>
130
                </div>
131
            </div>
132
        </div>
133
 
134
					</div>
135
 
136
			</tbody>
137
		</table>