Subversion Repositories SmartDukaan

Rev

Rev 37212 | Rev 37256 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 37212 Rev 37246
Line 8... Line 8...
8
            <table class="table table-striped table-hover">
8
            <table class="table table-striped table-hover">
9
                <thead>
9
                <thead>
10
                    <tr>
10
                    <tr>
11
                        <th>Model</th>
11
                        <th>Model</th>
12
                        <th>Status</th>
12
                        <th>Status</th>
13
                        <th style="width:170px;">Start Date</th>
13
                        <th style="width:150px;">Start Date</th>
14
                        <th style="width:170px;">End Date</th>
14
                        <th style="width:150px;">End Date</th>
-
 
15
                        <th style="width:90px;">Warranty</th>
-
 
16
                        <th style="width:120px;">Condition</th>
-
 
17
                        <th style="width:80px;">Activated</th>
-
 
18
                        <th style="width:80px;">Finance</th>
-
 
19
                        <th style="width:80px;">Affordability</th>
15
                        <th>Added By</th>
20
                        <th>Added By</th>
16
                        <th style="width:160px;">Action</th>
21
                        <th style="width:160px;">Action</th>
17
                    </tr>
22
                    </tr>
18
                </thead>
23
                </thead>
19
                <tbody>
24
                <tbody>
Line 29... Line 34...
29
                                    <span class="label label-default">Expired</span>
34
                                    <span class="label label-default">Expired</span>
30
                                #end
35
                                #end
31
                            </td>
36
                            </td>
32
                            <td><input type="date" class="form-control input-sm hot-deal-row-start" value="$deal.getStartDate()" /></td>
37
                            <td><input type="date" class="form-control input-sm hot-deal-row-start" value="$deal.getStartDate()" /></td>
33
                            <td><input type="date" class="form-control input-sm hot-deal-row-end" value="$deal.getEndDate()" /></td>
38
                            <td><input type="date" class="form-control input-sm hot-deal-row-end" value="$deal.getEndDate()" /></td>
-
 
39
                            <td><input type="number" class="form-control input-sm hot-deal-row-field hot-deal-row-warranty" min="0" max="12" value="$deal.getWarrantyMonths()" /></td>
-
 
40
                            <td>
-
 
41
                                <select class="form-control input-sm hot-deal-row-field hot-deal-row-condition">
-
 
42
                                    <option value="NEW" #if("$!deal.getItemCondition()" == "NEW")selected#end>New</option>
-
 
43
                                    <option value="OPEN_BOX" #if("$!deal.getItemCondition()" == "OPEN_BOX")selected#end>Open Box</option>
-
 
44
                                    <option value="REFURBISHED" #if("$!deal.getItemCondition()" == "REFURBISHED")selected#end>Refurbished</option>
-
 
45
                                </select>
-
 
46
                            </td>
-
 
47
                            <td>
-
 
48
                                <select class="form-control input-sm hot-deal-row-field hot-deal-row-activated">
-
 
49
                                    <option value="true" #if($deal.isActivated())selected#end>Yes</option>
-
 
50
                                    <option value="false" #if(!$deal.isActivated())selected#end>No</option>
-
 
51
                                </select>
-
 
52
                            </td>
-
 
53
                            <td>
-
 
54
                                <select class="form-control input-sm hot-deal-row-field hot-deal-row-finance">
-
 
55
                                    <option value="true" #if($deal.isFinanceMapping())selected#end>Yes</option>
-
 
56
                                    <option value="false" #if(!$deal.isFinanceMapping())selected#end>No</option>
-
 
57
                                </select>
-
 
58
                            </td>
-
 
59
                            <td>
-
 
60
                                <select class="form-control input-sm hot-deal-row-field hot-deal-row-affordability">
-
 
61
                                    <option value="true" #if($deal.isAffordability())selected#end>Yes</option>
-
 
62
                                    <option value="false" #if(!$deal.isAffordability())selected#end>No</option>
-
 
63
                                </select>
-
 
64
                            </td>
34
                            <td>$!deal.getCreatedBy()</td>
65
                            <td>$!deal.getCreatedBy()</td>
35
                            <td>
66
                            <td>
36
                                <button class="btn btn-success btn-sm save-hot-deal" type="button" style="display:none;">Save</button>
67
                                <button class="btn btn-success btn-sm save-hot-deal" type="button" style="display:none;">Save</button>
37
                                <button class="btn btn-danger btn-sm remove-hot-deal" type="button">Remove</button>
68
                                <button class="btn btn-danger btn-sm remove-hot-deal" type="button">Remove</button>
38
                            </td>
69
                            </td>