Skip to content

Commit

Permalink
fix wrong value of user's phone in order view pdf (admin)
Browse files Browse the repository at this point in the history
  • Loading branch information
ducredweb committed Mar 9, 2021
1 parent cf985ce commit 0f85588
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 0f85588

Please sign in to comment.