Skip to content
Snippets Groups Projects
Verified Commit a6369419 authored by Alex ORLUC's avatar Alex ORLUC
Browse files

FIX #8788 fix display sign/visa date

parent 34cf50ea
No related branches found
No related tags found
No related merge requests found
...@@ -950,10 +950,11 @@ abstract class visa_Abstract extends Database ...@@ -950,10 +950,11 @@ abstract class visa_Abstract extends Database
} else { } else {
$vised = ' vised'; $vised = ' vised';
$link_vis = 'check'; $link_vis = 'check';
if (!empty($info_userVis['signatory'])) {
if (!empty($info_userSign['signatory'])) {
$info_vised = '<br/><sub>signé le : '.functions::format_date_db($info_userSign['process_date'], '', '', true).'</sub>'; $info_vised = '<br/><sub>signé le : '.functions::format_date_db($info_userSign['process_date'], '', '', true).'</sub>';
$info_vised = '<br/><select id="signRequest_'.$i.'" style="width:auto;display:none;" '.$isAllAttachementSigned; $info_vised .= '<br/><select id="signRequest_'.$i.'" style="width:auto;display:none;" '.$isAllAttachementSigned;
$info_vised .= ' disabled="disabled" '; $info_vised .= ' disabled="disabled" ';
$info_vised .= '>'; $info_vised .= '>';
$info_vised .= '<option value="false">'._VISA_USER_SEARCH.'</option>'; $info_vised .= '<option value="false">'._VISA_USER_SEARCH.'</option>';
...@@ -964,7 +965,7 @@ abstract class visa_Abstract extends Database ...@@ -964,7 +965,7 @@ abstract class visa_Abstract extends Database
} else { } else {
$info_vised = '<br/><sub>visé le : '.functions::format_date_db($info_userSign['process_date'], '', '', true).'</sub>'; $info_vised = '<br/><sub>visé le : '.functions::format_date_db($info_userSign['process_date'], '', '', true).'</sub>';
$info_vised = '<br/><select id="signRequest_'.$i.'" style="width:auto;display:none;" '.$isAllAttachementSigned; $info_vised .= '<br/><select id="signRequest_'.$i.'" style="width:auto;display:none;" '.$isAllAttachementSigned;
$info_vised .= ' disabled="disabled" '; $info_vised .= ' disabled="disabled" ';
$info_vised .= '>'; $info_vised .= '>';
$info_vised .= '<option value="false" selected="selected">'._VISA_USER_SEARCH.'</option>'; $info_vised .= '<option value="false" selected="selected">'._VISA_USER_SEARCH.'</option>';
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment