Skip to content

Commit

Permalink
Merge pull request #5554 from ducredweb/bugs-fix
Browse files Browse the repository at this point in the history
[Fix] wrong value of user's phone in order view pdf (admin)
  • Loading branch information
Lu Nguyen Nhat authored Jul 4, 2022
2 parents c6a8f2a + 0f85588 commit 6698aec
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion component/admin/views/order_detail/view.pdf.php
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ function display($tpl = null)
RedshopHelperOrder::getStateName($shipping->state_code, $shipping->country_code),
$pdfTemplate
);
$pdfTemplate = str_replace("{shipping_phone}", $shipping->zipcode, $pdfTemplate);
$pdfTemplate = str_replace("{shipping_phone}", $shipping->phone, $pdfTemplate);

// If user is company than
if ($billing->is_company && $billing->company_name != "") {
Expand Down

0 comments on commit 6698aec

Please sign in to comment.