[bde8b13] | 1 | <div xmlns:th="http://www.thymeleaf.org">
|
---|
[e272096] | 2 |
|
---|
[bde8b13] | 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>
|
---|
[e272096] | 13 | <th scope="col">Datum</th>
|
---|
[bde8b13] | 14 | <th scope="col">Plateno</th>
|
---|
[e272096] | 15 | <th scope="col">Datum plateno</th>
|
---|
[bde8b13] | 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>
|
---|
[e272096] | 26 | <td th:text="${kazna.kzDatum}"></td>
|
---|
[bde8b13] | 27 | <td th:text="${kazna.kzPlateno}"></td>
|
---|
[e272096] | 28 | <td th:text="${kazna.kzDatumPlateno}"></td>
|
---|
[bde8b13] | 29 | <td th:text="${kazna.kzDokument}"></td>
|
---|
| 30 |
|
---|
| 31 | <td class="text-right">
|
---|
[e272096] | 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>-->
|
---|
[bde8b13] | 41 | </td>
|
---|
| 42 | <td>
|
---|
[e272096] | 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>-->
|
---|
[bde8b13] | 49 | </td>
|
---|
| 50 | <td>
|
---|
[e272096] | 51 | <form th:action="@{'/kazna/{id}/pay' (id=${kazna.kzId})}"
|
---|
[bde8b13] | 52 | th:method="POST">
|
---|
| 53 | <button type="submit" class="btn btn-sm btn-success add-to-cart">
|
---|
[e272096] | 54 | Pay
|
---|
[bde8b13] | 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 |
|
---|