diff --git a/htdocs/core/tpl/predefinedproductline_create.tpl.php b/htdocs/core/tpl/predefinedproductline_create.tpl.php
index 54075274ebd..c9791d4a060 100644
--- a/htdocs/core/tpl/predefinedproductline_create.tpl.php
+++ b/htdocs/core/tpl/predefinedproductline_create.tpl.php
@@ -28,7 +28,7 @@
- |
+ | global->MAIN_VIEW_LINE_NUMBER) ? ' colspan="4"' : ' colspan="3"'); ?>>
trans("AddNewLine").' - ';
if ($conf->service->enabled)
@@ -56,7 +56,7 @@ jQuery(document).ready(function() {
|
>
- |
+ | global->MAIN_VIEW_LINE_NUMBER) ? ' colspan="4"' : ' colspan="3"'); ?>>
select_produits('','idprod','',$conf->product->limit_size,$buyer->price_level);
@@ -83,7 +83,7 @@ jQuery(document).ready(function() {
service->enabled && $dateSelector) {?>
|
>
- |
+ | global->MAIN_VIEW_LINE_NUMBER) ? ' colspan="10"' : ' colspan="9"'); ?>>
trans('ServiceLimitedDuration').' '.$langs->trans('From').' ';
echo $form->select_date('','date_start_predef',$conf->global->MAIN_USE_HOURMIN_IN_DATE_RANGE,$conf->global->MAIN_USE_HOURMIN_IN_DATE_RANGE,1,"addpredefinedproduct");
diff --git a/htdocs/core/tpl/predefinedproductline_view.tpl.php b/htdocs/core/tpl/predefinedproductline_view.tpl.php
index 09a61c177e2..1e398b688bf 100644
--- a/htdocs/core/tpl/predefinedproductline_view.tpl.php
+++ b/htdocs/core/tpl/predefinedproductline_view.tpl.php
@@ -20,8 +20,10 @@
|
id.'" '.$bcdd[$var]; ?>>
- |
-
+ global->MAIN_VIEW_LINE_NUMBER)) { ?>
+ | |
+
+
textwithtooltip($text,$description,3,'','',$i,0,($line->fk_parent_line?img_picto('', 'rightarrow'):''));
diff --git a/htdocs/expedition/fiche.php b/htdocs/expedition/fiche.php
index 8c87face017..022a5ac211d 100644
--- a/htdocs/expedition/fiche.php
+++ b/htdocs/expedition/fiche.php
@@ -1104,6 +1104,10 @@ else
*/
print '
';
print '';
+ if (! empty($conf->global->MAIN_VIEW_LINE_NUMBER))
+ {
+ print '| | ';
+ }
print ''.$langs->trans("Products").' | ';
print ''.$langs->trans("QtyOrdered").' | ';
if ($object->fk_statut <= 1)
@@ -1123,6 +1127,7 @@ else
{
print ''.$langs->trans("WarehouseSource").' | ';
}
+
print " \n";
$var=false;
@@ -1130,6 +1135,11 @@ else
for ($i = 0 ; $i < $num_prod ; $i++)
{
print "";
+
+ if (! empty($conf->global->MAIN_VIEW_LINE_NUMBER))
+ {
+ print '| '.($i+1).' | ';
+ }
// Predefined product or service
if ($lines[$i]->fk_product > 0)
@@ -1195,7 +1205,6 @@ else
print '';
}
-
print " ";
$var=!$var;
|