crm customer chagnes
This commit is contained in:
@@ -70,8 +70,8 @@ class Crm::CustomersController < BaseCrmController
|
||||
# GET /crm/customers/1
|
||||
# GET /crm/customers/1.json
|
||||
def show
|
||||
@orders = Order.where("customer_id=?", params[:id])
|
||||
@sales = Sale.where("customer_id=?", params[:id])
|
||||
@orders = Order.where("customer_id=?", params[:id]).limit(20)
|
||||
@sales = Sale.where("customer_id=?", params[:id]).limit(20)
|
||||
|
||||
if @orders
|
||||
@order_items = []
|
||||
|
||||
Reference in New Issue
Block a user