main
Last change
on this file was 4d67d70, checked in by andrejtodorovski <82031894+andrejtodorovski@…>, 23 months ago |
Final touches
|
-
Property mode
set to
100644
|
File size:
1.3 KB
|
Rev | Line | |
---|
[4d67d70] | 1 | <div>
|
---|
| 2 | <table class="table table-bordered mt-3">
|
---|
| 3 | <thead class="thead-dark">
|
---|
| 4 | <tr>
|
---|
| 5 | <th scope="col">Магацин</th>
|
---|
| 6 | <th scope="col">Име на дел</th>
|
---|
| 7 | <th scope="col">Моментално нарачани</th>
|
---|
| 8 | <th scope="col">Моментално достапни</th>
|
---|
| 9 | <th scope="col">Потрошени во последните 3 месеци</th>
|
---|
| 10 | <th scope="col">Дали треба да се нарача?</th>
|
---|
| 11 | <th scope="col">Нарачај</th>
|
---|
| 12 | </tr>
|
---|
| 13 | </thead>
|
---|
| 14 | <tbody>
|
---|
| 15 | <tr th:each="d : ${data}">
|
---|
| 16 | <td th:text="${d.getWid()}"></td>
|
---|
| 17 | <td th:text="${d.getPname()}"></td>
|
---|
| 18 | <td th:text="${d.getQuantityordered()}"></td>
|
---|
| 19 | <td th:text="${d.getQuantitywarehouse()}"></td>
|
---|
| 20 | <td th:text="${d.getQuantitylast3months()}"></td>
|
---|
| 21 | <td th:text="${d.getHasenoughinstock()}"></td>
|
---|
| 22 | <td>
|
---|
| 23 | <form method="post" th:action="@{'/myWarehouse/{pname}' (pname=${d.getPname()}) }">
|
---|
| 24 | <label for="quantity">
|
---|
| 25 | <input type="number" id="quantity" class="form-control" min="1" required name="quantity" placeholder="Количина">
|
---|
| 26 | </label>
|
---|
| 27 | <button class="btn btn-primary btn-block btn-lg" type="submit">Нарачај</button>
|
---|
| 28 | </form>
|
---|
| 29 | </td>
|
---|
| 30 | </tr>
|
---|
| 31 | </tbody>
|
---|
| 32 | </table>
|
---|
| 33 | </div> |
---|
Note:
See
TracBrowser
for help on using the repository browser.