New: Add date approve into log view.
This commit is contained in:
parent
48542b8625
commit
9e0cd530bc
@ -121,7 +121,7 @@ function dol_print_object_info($object)
|
|||||||
print '<br>';
|
print '<br>';
|
||||||
}
|
}
|
||||||
|
|
||||||
// Date
|
// Date creation
|
||||||
if (isset($object->date_creation))
|
if (isset($object->date_creation))
|
||||||
print $langs->trans("DateCreation")." : " . dol_print_date($object->date_creation,"dayhourtext") . '<br>';
|
print $langs->trans("DateCreation")." : " . dol_print_date($object->date_creation,"dayhourtext") . '<br>';
|
||||||
|
|
||||||
@ -142,7 +142,7 @@ function dol_print_object_info($object)
|
|||||||
print '<br>';
|
print '<br>';
|
||||||
}
|
}
|
||||||
|
|
||||||
// Date
|
// Date change
|
||||||
if (isset($object->date_modification))
|
if (isset($object->date_modification))
|
||||||
print $langs->trans("DateLastModification")." : " . dol_print_date($object->date_modification,"dayhourtext") . '<br>';
|
print $langs->trans("DateLastModification")." : " . dol_print_date($object->date_modification,"dayhourtext") . '<br>';
|
||||||
|
|
||||||
@ -163,10 +163,31 @@ function dol_print_object_info($object)
|
|||||||
print '<br>';
|
print '<br>';
|
||||||
}
|
}
|
||||||
|
|
||||||
// Date
|
// Date validation
|
||||||
if (isset($object->date_validation))
|
if (isset($object->date_validation))
|
||||||
print $langs->trans("DateValidation")." : " . dol_print_date($object->date_validation,"dayhourtext") . '<br>';
|
print $langs->trans("DateValidation")." : " . dol_print_date($object->date_validation,"dayhourtext") . '<br>';
|
||||||
|
|
||||||
|
// User approve
|
||||||
|
if (isset($object->user_approve))
|
||||||
|
{
|
||||||
|
print $langs->trans("ApprovedBy")." : ";
|
||||||
|
if (is_object($object->user_approve))
|
||||||
|
{
|
||||||
|
print $object->user_approve->getNomUrl(1);
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
$userstatic=new User($db);
|
||||||
|
$userstatic->fetch($object->user_approve);
|
||||||
|
print $userstatic->getNomUrl(1);
|
||||||
|
}
|
||||||
|
print '<br>';
|
||||||
|
}
|
||||||
|
|
||||||
|
// Date approve
|
||||||
|
if (isset($object->date_approve))
|
||||||
|
print $langs->trans("DateApprove")." : " . dol_print_date($object->date_approve,"dayhourtext") . '<br>';
|
||||||
|
|
||||||
// User close
|
// User close
|
||||||
if (isset($object->user_cloture))
|
if (isset($object->user_cloture))
|
||||||
{
|
{
|
||||||
@ -184,7 +205,7 @@ function dol_print_object_info($object)
|
|||||||
print '<br>';
|
print '<br>';
|
||||||
}
|
}
|
||||||
|
|
||||||
// Date
|
// Date close
|
||||||
if (isset($object->date_cloture))
|
if (isset($object->date_cloture))
|
||||||
print $langs->trans("DateClosing")." : " . dol_print_date($object->date_cloture,"dayhourtext") . '<br>';
|
print $langs->trans("DateClosing")." : " . dol_print_date($object->date_cloture,"dayhourtext") . '<br>';
|
||||||
|
|
||||||
@ -205,7 +226,7 @@ function dol_print_object_info($object)
|
|||||||
print '<br>';
|
print '<br>';
|
||||||
}
|
}
|
||||||
|
|
||||||
// Date
|
// Date conciliate
|
||||||
if (isset($object->date_rappro))
|
if (isset($object->date_rappro))
|
||||||
print $langs->trans("DateConciliating")." : " . dol_print_date($object->date_rappro,"dayhourtext") . '<br>';
|
print $langs->trans("DateConciliating")." : " . dol_print_date($object->date_rappro,"dayhourtext") . '<br>';
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user