Subversion Repositories SmartDukaan

Rev

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

Rev 34475 Rev 34493
Line 33... Line 33...
33
        <table class="table table-bordered" id="liquidation-table">
33
        <table class="table table-bordered" id="liquidation-table">
34
            <thead class="table-light">
34
            <thead class="table-light">
35
            <tr>
35
            <tr>
36
                <th>Catalog</th>
36
                <th>Catalog</th>
37
                <th>Start Price</th>
37
                <th>Start Price</th>
-
 
38
                <th>No of Bids</th>
38
                <th>Start - End</th>
39
                <th>Start - End</th>
39
                <th>Status</th>
40
                <th>Status</th>
40
                <th>Actions</th>
41
                <th>Actions</th>
41
            </tr>
42
            </tr>
42
            </thead>
43
            </thead>
43
            <tbody>
44
            <tbody>
44
                #foreach($item in $liquidations)
45
                #foreach($item in $liquidations)
45
                    <tr>
46
                    <tr>
46
                        <td>$item.catalogId</td>
47
                        <td>$saholicStockMap.get($item.catalogId).getBrand() $saholicStockMap.get($item.catalogId).getModelNumber()</td>
47
                        <td>$item.price</td>
48
                        <td>$item.price</td>
48
                        <td>$item.startDate - $item.endDate</td>
49
                        <td>$bidsMap.get($item.getId()).size()</td>
-
 
50
                        <td>$item.startDate.format($dateTimeFormatter) - $item.endDate.format($dateTimeFormatter)</td>
49
                        <td>$item.status</td>
51
                        <td>$item.status</td>
50
                        <td>
52
                        <td>
51
                            <a role="button" onclick="editLiquidation($item.id)" class="btn btn-sm btn-info"><i class="fa fa-eye"></i> View</a>
53
                            <a role="button" onclick="editLiquidation($item.id)" class="btn btn-sm btn-info"><i class="fa fa-eye"></i> View</a>
52
                            #*<a role="button" onclick="deleteLiquidation($item.id)" class="btn btn-sm btn-danger">Delete</a>*#
54
                            #*<a role="button" onclick="deleteLiquidation($item.id)" class="btn btn-sm btn-danger">Delete</a>*#
53
                        </td>
55
                        </td>
Line 88... Line 90...
88
                            <label for="price" class="form-label">Bidding Price</label>
90
                            <label for="price" class="form-label">Bidding Price</label>
89
                            <input type="number" name="price" id="price" class="form-control" required>
91
                            <input type="number" name="price" id="price" class="form-control" required>
90
                        </div>
92
                        </div>
91
                    </div>
93
                    </div>
92
 
94
 
93
                    <div class="col-md-4">
95
                    <div class="col-md-3">
-
 
96
                        <div class="form-group">
-
 
97
                            <label for="incrementStep" class="form-label">Increment Step</label>
-
 
98
                            <input type="number" name="incrementStep" id="incrementStep" class="form-control" required value="10">
-
 
99
                        </div>
-
 
100
                    </div>
-
 
101
 
-
 
102
                    <div class="col-md-3">
94
                        <div class="form-group">
103
                        <div class="form-group">
95
                            <label for="startDate" class="form-label">Start Date</label>
104
                            <label for="startDate" class="form-label">Start Date</label>
96
                            <input type="datetime-local" name="startDate" id="startDate" class="form-control" required>
105
                            <input type="datetime-local" name="startDate" id="startDate" class="form-control" required>
97
                        </div>
106
                        </div>
98
                    </div>
107
                    </div>
99
 
108
 
100
                    <div class="col-md-4">
109
                    <div class="col-md-3">
101
                        <div class="form-group">
110
                        <div class="form-group">
102
                            <label for="endDate" class="form-label">End Date</label>
111
                            <label for="endDate" class="form-label">End Date</label>
103
                            <input type="datetime-local" name="endDate" id="endDate" class="form-control" required>
112
                            <input type="datetime-local" name="endDate" id="endDate" class="form-control" required>
104
                        </div>
113
                        </div>
105
                    </div>
114
                    </div>
106
 
115
 
107
                    <div class="col-md-4">
116
                    <div class="col-md-3">
108
                        <div class="form-group">
117
                        <div class="form-group">
109
                            <label for="status" class="form-label">Status</label>
118
                            <label for="status" class="form-label">Status</label>
110
                            <select name="status" id="status" class="form-select">
119
                            <select name="status" id="status" class="form-select">
111
                                <option value="ACTIVE">Active</option>
120
                                <option value="ACTIVE">Active</option>
112
                                <option value="INACTIVE">Inactive</option>
121
                                <option value="INACTIVE">Inactive</option>