update for bill
This commit is contained in:
@@ -32,7 +32,7 @@ class Api::BillController < Api::ApiController
|
|||||||
#shop detail
|
#shop detail
|
||||||
shop_details = Shop.find(1)
|
shop_details = Shop.find(1)
|
||||||
|
|
||||||
customer= Customer.where('customer_id=' + @sale_data.customer_id)
|
customer= Customer.find(@sale_data.customer_id)
|
||||||
# get member information
|
# get member information
|
||||||
member_info = Customer.get_member_account(customer)
|
member_info = Customer.get_member_account(customer)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user