edit invoice

This commit is contained in:
Nweni
2017-06-23 17:37:08 +06:30
parent 7dcc8547d6
commit 81c50f220a
8 changed files with 150 additions and 10 deletions

View File

@@ -20,8 +20,6 @@ class DiningFacility < ApplicationRecord
def get_booking
booking = self.get_current_booking
puts "is bookig?"
puts booking
if booking
if booking.dining_facility_id.to_i == self.id
if booking.booking_status == 'assign'