Fixing style errors.
This commit is contained in:
parent
9313aabd5c
commit
1de640242f
@ -827,13 +827,13 @@ foreach ($listofreferent as $key => $value)
|
||||
else print $langs->trans("ThirdParty");
|
||||
print '</td>';
|
||||
// Duration of intervention
|
||||
if($tablename == 'fichinter')
|
||||
if($tablename == 'fichinter')
|
||||
{
|
||||
print '<td>';
|
||||
print $langs->trans("TotalDuration");
|
||||
$total_duration = 0;
|
||||
print '</td>';
|
||||
}
|
||||
print '<td>';
|
||||
print $langs->trans("TotalDuration");
|
||||
$total_duration = 0;
|
||||
print '</td>';
|
||||
}
|
||||
// Amount HT
|
||||
//if (empty($value['disableamount']) && ! in_array($tablename, array('projet_task'))) print '<td class="right" width="120">'.$langs->trans("AmountHT").'</td>';
|
||||
//elseif (empty($value['disableamount']) && in_array($tablename, array('projet_task'))) print '<td class="right" width="120">'.$langs->trans("Amount").'</td>';
|
||||
@ -1032,14 +1032,14 @@ foreach ($listofreferent as $key => $value)
|
||||
}
|
||||
print '</td>';
|
||||
|
||||
// Add duration and store it in counter for fichinter
|
||||
if($tablename == 'fichinter')
|
||||
{
|
||||
print '<td>';
|
||||
print convertSecondToTime($element->duration, 'all', $conf->global->MAIN_DURATION_OF_WORKDAY);
|
||||
$total_duration += $element->duration;
|
||||
print '</td>';
|
||||
}
|
||||
// Add duration and store it in counter for fichinter
|
||||
if($tablename == 'fichinter')
|
||||
{
|
||||
print '<td>';
|
||||
print convertSecondToTime($element->duration, 'all', $conf->global->MAIN_DURATION_OF_WORKDAY);
|
||||
$total_duration += $element->duration;
|
||||
print '</td>';
|
||||
}
|
||||
|
||||
// Amount without tax
|
||||
$warning = '';
|
||||
|
||||
Loading…
Reference in New Issue
Block a user