-
This commit is contained in:
@@ -2,12 +2,12 @@ class Api::BillController < Api::ApiController
|
||||
|
||||
#Create invoice based on booking
|
||||
#Output and invoice
|
||||
|
||||
|
||||
def create
|
||||
@status = false
|
||||
@error_message = "Order ID or Booking ID is require to request for a bill."
|
||||
# if shift_by_terminal = ShiftSale.current_open_shift(get_cashier[0].id)
|
||||
if !ShiftSale.current_shift(@shop.shop_code).nil?
|
||||
if !ShiftSale.current_shift.nil?
|
||||
#create Bill by Booking ID
|
||||
table = 0
|
||||
if (params[:booking_id])
|
||||
|
||||
Reference in New Issue
Block a user