diff --git a/src/lancie-admin-rfid/lancie-admin-rfid-assign.html b/src/lancie-admin-rfid/lancie-admin-rfid-assign.html index f17faa8..5820fa9 100644 --- a/src/lancie-admin-rfid/lancie-admin-rfid-assign.html +++ b/src/lancie-admin-rfid/lancie-admin-rfid-assign.html @@ -46,6 +46,7 @@

Check in a user by scanning the RFID tag and selecting the user from the list below.

+

Check if the persons birthday is correct, they can't change it after they are checked in.

Check in @@ -54,7 +55,7 @@ @@ -133,6 +134,12 @@ this.displayColor = true; }, + getDateFormatted:function(date) { + const d = new Date(date); + const months = ["January", "February", "March", "April", "May", "June", "July", "August", "September", "October", "November", "December"]; + return `${d.getDate()} ${months[d.getMonth()]} ${d.getFullYear()}`; + }, + _filter: function(data, filterString) { if (!filterString) return data; var result = data.filter(function(ticket) {