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
736c4a68
Commit
736c4a68
authored
7 years ago
by
ivan Lan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Improve views
parent
9ec8f4c7
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
7 additions
and
6 deletions
+7
-6
_merchant_order.json.jbuilder
...ators/templates/views/share/_merchant_order.json.jbuilder
+1
-1
_merchant_order_simple.json.jbuilder
...emplates/views/share/_merchant_order_simple.json.jbuilder
+2
-2
_order.json.jbuilder
lib/generators/templates/views/share/_order.json.jbuilder
+2
-1
_order_simple.json.jbuilder
...erators/templates/views/share/_order_simple.json.jbuilder
+2
-2
No files found.
lib/generators/templates/views/share/_merchant_order.json.jbuilder
View file @
736c4a68
...
...
@@ -3,5 +3,5 @@ json.extract! order, :id, :seq, :address,
:pay_time, :delivery_time, :receipt_time,
:delivery_way, :delivery_cost,
:merchant_remark, :mark, :customer_remark,
:status, :status_zh, :meta
:status, :status_zh, :meta
, :created_at
json.snapshots order.snapshots, partial: 'shotengai/share/snapshot_simple', as: :snapshot
This diff is collapsed.
Click to expand it.
lib/generators/templates/views/share/_merchant_order_simple.json.jbuilder
View file @
736c4a68
...
...
@@ -3,4 +3,4 @@ json.extract! order, :id, :seq, :address,
:pay_time, :delivery_time, :receipt_time,
:delivery_way, :delivery_cost,
:merchant_remark, :mark, :customer_remark,
:status, :status_zh, :meta
\ No newline at end of file
:status, :status_zh, :meta, :created_at
\ No newline at end of file
This diff is collapsed.
Click to expand it.
lib/generators/templates/views/share/_order.json.jbuilder
View file @
736c4a68
...
...
@@ -2,5 +2,5 @@ json.extract! order, :id, :seq, :total_price, :total_original_price,
:status_zh, :address,
:pay_time, :delivery_time, :receipt_time,
:delivery_way, :delivery_cost, :customer_remark,
:status, :status_zh, :meta
:status, :status_zh, :meta
, :created_at
json.snapshots order.snapshots, partial: 'shotengai/share/snapshot_simple', as: :snapshot
\ No newline at end of file
This diff is collapsed.
Click to expand it.
lib/generators/templates/views/share/_order_simple.json.jbuilder
View file @
736c4a68
...
...
@@ -2,4 +2,4 @@ json.extract! order, :id, :seq, :address,
:total_price, :total_original_price,
:pay_time, :delivery_time, :receipt_time,
:delivery_way, :delivery_cost, :customer_remark,
:status, :status_zh, :meta
\ No newline at end of file
:status, :status_zh, :meta, :created_at
\ No newline at end of file
This diff is collapsed.
Click to expand it.
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