Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
S
syncart-3440786
Manage
Activity
Members
Labels
Plan
Custom issue tracker
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Model registry
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Issue forks
syncart-3440786
Commits
37018cb4
Commit
37018cb4
authored
3 years ago
by
Anatoly Politsin
Browse files
Options
Downloads
Patches
Plain Diff
tpl fix
parent
a9e1ca02
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
templates/commerce-order--admin.html.twig
+28
-0
28 additions, 0 deletions
templates/commerce-order--admin.html.twig
templates/commerce-order--user.html.twig
+5
-0
5 additions, 0 deletions
templates/commerce-order--user.html.twig
with
33 additions
and
0 deletions
templates/commerce-order--admin.html.twig
+
28
−
0
View file @
37018cb4
...
...
@@ -30,6 +30,11 @@
<h2>
{%
trans
%}
Order activity
{%
endtrans
%}
</h2>
{{
order.activity
}}
{%
endif
%}
{{
order
|
without
(
'order_items'
,
'total_price'
,
'activity'
,
'billing_information'
,
'billing_profile'
,
'shipping_information'
,
'order_state'
,
'completed'
,
'placed'
,
'changed'
,
'uid'
,
'mail'
,
'ip_address'
,
'state'
,
'store_id'
)
}}
</div>
<div
class=
"layout-region layout-region-order-secondary"
>
<div
class=
"entity-meta"
>
...
...
@@ -45,6 +50,20 @@
{%
endif
%}
{%
endfor
%}
</div>
<details
open
class=
"seven-details"
>
<summary
role=
"button"
class=
"seven-details__summary"
>
{{
'Extra'
|
t
}}
</summary>
<div
class=
"details-wrapper seven-details__wrapper"
>
{%
for
key
in
[
'store_id'
]
%}
{%
if
order
[
key
]
%}
<div
class=
"form-item"
>
{{
order
[
key
]
}}
</div>
{%
endif
%}
{%
endfor
%}
</div>
</details>
<details
open
class=
"seven-details"
>
<summary
role=
"button"
class=
"seven-details__summary"
>
{{
'Customer Information'
|
t
}}
...
...
@@ -68,6 +87,15 @@
{{
order.billing_information
}}
</div>
</details>
{%
else
%}
<details
open
class=
"seven-details"
>
<summary
role=
"button"
class=
"seven-details__summary"
>
{{
'Billing profile'
|
t
}}
</summary>
<div
class=
"details-wrapper seven-details__wrapper"
>
{{
order.billing_profile
}}
</div>
</details>
{%
endif
%}
{%
if
order.shipping_information
%}
<details
open
class=
"seven-details"
>
...
...
This diff is collapsed.
Click to expand it.
templates/commerce-order--user.html.twig
+
5
−
0
View file @
37018cb4
...
...
@@ -45,4 +45,9 @@
<a
class=
"btn btn--main"
href=
"/cart-repeat-order/
{{
order_entity.id
()
}}
"
>
{{
'Repeat order'
|
t
}}
</a>
</div>
{%
endif
%}
{{
order
|
without
(
'order_items'
,
'total_price'
,
'activity'
,
'billing_information'
,
'shipping_information'
,
'order_state'
,
'completed'
,
'placed'
,
'changed'
,
'uid'
,
'mail'
,
'ip_address'
,
'state'
)
}}
</div>
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment