check dining facility in transactions

This commit is contained in:
phyusin
2018-03-05 16:58:11 +06:30
parent 311bef4411
commit 8dbe7e20c4
4 changed files with 4 additions and 4 deletions

View File

@@ -46,7 +46,7 @@
<tr>
<td><%= @booking.booking_id%></td>
<td><%= link_to @booking.sale_id, transactions_sale_path(booking.sale_id) rescue '-' %></td>
<td><%= @booking.dining_facility.name %></td>
<td><%= @booking.dining_facility.name rescue '' %></td>
<td><%= @booking.checkin_at.utc.getlocal.strftime("%I:%M %p") %></td>
<td><%= @booking.checkout_at.utc.getlocal.strftime("%I:%M %p") rescue '-' %></td>
<td><%= @booking.checkin_by rescue '-' %></td>