main
Last change
on this file since e02787e 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
|
Line | |
---|
1 | <div>
|
---|
2 | <h1 th:if="${hasError}" th:text="${error}"></h1>
|
---|
3 | <div th:if="${!hasError}">
|
---|
4 | <form th:action="@{'/products'}">
|
---|
5 | <button class="btn btn-danger m-2" type="submit">Назад кон производи</button>
|
---|
6 | </form>
|
---|
7 | <h3 class="mt-3 mb-3">
|
---|
8 | Тековна нарачка за корисник : <span th:text="${order.getUser().getUsername()}"></span>
|
---|
9 | </h3>
|
---|
10 | <table class="table table-bordered">
|
---|
11 | <thead class="thead-dark">
|
---|
12 | <tr>
|
---|
13 | <th>Име</th>
|
---|
14 | <th>Производител</th>
|
---|
15 | <th>Количина</th>
|
---|
16 | <th>Вкупна цена</th>
|
---|
17 | </tr>
|
---|
18 | </thead>
|
---|
19 | <tbody>
|
---|
20 | <tr th:each="part : ${parts}">
|
---|
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 |
|
---|
26 | </tr>
|
---|
27 | </tbody>
|
---|
28 | </table>
|
---|
29 | <h3>Вкупен износ : <span th:text="${total}"></span></h3>
|
---|
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.