Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
commerce
Manage
Activity
Members
Labels
Plan
Wiki
Custom issue tracker
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
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
project
commerce
Commits
796a8689
Commit
796a8689
authored
1 year ago
by
Jonathan Sacksick
Browse files
Options
Downloads
Patches
Plain Diff
Issue
#2924159
followup by jsacksick: Properly access the profile view builder.
parent
cfeb17b7
No related branches found
Branches containing commit
No related tags found
2 merge requests
!235
Issue #3115150 by mbovan: Submitting add to cart form with empty quantity...
,
!205
Issue #3349465 by tBKoT, jsacksick, bojanz: Update several VAT rates and setup...
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
modules/order/src/Mail/OrderReceiptMail.php
+1
-1
1 addition, 1 deletion
modules/order/src/Mail/OrderReceiptMail.php
with
1 addition
and
1 deletion
modules/order/src/Mail/OrderReceiptMail.php
+
1
−
1
View file @
796a8689
...
...
@@ -58,7 +58,7 @@ class OrderReceiptMail implements OrderReceiptMailInterface {
];
if
(
$billing_profile
=
$order
->
getBillingProfile
())
{
$profile_view_builder
=
$this
->
entityTypeManager
->
getViewBuilder
(
'profile'
);
$body
[
'#billing_information'
]
=
$
this
->
profile
V
iew
B
uilder
->
view
(
$billing_profile
);
$body
[
'#billing_information'
]
=
$profile
_v
iew
_b
uilder
->
view
(
$billing_profile
);
}
$params
=
[
...
...
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