[bde8b13] | 1 | <div xmlns:th="http://www.thymeleaf.org">
|
---|
| 2 |
|
---|
[e272096] | 3 | <div class="container mb-4">
|
---|
| 4 | <div class="row">
|
---|
| 5 | <div class="col-12" >
|
---|
[bde8b13] | 6 |
|
---|
| 7 | <form class="form-signin mt-xl-5" method="post" th:action="@{'/kontrola/{id}/kazni-neregistriran'(id=${kontrola.kontrolaId})}">
|
---|
| 8 | <h2 class="form-signin-heading">Kazna za neregirstiran</h2>
|
---|
| 9 |
|
---|
| 10 | <p>
|
---|
[e272096] | 11 | <label for="dokument" >Dokument</label>
|
---|
[bde8b13] | 12 | <input class="form-control" name="dokument" id="dokument" type="text">
|
---|
| 13 | </p>
|
---|
| 14 |
|
---|
| 15 |
|
---|
| 16 | <p>
|
---|
[e272096] | 17 | <label for="telefon" >Telefon</label>
|
---|
[bde8b13] | 18 | <input class="form-control" name="telefon" id="telefon" type="text">
|
---|
| 19 | </p>
|
---|
| 20 |
|
---|
| 21 | <p>
|
---|
[e272096] | 22 | <label for="ime" >Ime</label>
|
---|
[bde8b13] | 23 | <input class="form-control" name="ime" id="ime" type="text">
|
---|
| 24 | </p>
|
---|
| 25 |
|
---|
| 26 | <p>
|
---|
[e272096] | 27 | <label for="adresa" >Adresa</label>
|
---|
[bde8b13] | 28 | <input class="form-control" name="adresa" id="adresa" type="text">
|
---|
| 29 | </p>
|
---|
| 30 |
|
---|
| 31 |
|
---|
| 32 | <p>
|
---|
[e272096] | 33 | <label for="iznos" >Iznos</label>
|
---|
[bde8b13] | 34 | <input class="form-control" name="iznos" id="iznos" type="number">
|
---|
| 35 | </p>
|
---|
| 36 |
|
---|
| 37 |
|
---|
| 38 | <div th:if="${param.error}" th:text="${param.error}" class="text-danger"></div>
|
---|
| 39 |
|
---|
| 40 | <div class="row">
|
---|
| 41 | <div class="col-md-3">
|
---|
| 42 | <button id="submit" class="btn btn-lg btn-primary btn-block" type="submit">Kazni</button>
|
---|
| 43 | </div>
|
---|
| 44 | </div>
|
---|
| 45 | </form>
|
---|
| 46 |
|
---|
| 47 |
|
---|
[e272096] | 48 |
|
---|
[bde8b13] | 49 | <form class="form-signin mt-xl-5" method="post" th:action="@{'/kontrola/{id}/kazni-registriran'(id=${kontrola.kontrolaId})}">
|
---|
| 50 | <h2 class="form-signin-heading">Kazna za regirstiran</h2>
|
---|
| 51 |
|
---|
| 52 | <p>
|
---|
[e272096] | 53 | <label for="dk" >Dokument</label>
|
---|
[bde8b13] | 54 | <input class="form-control" name="dokument" id="dk" type="text">
|
---|
| 55 | </p>
|
---|
| 56 |
|
---|
| 57 | <p>
|
---|
[e272096] | 58 | <label for="iz" >Iznos</label>
|
---|
[bde8b13] | 59 | <input class="form-control" name="iznos" id="iz" type="number">
|
---|
| 60 | </p>
|
---|
| 61 |
|
---|
| 62 | <p>
|
---|
[e272096] | 63 | <label for="patnik" >Patnik</label>
|
---|
[bde8b13] | 64 | <select id="patnik" name="patnik" class="form-control">
|
---|
| 65 | <option th:each="patnik : ${patnici}"
|
---|
| 66 | th:value="${patnik.kId}"
|
---|
| 67 | th:text="${patnik.kIme} + ' - ' + ${patnik.kEmail}">
|
---|
| 68 |
|
---|
| 69 | </option>
|
---|
| 70 | </select>
|
---|
| 71 | </p>
|
---|
| 72 |
|
---|
| 73 |
|
---|
| 74 | <div th:if="${param.error}" th:text="${param.error}" class="text-danger"></div>
|
---|
| 75 |
|
---|
| 76 | <div class="row">
|
---|
| 77 | <div class="col-md-3">
|
---|
| 78 | <button id="sub" class="btn btn-lg btn-primary btn-block" type="submit">Kazni</button>
|
---|
| 79 | </div>
|
---|
| 80 | </div>
|
---|
| 81 | </form>
|
---|
| 82 |
|
---|
[e272096] | 83 | </div>
|
---|
| 84 | </div>
|
---|
| 85 | </div>
|
---|
| 86 |
|
---|
| 87 |
|
---|
[bde8b13] | 88 |
|
---|
| 89 |
|
---|
| 90 |
|
---|
| 91 |
|
---|
| 92 |
|
---|
| 93 |
|
---|
| 94 |
|
---|
| 95 | <div class="container mb-4">
|
---|
| 96 | <div class="row">
|
---|
| 97 | <div class="col-12" >
|
---|
| 98 | <div class="table-responsive">
|
---|
| 99 | <table class="table table-striped">
|
---|
| 100 | <thead>
|
---|
| 101 | <tr>
|
---|
| 102 | <th scope="col">#</th>
|
---|
| 103 | <th scope="col">Iznos</th>
|
---|
| 104 | <th scope="col">Plateno</th>
|
---|
| 105 | <th scope="col">Dokument</th>
|
---|
| 106 | <th scope="col"></th>
|
---|
| 107 | <th scope="col"></th>
|
---|
| 108 | <th scope="col"></th>
|
---|
| 109 | </tr>
|
---|
| 110 | </thead>
|
---|
| 111 | <tbody>
|
---|
| 112 | <tr th:each="kazna : ${kazni}" class="product">
|
---|
| 113 | <td th:text="${kazna.kzId}"></td>
|
---|
| 114 | <td th:text="${kazna.kzIznos}"></td>
|
---|
| 115 | <td th:text="${kazna.kzPlateno}"></td>
|
---|
| 116 | <td th:text="${kazna.kzDokument}"></td>
|
---|
| 117 |
|
---|
| 118 | <td class="text-right">
|
---|
[e272096] | 119 | <!-- <th:block sec:authorize="hasRole('ROLE_ADMIN')">-->
|
---|
| 120 | <!-- <form th:action="@{'/products/delete/{id}' (id=${kazna.kzId})}"-->
|
---|
| 121 | <!-- th:method="DELETE">-->
|
---|
| 122 | <!-- <button type="submit"-->
|
---|
| 123 | <!-- class="btn btn-sm btn-danger delete-product">-->
|
---|
| 124 | <!-- <i class="fas fa-trash-alt"></i> Delete-->
|
---|
| 125 | <!-- </button>-->
|
---|
| 126 | <!-- </form>-->
|
---|
| 127 | <!-- </th:block>-->
|
---|
[bde8b13] | 128 | </td>
|
---|
| 129 | <td>
|
---|
[e272096] | 130 | <!-- <th:block sec:authorize="hasRole('ROLE_ADMIN')">-->
|
---|
| 131 | <!-- <a th:href="@{'/products/edit-form/{id}' (id=${kazna.kzId})}"-->
|
---|
| 132 | <!-- class="btn btn-sm btn-info edit-product">-->
|
---|
| 133 | <!-- <i class="fas fa-edit"></i> Edit-->
|
---|
| 134 | <!-- </a>-->
|
---|
| 135 | <!-- </th:block>-->
|
---|
[bde8b13] | 136 | </td>
|
---|
| 137 | <td>
|
---|
[e272096] | 138 |
|
---|
[bde8b13] | 139 | </td>
|
---|
| 140 | </tr>
|
---|
| 141 | </tbody>
|
---|
| 142 | </table>
|
---|
| 143 | </div>
|
---|
| 144 | </div>
|
---|
| 145 |
|
---|
| 146 | </div>
|
---|
| 147 | </div>
|
---|
| 148 | </div>
|
---|
| 149 |
|
---|
| 150 |
|
---|