Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
S
shotengai
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
open-source
shotengai
Commits
092e5309
Commit
092e5309
authored
Sep 30, 2017
by
ivan Lan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Improve the receive column when customer create an order
parent
c8022a77
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
+3
-2
orders_controller.rb
lib/shotengai/controller/customer/orders_controller.rb
+3
-2
No files found.
lib/shotengai/controller/customer/orders_controller.rb
View file @
092e5309
...
...
@@ -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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment