Skip to content

Commit

Permalink
fix check-in UI
Browse files Browse the repository at this point in the history
  • Loading branch information
cbellone committed Aug 1, 2024
1 parent df4cf56 commit a38e066
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ <h4><i class="fa fa-info-circle"></i> Scan tickets for event <i>{{event.displayN
<td data-ng-class-even="'active'" data-label="Holder's name">{{::ticket.fullName}}</td>
<td data-ng-class-even="'active'" data-label="Holder's e-mail">{{::ticket.email}}</td>
<td data-ng-class-even="'active'" data-label="Type">{{::ticket.ticketCategory.name | limitTo:10}}{{::ticket.ticketCategory.name.length > 10 ? '...':''}}</td>
<td data-ng-class-even="'active'" data-label="Reference Number"><button ng-click="showReservationModal(event, ticket)" class="btn btn-xs btn-link">{{::ticket.uuid | limitTo:8}}</button></td>
<td data-ng-class-even="'active'" data-label="Reference Number"><button ng-click="showReservationModal(event, ticket)" class="btn btn-xs btn-link">{{::ticket.publicUuid | limitTo:8}}</button></td>
<td data-ng-class-even="'active'" data-ng-if="!event.freeOfCharge" data-label="Payment Type">{{::ticket.ticketReservation.paymentMethod}}</td>
<td data-ng-class-even="'active'" data-label="Display QR-Code"><button type="button" class="btn btn-primary btn-xs" data-ng-click="showQrCode(ticket, event)"><i class="fa fa-qrcode"></i> QR-Code</button></td>
<td data-ng-class-even="'active'" data-label="Manual Check-In"><button type="button" class="btn btn-primary btn-xs" data-ng-click="manualCheckIn(ticket)"><i class="fa fa-check"></i> Check-In</button></td>
Expand Down Expand Up @@ -123,7 +123,7 @@ <h4><i class="fa fa-info-circle"></i> Scan tickets for event <i>{{event.displayN
<td data-ng-class-even="'active'" data-label="Owner's last name" ng-show="event.useFirstAndLastName">{{::ticket.lastName}}</td>
<td data-ng-class-even="'active'" data-label="Owner's e-mail">{{::ticket.email}}</td>
<td data-ng-class-even="'active'" data-label="Type">{{::ticket.ticketCategory.name}}</td>
<td data-ng-class-even="'active'" data-label="Reference Number"><button ng-click="showReservationModal(event, ticket)" class="btn btn-xs btn-link">{{::ticket.uuid}}</button></td>
<td data-ng-class-even="'active'" data-label="Reference Number"><button ng-click="showReservationModal(event, ticket)" class="btn btn-xs btn-link">{{::ticket.publicUuid | limitTo:8}}</button></td>
<td data-ng-class-even="'active'" data-label="Customer's name">{{::ticket.ticketReservation.fullName}}</td>
<td data-ng-class-even="'active'" data-label="Customer's e-mail">{{::ticket.ticketReservation.email}}</td>
<td data-ng-class-even="'active'" data-label="Order identifier">{{::ticket.ticketsReservationId}}</td>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<div class="modal-header"><h3 class="text-center">{{ctrl.ticket.fullName}}</h3></div>
<div class="modal-body" ng-if="ctrl.ticket">
<img class="img-responsive center-block" ng-src="/event/{{ctrl.event.shortName}}/ticket/{{ctrl.ticket.uuid}}/code.png">
<img class="img-responsive center-block" ng-src="/event/{{ctrl.event.shortName}}/ticket/{{ctrl.ticket.publicUuid}}/code.png">
</div>
<div class="modal-footer">
<button class="btn btn-warning btn-lg pull-right" ng-click="ctrl.close()">Close</button>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1765,7 +1765,7 @@

var filter = function(ticket) {
return ticket.eventId === eventId && (!query || query === '' ||
([ticket.fullName, ticket.email, ticket.ticketCategory.name, ticket.uuid, ticket.ticketsReservationId, ticket.extReference].join('/')).toLowerCase().indexOf(query.toLowerCase()) > -1);
([ticket.fullName, ticket.email, ticket.ticketCategory.name, ticket.uuid, ticket.publicUuid, ticket.ticketsReservationId, ticket.extReference].join('/')).toLowerCase().indexOf(query.toLowerCase()) > -1);
};

var deferred1 = $q.defer();
Expand Down
2 changes: 1 addition & 1 deletion src/main/webapp/alfio-admin-v1/js/admin/service/service.js
Original file line number Diff line number Diff line change
Expand Up @@ -461,7 +461,7 @@
},

createAdditionalService: function(eventId, additionalService) {
return $http.post('/admin/api/event/'+eventId+'/additional-services/', additionalService).error(HttpErrorHandler.handle);
return $http.post('/admin/api/event/'+eventId+'/additional-services', additionalService).error(HttpErrorHandler.handle);
},

updateEventMetadata: function(eventName, metadata) {
Expand Down

0 comments on commit a38e066

Please sign in to comment.