1 | <div xmlns:th="http://www.thymeleaf.org">
|
---|
2 |
|
---|
3 |
|
---|
4 | <div class="container mb-4">
|
---|
5 | <div class="row">
|
---|
6 | <div class="col-12" >
|
---|
7 | <div class="table-responsive">
|
---|
8 | <table class="table table-striped">
|
---|
9 | <thead>
|
---|
10 | <tr>
|
---|
11 | <th scope="col">#</th>
|
---|
12 | <th scope="col">Iznos</th>
|
---|
13 | <th scope="col">Datum</th>
|
---|
14 | <th scope="col">Plateno</th>
|
---|
15 | <th scope="col">Datum plateno</th>
|
---|
16 | <th scope="col">Dokument</th>
|
---|
17 | <th scope="col"></th>
|
---|
18 | <th scope="col"></th>
|
---|
19 | <th scope="col"></th>
|
---|
20 | </tr>
|
---|
21 | </thead>
|
---|
22 | <tbody>
|
---|
23 | <tr th:each="kazna : ${kazni}" class="product">
|
---|
24 | <td th:text="${kazna.kzId}"></td>
|
---|
25 | <td th:text="${kazna.kzIznos}"></td>
|
---|
26 | <td th:text="${kazna.kzDatum}"></td>
|
---|
27 | <td th:text="${kazna.kzPlateno}"></td>
|
---|
28 | <td th:text="${kazna.kzDatumPlateno}"></td>
|
---|
29 | <td th:text="${kazna.kzDokument}"></td>
|
---|
30 |
|
---|
31 | <td class="text-right">
|
---|
32 | <!-- <th:block sec:authorize="hasRole('ROLE_ADMIN')">-->
|
---|
33 | <!-- <form th:action="@{'/products/delete/{id}' (id=${kazna.kzId})}"-->
|
---|
34 | <!-- th:method="DELETE">-->
|
---|
35 | <!-- <button type="submit"-->
|
---|
36 | <!-- class="btn btn-sm btn-danger delete-product">-->
|
---|
37 | <!-- <i class="fas fa-trash-alt"></i> Delete-->
|
---|
38 | <!-- </button>-->
|
---|
39 | <!-- </form>-->
|
---|
40 | <!-- </th:block>-->
|
---|
41 | </td>
|
---|
42 | <td>
|
---|
43 | <!-- <th:block sec:authorize="hasRole('ROLE_ADMIN')">-->
|
---|
44 | <!-- <a th:href="@{'/products/edit-form/{id}' (id=${kazna.kzId})}"-->
|
---|
45 | <!-- class="btn btn-sm btn-info edit-product">-->
|
---|
46 | <!-- <i class="fas fa-edit"></i> Edit-->
|
---|
47 | <!-- </a>-->
|
---|
48 | <!-- </th:block>-->
|
---|
49 | </td>
|
---|
50 | <td>
|
---|
51 | <form th:action="@{'/kazna/{id}/pay' (id=${kazna.kzId})}"
|
---|
52 | th:method="POST">
|
---|
53 | <button type="submit" class="btn btn-sm btn-success add-to-cart">
|
---|
54 | Pay
|
---|
55 | </button>
|
---|
56 | </form>
|
---|
57 | </td>
|
---|
58 | </tr>
|
---|
59 | </tbody>
|
---|
60 | </table>
|
---|
61 | </div>
|
---|
62 | </div>
|
---|
63 | <div class="col mb-3">
|
---|
64 | <div class="row">
|
---|
65 | <div class="col-sm-12 col-md-12">
|
---|
66 | <a href="/bilet/kupi" class="btn btn-block btn-dark add-product-btn">
|
---|
67 | Kupi bilet
|
---|
68 | </a>
|
---|
69 | </div>
|
---|
70 | </div>
|
---|
71 | </div>
|
---|
72 | </div>
|
---|
73 | </div>
|
---|
74 | </div>
|
---|
75 |
|
---|
76 |
|
---|