main
Last change
on this file was c79897f, checked in by andrejtodorovski <82031894+andrejtodorovski@…>, 21 months ago |
Sredeni zabeleshki po diskusii
|
-
Property mode
set to
100644
|
File size:
1.3 KB
|
Rev | Line | |
---|
[7d43957] | 1 | <div>
|
---|
| 2 | <h1 th:if="${hasError}" th:text="${error}"></h1>
|
---|
| 3 | <div th:if="${!hasError}">
|
---|
[c79897f] | 4 | <form th:action="@{'/products'}">
|
---|
| 5 | <button class="btn btn-danger m-2" type="submit">Назад кон производи</button>
|
---|
| 6 | </form>
|
---|
[cab5859] | 7 | <h3 class="mt-3 mb-3">
|
---|
[89865ae] | 8 | Тековна нарачка за корисник : <span th:text="${order.getUser().getUsername()}"></span>
|
---|
[cab5859] | 9 | </h3>
|
---|
| 10 | <table class="table table-bordered">
|
---|
| 11 | <thead class="thead-dark">
|
---|
[7d43957] | 12 | <tr>
|
---|
[89865ae] | 13 | <th>Име</th>
|
---|
| 14 | <th>Производител</th>
|
---|
| 15 | <th>Количина</th>
|
---|
| 16 | <th>Вкупна цена</th>
|
---|
[7d43957] | 17 | </tr>
|
---|
| 18 | </thead>
|
---|
| 19 | <tbody>
|
---|
| 20 | <tr th:each="part : ${parts}">
|
---|
[89865ae] | 21 | <td th:text="${part.getPartName()}"></td>
|
---|
| 22 | <td th:text="${part.getManufacturerName()}"></td>
|
---|
| 23 | <td th:text="${part.getQuantity()}"></td>
|
---|
| 24 | <td th:text="${part.getPrice()}"></td>
|
---|
| 25 |
|
---|
[7d43957] | 26 | </tr>
|
---|
| 27 | </tbody>
|
---|
| 28 | </table>
|
---|
[89865ae] | 29 | <h3>Вкупен износ : <span th:text="${total}"></span></h3>
|
---|
[7d43957] | 30 | <form th:action="@{'/part/delivery/'}">
|
---|
| 31 | <button class="btn btn-primary btn-block btn-lg" type="submit">Испрати нарачка</button>
|
---|
| 32 | </form>
|
---|
| 33 | </div>
|
---|
| 34 | </div>
|
---|
Note:
See
TracBrowser
for help on using the repository browser.