Fix public virtual card

This commit is contained in:
Laurent Destailleur 2023-04-19 23:42:05 +02:00
parent ce283b6546
commit 998b2b263e

View File

@ -269,12 +269,7 @@ if ($showbarcode) {
}
// Me
// Show photo
if ($urllogo) {
print '<img class="userphotopublicvcard" id="dolpaymentlogo" src="'.$urllogofull.'">';
}
// Me section
$usersection = '';
@ -325,6 +320,11 @@ if (!empty($object->socialnetworks) && is_array($object->socialnetworks) && coun
}
if ($usersection) {
// Show photo
if ($urllogo) {
print '<img class="userphotopublicvcard" id="dolpaymentlogo" src="'.$urllogofull.'">';
}
print '<table id="dolpaymenttable" summary="Job position offer" class="center">'."\n";
// Output payment summary form
@ -340,6 +340,11 @@ if ($usersection) {
print '</td></tr>'."\n";
print '</table>'."\n";
} else {
// Show photo
if ($urllogo) {
print '<br><center><img class="userphotopublicvcard" style="position: unset !important;" id="dolpaymentlogo" src="'.$urllogofull.'"></center>';
}
}