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