update for bill

This commit is contained in:
superuser
2017-06-27 12:11:07 +06:30
parent c743fac296
commit e85f22fb79

View File

@@ -32,7 +32,7 @@ class Api::BillController < Api::ApiController
#shop detail
shop_details = Shop.find(1)
customer= Customer.where('customer_id=' + @sale_data.customer_id)
customer= Customer.find(@sale_data.customer_id)
# get member information
member_info = Customer.get_member_account(customer)