Commit 092e5309 by ivan Lan

Improve the receive column when customer create an order

parent c8022a77
......@@ -40,14 +40,15 @@ module Shotengai
private
def resource_params
params[resource_key] && params.require(resource_key).permit(
:address, :customer_remark,
:address, :customer_remark, :need_express, :
incr_snapshot_ids: [], gone_snapshot_ids: []
)
end
def snapshot_params
params[:snapshot] && params.require(:snapshot).permit(
:shotengai_series_id, :count
:shotengai_series_id, :count,
:delivery_way, :delivery_cost, :customer_remark,
)
end
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment