Merge pull request #15054 from ptibogxiv/patch-387

NEW display date range if exist in takepos
This commit is contained in:
Laurent Destailleur 2020-10-22 17:16:46 +02:00 committed by GitHub
commit 30d39f890c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1110,7 +1110,7 @@ if ($placeid > 0)
$moreinfo .= '<br>'.$langs->transcountry("TotalLT2", $mysoc->country_code).': '.price($line->total_localtax2);
$moreinfo .= '<br>'.$langs->transcountry("TotalTTC", $mysoc->country_code).': '.price($line->total_ttc);
//$moreinfo .= $langs->trans("TotalHT").': '.$line->total_ht;
if ($line->date_start || $line->date_end) $htmlforlines .= '<br><div class="clearboth nowraponall">'.get_date_range($line->date_start, $line->date_end, $format).'</div>';
$htmlforlines .= '</td>';
$htmlforlines .= '<td class="right">'.vatrate($line->remise_percent, true).'</td>';
$htmlforlines .= '<td class="right">';