diff --git a/app/views/transactions/bookings/index.html.erb b/app/views/transactions/bookings/index.html.erb
index 7c587d32..463ab27c 100755
--- a/app/views/transactions/bookings/index.html.erb
+++ b/app/views/transactions/bookings/index.html.erb
@@ -64,7 +64,7 @@
| <%= link_to booking.booking_id, transactions_booking_path(booking) %> |
<%= link_to booking.sale_id, transactions_sale_path(booking.sale_id) rescue '-' %> |
- <%= booking.dining_facility.name %> |
+ <%= booking.dining_facility.name rescue '' %> |
<%= booking.checkin_at.utc.getlocal.strftime("%I:%M %p") %> |
<%= booking.checkout_at.utc.getlocal.strftime("%I:%M %p") rescue '-' %> |
<%= booking.checkin_by rescue '-' %> |
diff --git a/app/views/transactions/bookings/show.html.erb b/app/views/transactions/bookings/show.html.erb
index 06668d5e..67065b1c 100755
--- a/app/views/transactions/bookings/show.html.erb
+++ b/app/views/transactions/bookings/show.html.erb
@@ -46,7 +46,7 @@
| <%= @booking.booking_id%> |
<%= link_to @booking.sale_id, transactions_sale_path(booking.sale_id) rescue '-' %> |
- <%= @booking.dining_facility.name %> |
+ <%= @booking.dining_facility.name rescue '' %> |
<%= @booking.checkin_at.utc.getlocal.strftime("%I:%M %p") %> |
<%= @booking.checkout_at.utc.getlocal.strftime("%I:%M %p") rescue '-' %> |
<%= @booking.checkin_by rescue '-' %> |
diff --git a/app/views/transactions/orders/index.html.erb b/app/views/transactions/orders/index.html.erb
index 2fdef7bf..41aa63e6 100755
--- a/app/views/transactions/orders/index.html.erb
+++ b/app/views/transactions/orders/index.html.erb
@@ -66,7 +66,7 @@
| <%= link_to order.order_id, transactions_order_path(order) %> |
- <%= @dining.type %>-<%= @dining.name %> |
+ <%if !@dining.nil? %> <%= @dining.type %>-<%= @dining.name %> <% else %> <% end %> |
<%= order.waiters %> |
<%= order.order_type %> |
<%= order.customer.name rescue '-' %> |
diff --git a/app/views/transactions/orders/show.html.erb b/app/views/transactions/orders/show.html.erb
index 0a487437..1d260383 100755
--- a/app/views/transactions/orders/show.html.erb
+++ b/app/views/transactions/orders/show.html.erb
@@ -29,7 +29,7 @@
- | <%= @dining.type %>-<%= @dining.name %> |
+ <%if !@dining.nil? %> <%= @dining.type %>-<%= @dining.name %> <% else %> <% end %> |
<%= @order.waiters rescue '-' %> |
<%= @order.order_type %> |
<%= @order.customer.name rescue '-' %> |