| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657 |
- <!DOCTYPE html>
- <html lang="en" xmlns:th="http://www.thymeleaf.org">
- <head th:replace="~{fragments/head :: head}">
- <meta charset="UTF-8">
- <title>Too Easy</title>
- </head>
- <body>
- <div th:replace="~{layout}">
- <div th:fragment="content">
- <section>
- <div class="container p-4 shadow bg-white rounded">
- <div class="d-flex align-items-center justify-content-between mb-4">
- <h1 class="mb-4" th:text="${titlePage}"></h1>
- <a th:href="@{/cpr/contract}" type="button" class="btn btn-outline-dark" title="Novo">
- <i class="bi bi-plus-square"></i>
- </a>
- </div>
- <table class="table table-hover">
- <thead>
- <tr>
- <th>Código</th>
- <th>Código Contrato</th>
- <th>Natureza de Operação</th>
- <th>Data Transação</th>
- <th>Valor Liquido Contrato</th>
- <th>Valor Total Contrato</th>
- <th>Ações</th>
- </tr>
- </thead>
- <tbody>
- <tr th:each="object : ${cprContracts}">
- <td th:text="${object.id}">0</td>
- <td th:text="${object.codigoContratoOperacaoCredito}">0</td>
- <td th:text="${object.naturezaOperacao}">0</td>
- <td th:text="${#temporals.format(object.dataTransacao, 'dd/MM/yyyy')}">0</td>
- <td th:text="${object.valorLiquidoCredito}">0</td>
- <td th:text="${object.valorTotalCredito}">0</td>
- <td>
- <a th:href="@{'/cpr/contract/edit/' + ${object.id}}" type="button" class="btn btn-outline-dark"
- title="Editar">
- <i class="bi bi-pencil-square"></i>
- </a>
- <a th:href="@{'/cpr/contract/remove/' + ${object.id}}" type="button" class="btn btn-outline-dark"
- title="Remover">
- <i class="bi bi-dash-square"></i>
- </a>
- </td>
- </tr>
- </tbody>
- </table>
- </div>
- </section>
- </div>
- </div>
- </body>
- </html>
|