Fix: We must not show date range for a product line type (only

service line)
This commit is contained in:
Laurent Destailleur 2012-09-08 01:02:54 +02:00
parent 7c27cfa88e
commit d0528740c2

View File

@ -133,7 +133,7 @@
</td>
</tr>
<?php if ($conf->service->enabled && $dateSelector) { ?>
<?php if ($conf->service->enabled && $line->product_type == 1 && $dateSelector) { ?>
<tr id="service_duration_area" <?php echo $bc[$var]; ?>>
<td colspan="11"><?php echo $langs->trans('ServiceLimitedDuration').' '.$langs->trans('From').' '; ?>
<?php