[baf4cc4] | 1 | <div xmlns:th="http://www.thymeleaf.org">
|
---|
| 2 |
|
---|
| 3 | <div class="container mb-4">
|
---|
| 4 | <div class="row">
|
---|
| 5 | <div class="col-12" >
|
---|
| 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>
|
---|
| 11 | <label for="dokument" >Dokument</label>
|
---|
| 12 | <input class="form-control" name="dokument" id="dokument" type="text">
|
---|
| 13 | </p>
|
---|
| 14 |
|
---|
| 15 |
|
---|
| 16 | <p>
|
---|
| 17 | <label for="telefon" >Telefon</label>
|
---|
| 18 | <input class="form-control" name="telefon" id="telefon" type="text">
|
---|
| 19 | </p>
|
---|
| 20 |
|
---|
| 21 | <p>
|
---|
| 22 | <label for="ime" >Ime</label>
|
---|
| 23 | <input class="form-control" name="ime" id="ime" type="text">
|
---|
| 24 | </p>
|
---|
| 25 |
|
---|
| 26 | <p>
|
---|
| 27 | <label for="adresa" >Adresa</label>
|
---|
| 28 | <input class="form-control" name="adresa" id="adresa" type="text">
|
---|
| 29 | </p>
|
---|
| 30 |
|
---|
| 31 |
|
---|
| 32 | <p>
|
---|
| 33 | <label for="iznos" >Iznos</label>
|
---|
| 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 |
|
---|
| 48 |
|
---|
| 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>
|
---|
| 53 | <label for="dk" >Dokument</label>
|
---|
| 54 | <input class="form-control" name="dokument" id="dk" type="text">
|
---|
| 55 | </p>
|
---|
| 56 |
|
---|
| 57 | <p>
|
---|
| 58 | <label for="iz" >Iznos</label>
|
---|
| 59 | <input class="form-control" name="iznos" id="iz" type="number">
|
---|
| 60 | </p>
|
---|
| 61 |
|
---|
| 62 | <p>
|
---|
| 63 | <label for="patnik" >Patnik</label>
|
---|
| 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 |
|
---|
| 83 | </div>
|
---|
| 84 | </div>
|
---|
| 85 | </div>
|
---|
| 86 |
|
---|
| 87 |
|
---|
| 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">
|
---|
| 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>-->
|
---|
| 128 | </td>
|
---|
| 129 | <td>
|
---|
| 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>-->
|
---|
| 136 | </td>
|
---|
| 137 | <td>
|
---|
| 138 |
|
---|
| 139 | </td>
|
---|
| 140 | </tr>
|
---|
| 141 | </tbody>
|
---|
| 142 | </table>
|
---|
| 143 | </div>
|
---|
| 144 | </div>
|
---|
| 145 |
|
---|
| 146 | </div>
|
---|
| 147 | </div>
|
---|
| 148 | </div>
|
---|
| 149 |
|
---|
| 150 |
|
---|