update seed generator and remove hard-coded customer id
This commit is contained in:
@@ -295,7 +295,7 @@ class Origami::PaymentsController < BaseOrigamiController
|
||||
|
||||
@shop = shop_detail #show shop info
|
||||
|
||||
@customer_lists = Customer.where("customer_id = 'CUS-000000000001' or customer_id = 'CUS-000000000002'")
|
||||
@customer_lists = Customer.where(name: ["WALK-IN", "TAKEAWAY"])
|
||||
|
||||
saleObj = Sale.find(sale_id)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user