| 33814 |
ranu |
1 |
<div class="col-lg-12">
|
|
|
2 |
<table class="table table-bordered table-condensed" id="retailerContactList" style="width:100%">
|
|
|
3 |
<thead class="row htable" style="background:#F5F5F5;">
|
|
|
4 |
<tr style="color:black;">
|
|
|
5 |
<th>Name</th>
|
|
|
6 |
<th>Mobile</th>
|
| 35648 |
ranu |
7 |
<th>Brand Name</th>
|
|
|
8 |
<th>Contact Type</th>
|
| 33814 |
ranu |
9 |
<th>status</th>
|
|
|
10 |
<th>Action</th>
|
|
|
11 |
</tr>
|
|
|
12 |
</thead>
|
|
|
13 |
<tbody>
|
|
|
14 |
#foreach($contact in $retailerContacts)
|
|
|
15 |
<tr>
|
|
|
16 |
<td>$contact.getName()</td>
|
|
|
17 |
<td>$contact.getMobile()</td>
|
| 35648 |
ranu |
18 |
<td>$!contact.getBrandName()</td>
|
|
|
19 |
<td>$!contact.getContactType()</td>
|
| 33814 |
ranu |
20 |
<td>
|
|
|
21 |
#if($contact.isActive())
|
|
|
22 |
Active
|
|
|
23 |
#else
|
|
|
24 |
In-Active
|
|
|
25 |
#end
|
|
|
26 |
</td>
|
|
|
27 |
<td>
|
|
|
28 |
#if($contact.isActive())
|
|
|
29 |
<button type="button" class="btn btn-danger update-contact-status"
|
|
|
30 |
data-contactid="$contact.getId()" data-status="false">Do In-active
|
|
|
31 |
</button>
|
|
|
32 |
#else
|
|
|
33 |
<button type="button" class="btn btn-success update-contact-status"
|
|
|
34 |
data-contactid="$contact.getId()" data-status="true">Do Active
|
|
|
35 |
</button>
|
|
|
36 |
#end
|
|
|
37 |
</td>
|
|
|
38 |
</tr>
|
|
|
39 |
#end
|
|
|
40 |
</tbody>
|
|
|
41 |
</table>
|
|
|
42 |
</div>
|
|
|
43 |
|
|
|
44 |
|
|
|
45 |
<div id="update-retailer-contact-modal" class="modal" role="dialog">
|
|
|
46 |
<div class="modal-dialog">
|
|
|
47 |
<div class="modal-content">
|
|
|
48 |
<div class="modal-header">
|
|
|
49 |
<button type="button" class="close" data-dismiss="modal">×</button>
|
|
|
50 |
<h4 class="modal-title"> Offers</h4>
|
|
|
51 |
</div>
|
|
|
52 |
<div class="modal-body" style="overflow: auto;">
|
|
|
53 |
<div class="row">
|
|
|
54 |
<div class="col-lg-12">
|
|
|
55 |
<div class="form-group">
|
|
|
56 |
<label>Contact Name</label>
|
|
|
57 |
<input type="text" class="form-control" name="retailer-contact-name"
|
|
|
58 |
id="retailer-contact-name">
|
|
|
59 |
</div>
|
|
|
60 |
<div class="form-group">
|
|
|
61 |
<label>Contact Number</label>
|
|
|
62 |
<input type="text" class="form-control" name="retailer-contact-number"
|
|
|
63 |
id="retailer-contact-number">
|
|
|
64 |
</div>
|
| 35648 |
ranu |
65 |
<div class="form-group">
|
|
|
66 |
<label>Brand Name</label>
|
|
|
67 |
<select class="form-control" id="retailer-contact-brand" name="retailer-contact-brand">
|
|
|
68 |
<option value="">Select Brand</option>
|
|
|
69 |
#foreach($brand in $brands)
|
|
|
70 |
<option value="$brand.getName()">$brand.getName()</option>
|
|
|
71 |
#end
|
|
|
72 |
</select>
|
|
|
73 |
</div>
|
|
|
74 |
<div class="form-group">
|
|
|
75 |
<label>Contact Type</label>
|
|
|
76 |
<select class="form-control" id="retailer-contact-type" name="retailer-contact-type">
|
|
|
77 |
<option value="">Select Contact Type</option>
|
|
|
78 |
<option value="Shopkeeper">Shopkeeper</option>
|
|
|
79 |
<option value="Seller">Seller</option>
|
|
|
80 |
<option value="Owner">Owner</option>
|
|
|
81 |
<option value="Promoter">Promoter</option>
|
|
|
82 |
</select>
|
|
|
83 |
</div>
|
| 33814 |
ranu |
84 |
</div>
|
|
|
85 |
</div>
|
|
|
86 |
</div>
|
|
|
87 |
|
|
|
88 |
<div class="modal-footer">
|
|
|
89 |
<button type="button"
|
|
|
90 |
class="btn btn-primary retailer-contact-submit">Submit
|
|
|
91 |
</button>
|
|
|
92 |
<button type="button" data-dismiss="modal"
|
|
|
93 |
class="btn btn-default view-close">Close
|
|
|
94 |
</button>
|
|
|
95 |
|
|
|
96 |
</div>
|
|
|
97 |
</div>
|
|
|
98 |
</div>
|
|
|
99 |
</div>
|