better line desc
This commit is contained in:
parent
009fa41762
commit
673852c739
@ -464,7 +464,12 @@ if ($action == 'confirm_generateinvoice') {
|
||||
$arrayoftasks[$object->timespent_id]['totalvaluetodivideby3600'] = $object->timespent_duration * $object->timespent_thm;
|
||||
$arrayoftasks[$object->timespent_id]['note'] = $ftask->ref.' - '.$ftask->label.' - '.$username.($object->timespent_note ? ' - '.$object->timespent_note : ''); // TODO Add user name in note
|
||||
if (!empty($withdetail)) {
|
||||
$arrayoftasks[$object->timespent_id]['note'] .= "\n";
|
||||
if (!empty($conf->fckeditor->enabled) && !empty($conf->global->FCKEDITOR_ENABLE_DETAILS)) {
|
||||
$arrayoftasks[$object->timespent_id]['note'] .= "<br/>";
|
||||
} else {
|
||||
$arrayoftasks[$object->timespent_id]['note'] .= "\n";
|
||||
}
|
||||
|
||||
if (!empty($object->timespent_withhour)) {
|
||||
$arrayoftasks[$object->timespent_id]['note'] .= $langs->trans("Date") . ': ' . dol_print_date($object->timespent_datehour);
|
||||
} else {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user