Subversion Repositories SmartDukaan

Rev

Rev 33814 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 33814 Rev 35648
Line 2... Line 2...
2
    <table class="table table-bordered table-condensed" id="retailerContactList" style="width:100%">
2
    <table class="table table-bordered table-condensed" id="retailerContactList" style="width:100%">
3
        <thead class="row htable" style="background:#F5F5F5;">
3
        <thead class="row htable" style="background:#F5F5F5;">
4
        <tr style="color:black;">
4
        <tr style="color:black;">
5
            <th>Name</th>
5
            <th>Name</th>
6
            <th>Mobile</th>
6
            <th>Mobile</th>
-
 
7
            <th>Brand Name</th>
-
 
8
            <th>Contact Type</th>
7
            <th>status</th>
9
            <th>status</th>
8
            <th>Action</th>
10
            <th>Action</th>
9
        </tr>
11
        </tr>
10
        </thead>
12
        </thead>
11
        <tbody>
13
        <tbody>
12
            #foreach($contact in $retailerContacts)
14
            #foreach($contact in $retailerContacts)
13
            <tr>
15
            <tr>
14
                <td>$contact.getName()</td>
16
                <td>$contact.getName()</td>
15
                <td>$contact.getMobile()</td>
17
                <td>$contact.getMobile()</td>
-
 
18
                <td>$!contact.getBrandName()</td>
-
 
19
                <td>$!contact.getContactType()</td>
16
                <td>
20
                <td>
17
                    #if($contact.isActive())
21
                    #if($contact.isActive())
18
                        Active
22
                        Active
19
                    #else
23
                    #else
20
                        In-Active
24
                        In-Active
Line 56... Line 60...
56
                        <div class="form-group">
60
                        <div class="form-group">
57
                            <label>Contact Number</label>
61
                            <label>Contact Number</label>
58
                            <input type="text" class="form-control" name="retailer-contact-number"
62
                            <input type="text" class="form-control" name="retailer-contact-number"
59
                                   id="retailer-contact-number">
63
                                   id="retailer-contact-number">
60
                        </div>
64
                        </div>
-
 
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>
61
                    </div>
84
                    </div>
62
                </div>
85
                </div>
63
            </div>
86
            </div>
64
 
87
 
65
            <div class="modal-footer">
88
            <div class="modal-footer">