Skip to content

Commit 7d3c0a2

Browse files
committed
Add phone
1 parent ae4e7ef commit 7d3c0a2

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

myaccount/tpl/mycustomerinstances.tpl.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -251,6 +251,7 @@
251251
// Customer (link to login on customer dashboard)
252252
print '<span class="opacitymedium">'.$langs->trans("Customer").' : </span>'.$tmpcustomer->name;
253253
print ' &nbsp; - &nbsp; '.dol_print_email($tmpcustomer->email, 0, 0, 1, 0, 1, 1);
254+
print ' &nbsp; - &nbsp; '.dol_print_phone($tmpcustomer->phone, $tmpcustomer->country_code, 0, $tmpcustomer->id, '', '&nbsp;', 'phone');
254255
// Add link to login to dashboard with customer account
255256
/*
256257
$dol_login_hash = dol_hash(getDolGlobalString('SELLYOURSAAS_KEYFORHASH') . $tmpcustomer->email.dol_print_date(dol_now(), 'dayrfc'), 5); // hash is valid one hour

myaccount/tpl/mymodulecustomerinstances.tpl.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -255,6 +255,7 @@
255255
// Customer (link to login on customer dashboard)
256256
print '<span class="opacitymedium">'.$langs->trans("Customer").' : </span>'.$tmpcustomer->name;
257257
print ' &nbsp; - &nbsp; '.dol_print_email($tmpcustomer->email, 0, 0, 1, 0, 1, 1);
258+
print ' &nbsp; - &nbsp; '.dol_print_phone($tmpcustomer->phone, $tmpcustomer->country_code, 0, $tmpcustomer->id, '', '&nbsp;', 'phone');
258259
print '<br>';
259260

260261
// URL

0 commit comments

Comments
 (0)