Ignore:
Timestamp:
02/10/23 01:18:53 (21 months ago)
Author:
DenicaKj <dkorvezir@…>
Branches:
master
Children:
7926d68
Parents:
01a1ca6
Message:

added rating

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/main/resources/templates/myTickets.html

    r01a1ca6 r73f0dbc  
    5454                        <form th:action="@{'/home/getSeats/{id}' (id=${ticket.id_ticket})}"
    5555                              th:method="GET">
    56                             <--button th:if="${ticket.projection.date_time_start != null and ticket.projection.date_time_start.isBefore(java.time.LocalDate.now())}" class="button" type="submit">Откажи</--button>
     56                            <--button th:if="${ticket.projection.date_time_start != null and #dates.isBefore(java.time.LocalDateTime.of(ticket.projection.date_time_start, java.time.LocalTime.MIN).toInstant(java.time.ZoneOffset.UTC).toEpochMilli(), java.util.Date.from(java.time.LocalDate.now().atStartOfDay(java.time.ZoneId.systemDefault()).toInstant()).getTime())}" class="button" type="submit">Откажи</--button>
    5757                        </form>
    5858
Note: See TracChangeset for help on using the changeset viewer.