check tax profile

This commit is contained in:
phyusin
2018-03-19 11:35:43 +06:30
parent e55ff8b5e0
commit a9c8eb4e93
12 changed files with 61 additions and 45 deletions

View File

@@ -13,7 +13,7 @@ class Origami::RequestBillsController < ApplicationController
if check_booking.sale_id.nil?
# Create Sale if it doesn't exist
@status, @sale_id = @sale.generate_invoice_from_booking(check_booking.id,current_login_employee, current_user)
@status, @sale_id = @sale.generate_invoice_from_booking(check_booking.id,current_login_employee, current_user, order.source)
@sale_data = Sale.find_by_sale_id(@sale_id)
@sale_items = SaleItem.where("sale_id=?",@sale_id)
else