';
- // Ref
- /*
- print '| '.$langs->trans("Ref").' | ';
- print $form->showrefnav($object, 'ref', $linkback, 1, 'ref', 'ref');
- print ' |
';
-
- // Third party
- print "| ".$langs->trans("Company").' | '.$object->thirdparty->getNomUrl(1)." |
";
- */
-
if (! empty($conf->global->FICHINTER_USE_PLANNED_AND_DONE_DATES))
{
// Date Start
@@ -1283,37 +1273,6 @@ else if ($id > 0 || ! empty($ref))
print '';
print '';
- // Project
- /*
- if (! empty($conf->projet->enabled))
- {
- $langs->load('projects');
- print '';
- print '| ';
-
- print '';
- print ' | ';
- if ($action == 'classify')
- {
- $form->form_project($_SERVER['PHP_SELF'].'?id='.$object->id, $object->socid, $object->fk_project,'projectid', 0, 0, 1);
- }
- else
- {
- $form->form_project($_SERVER['PHP_SELF'].'?id='.$object->id, $object->socid, $object->fk_project,'none', 0, 0);
- }
- print ' | ';
- print '
';
- }*/
-
// Contrat
if ($conf->contrat->enabled)
{
@@ -1355,9 +1314,6 @@ else if ($id > 0 || ! empty($ref))
print '';
}
- // Statut
- //print '| '.$langs->trans("Status").' | '.$object->getLibStatut(4).' |
';
-
// Other attributes
$cols = 2;
include DOL_DOCUMENT_ROOT . '/core/tpl/extrafields_view.tpl.php';
diff --git a/htdocs/fourn/commande/list.php b/htdocs/fourn/commande/list.php
index 843e8984a68..e9d8499364e 100644
--- a/htdocs/fourn/commande/list.php
+++ b/htdocs/fourn/commande/list.php
@@ -489,7 +489,8 @@ if ($resql)
$varpage=empty($contextpage)?$_SERVER["PHP_SELF"]:$contextpage;
$selectedfields=$form->multiSelectArrayWithCheckbox('selectedfields', $arrayfields, $varpage); // This also change content of $arrayfields
- print ''."\n";
+ print '';
+ print '
'."\n";
print '';
if (! empty($arrayfields['cf.ref']['checked'])) print_liste_field_titre($arrayfields['cf.ref']['label'],$_SERVER["PHP_SELF"],"cf.ref","",$param,'',$sortfield,$sortorder);
@@ -919,6 +920,7 @@ if ($resql)
$i++;
}
print "
\n";
+ print '
';
print "\n";
if (! empty($conf->facture->enable)) print '
'.img_help(1,'').' '.$langs->trans("ToBillSeveralOrderSelectCustomer", $langs->transnoentitiesnoconv("CreateInvoiceForThisCustomer")).'
';
diff --git a/htdocs/fourn/facture/list.php b/htdocs/fourn/facture/list.php
index ebe65f62122..2ebdb7fe7bb 100644
--- a/htdocs/fourn/facture/list.php
+++ b/htdocs/fourn/facture/list.php
@@ -486,7 +486,8 @@ if ($resql)
$varpage=empty($contextpage)?$_SERVER["PHP_SELF"]:$contextpage;
$selectedfields=$form->multiSelectArrayWithCheckbox('selectedfields', $arrayfields, $varpage); // This also change content of $arrayfields
- print ''."\n";
+ print '';
+ print '
'."\n";
print '';
if (! empty($arrayfields['f.ref']['checked'])) print_liste_field_titre($arrayfields['f.ref']['label'],$_SERVER['PHP_SELF'],'f.ref,f.rowid','',$param,'',$sortfield,$sortorder);
if (! empty($arrayfields['f.ref_supplier']['checked'])) print_liste_field_titre($arrayfields['f.ref_supplier']['label'],$_SERVER["PHP_SELF"],'f.ref_supplier','',$param,'',$sortfield,$sortorder);
@@ -984,7 +985,7 @@ if ($resql)
print $hookmanager->resPrint;
print "
\n";
-
+ print '
';
print "\n";
}
else
diff --git a/htdocs/product/reassort.php b/htdocs/product/reassort.php
index b193e553b61..036f56acc2e 100644
--- a/htdocs/product/reassort.php
+++ b/htdocs/product/reassort.php
@@ -261,6 +261,7 @@ if ($resql)
$colspan_warehouse = 1;
if (! empty($conf->global->STOCK_DETAIL_ON_WAREHOUSE)) { $colspan_warehouse = $nb_warehouse > 1 ? $nb_warehouse+1 : 1; }
+ print '';
print '
';
// Lignes des titres
@@ -381,6 +382,7 @@ if ($resql)
}
print "
";
+ print '
';
print '';
if ($num > $conf->liste_limit)
diff --git a/htdocs/product/reassortlot.php b/htdocs/product/reassortlot.php
index c9619124389..e4ffad6cb52 100644
--- a/htdocs/product/reassortlot.php
+++ b/htdocs/product/reassortlot.php
@@ -249,7 +249,8 @@ if ($resql)
/*if ($eatby) $param.="&eatby=".$eatby;
if ($sellby) $param.="&sellby=".$sellby;*/
- print '';
+ print '';
+ print '
';
// Lignes des titres
print "";
@@ -381,6 +382,7 @@ if ($resql)
}
print "
";
+ print '
';
print '';
if ($num > $conf->liste_limit)
diff --git a/htdocs/product/stats/commande.php b/htdocs/product/stats/commande.php
index f9b9d14d794..192017af2a5 100644
--- a/htdocs/product/stats/commande.php
+++ b/htdocs/product/stats/commande.php
@@ -193,7 +193,8 @@ if ($id > 0 || ! empty($ref))
print '';
$i = 0;
- print '';
+ print '';
+ print '
';
print '';
print_liste_field_titre($langs->trans("Ref"),$_SERVER["PHP_SELF"],"c.rowid","",$option,'',$sortfield,$sortorder);
print_liste_field_titre($langs->trans("Company"),$_SERVER["PHP_SELF"],"s.nom","",$option,'',$sortfield,$sortorder);
@@ -243,8 +244,8 @@ if ($id > 0 || ! empty($ref))
print '| '.price($total_ht).' | ';
print ' | ';
print "
";
+ print "
";
print '';
- print '
';
} else {
dol_print_error($db);
}
diff --git a/htdocs/product/stats/commande_fournisseur.php b/htdocs/product/stats/commande_fournisseur.php
index 4bdfdcc5c81..bed3be1892f 100644
--- a/htdocs/product/stats/commande_fournisseur.php
+++ b/htdocs/product/stats/commande_fournisseur.php
@@ -72,6 +72,7 @@ if (GETPOST("button_removefilter_x") || GETPOST("button_removefilter")) {
$search_year = '';
}
+
/*
* View
*/
@@ -203,6 +204,7 @@ if ($id > 0 || ! empty($ref)) {
print '';
$i = 0;
+ print '';
print '
';
print '';
print_liste_field_titre($langs->trans("Ref"), $_SERVER["PHP_SELF"], "c.rowid", "", $option, '', $sortfield, $sortorder);
@@ -251,8 +253,8 @@ if ($id > 0 || ! empty($ref)) {
print '| ' . price($total_ht) . ' | ';
print ' | ';
print "
";
+ print '
';
print '';
- print '
';
} else {
dol_print_error($db);
}
diff --git a/htdocs/product/stats/contrat.php b/htdocs/product/stats/contrat.php
index 34b38a7bbec..8c5f1a3ba86 100644
--- a/htdocs/product/stats/contrat.php
+++ b/htdocs/product/stats/contrat.php
@@ -135,10 +135,27 @@ if ($id > 0 || ! empty($ref))
if ($result)
{
$num = $db->num_rows($result);
-
+ if (! empty($id))
+ $option .= '&id=' . $product->id;
+ if (! empty($search_month))
+ $option .= '&search_month=' . $search_month;
+ if (! empty($search_year))
+ $option .= '&search_year=' . $search_year;
+
+ print '';
}
else
{
dol_print_error($db);
}
- print "
";
- print '
';
$db->free($result);
}
}
diff --git a/htdocs/product/stats/facture.php b/htdocs/product/stats/facture.php
index e9eb3d41859..53e5b0ab0a6 100644
--- a/htdocs/product/stats/facture.php
+++ b/htdocs/product/stats/facture.php
@@ -216,6 +216,7 @@ if ($id > 0 || ! empty($ref))
print '';
$i = 0;
+ print '';
print '
';
print '';
print_liste_field_titre($langs->trans("Ref"),$_SERVER["PHP_SELF"],"s.rowid","",$option,'',$sortfield,$sortorder);
@@ -265,8 +266,8 @@ if ($id > 0 || ! empty($ref))
print '| '.price($total_ht).' | ';
print ' | ';
print "
";
+ print '
';
print '';
- print '
';
} else {
dol_print_error($db);
}
diff --git a/htdocs/product/stats/facture_fournisseur.php b/htdocs/product/stats/facture_fournisseur.php
index 77bd4b73887..6fe189c7700 100644
--- a/htdocs/product/stats/facture_fournisseur.php
+++ b/htdocs/product/stats/facture_fournisseur.php
@@ -195,6 +195,7 @@ if ($id > 0 || ! empty($ref))
print '';
$i = 0;
+ print '';
print '
';
print '';
print_liste_field_titre($langs->trans("Ref"), $_SERVER["PHP_SELF"], "s.rowid", "", $option, '', $sortfield, $sortorder);
@@ -244,8 +245,8 @@ if ($id > 0 || ! empty($ref))
print '| ' . price($total_ht) . ' | ';
print ' | ';
print "
";
+ print '
';
print '';
- print '
';
} else {
dol_print_error($db);
}
diff --git a/htdocs/product/stats/propal.php b/htdocs/product/stats/propal.php
index d23853c174f..289cf3d3578 100644
--- a/htdocs/product/stats/propal.php
+++ b/htdocs/product/stats/propal.php
@@ -197,6 +197,7 @@ if ($id > 0 || ! empty($ref))
print '';
$i = 0;
+ print '';
print '
';
print '';
print_liste_field_titre($langs->trans("Ref"), $_SERVER["PHP_SELF"], "p.rowid", "", $option, '', $sortfield, $sortorder);
@@ -238,19 +239,20 @@ if ($id > 0 || ! empty($ref))
}
}
}
- print '
';
- print '| ' . $langs->trans('Total') . ' | ';
- print ' | ';
- print '' . $total_qty . ' | ';
- print '' . price($total_ht) . ' | ';
- print ' | ';
- print "
";
- print '';
- print '
';
- } else {
- dol_print_error($db);
- }
- $db->free($result);
+
+ print '
';
+ print '| ' . $langs->trans('Total') . ' | ';
+ print ' | ';
+ print '' . $total_qty . ' | ';
+ print '' . price($total_ht) . ' | ';
+ print ' | ';
+ print "
";
+ print '';
+ print '';
+ } else {
+ dol_print_error($db);
+ }
+ $db->free($result);
}
}
} else {
diff --git a/htdocs/product/stock/mouvement.php b/htdocs/product/stock/mouvement.php
index b8e8c97bc5e..1a0710426f2 100644
--- a/htdocs/product/stock/mouvement.php
+++ b/htdocs/product/stock/mouvement.php
@@ -699,7 +699,8 @@ if ($resql)
$varpage=empty($contextpage)?$_SERVER["PHP_SELF"]:$contextpage;
$selectedfields=$form->multiSelectArrayWithCheckbox('selectedfields', $arrayfields, $varpage); // This also change content of $arrayfields
- print ''."\n";
+ print '';
+ print '
'."\n";
print "";
if (! empty($arrayfields['m.rowid']['checked'])) print_liste_field_titre($arrayfields['m.rowid']['label'],$_SERVER["PHP_SELF"],'m.rowid','',$param,'',$sortfield,$sortorder);
if (! empty($arrayfields['m.datem']['checked'])) print_liste_field_titre($arrayfields['m.datem']['label'],$_SERVER["PHP_SELF"],'m.datem','',$param,'',$sortfield,$sortorder);
@@ -1001,7 +1002,10 @@ if ($resql)
}
$db->free($resql);
- print "
";
+ print "
";
+ print '';
+ print "";
+ print "
";
// Add number of product when there is a filter on period
if (count($arrayofuniqueproduct) == 1 && is_numeric($year))
diff --git a/htdocs/product/stock/productlot_list.php b/htdocs/product/stock/productlot_list.php
index 60b719df10b..5aed199fd00 100644
--- a/htdocs/product/stock/productlot_list.php
+++ b/htdocs/product/stock/productlot_list.php
@@ -339,7 +339,8 @@ if ($resql)
$varpage=empty($contextpage)?$_SERVER["PHP_SELF"]:$contextpage;
$selectedfields=$form->multiSelectArrayWithCheckbox('selectedfields', $arrayfields, $varpage); // This also change content of $arrayfields
- print ''."\n";
+ print '';
+ print '
'."\n";
// Fields title
print '';
@@ -587,7 +588,8 @@ if ($resql)
print $hookmanager->resPrint;
print '
'."\n";
-
+ print '
';
+
print ''."\n";
/*
diff --git a/htdocs/projet/tasks/time.php b/htdocs/projet/tasks/time.php
index 276fc1cd722..5a9a6704566 100644
--- a/htdocs/projet/tasks/time.php
+++ b/htdocs/projet/tasks/time.php
@@ -704,6 +704,7 @@ if (($id > 0 || ! empty($ref)) || $projectidforalltimes > 0)
$varpage=empty($contextpage)?$_SERVER["PHP_SELF"]:$contextpage;
$selectedfields=$form->multiSelectArrayWithCheckbox('selectedfields', $arrayfields, $varpage); // This also change content of $arrayfields
+ print '';
print '
'."\n";
print '';
@@ -975,6 +976,7 @@ if (($id > 0 || ! empty($ref)) || $projectidforalltimes > 0)
print '
';
print "
";
+ print '
';
print "";
}
}
diff --git a/htdocs/supplier_proposal/list.php b/htdocs/supplier_proposal/list.php
index a50e8509ba5..d2649a42a43 100644
--- a/htdocs/supplier_proposal/list.php
+++ b/htdocs/supplier_proposal/list.php
@@ -341,6 +341,7 @@ if ($result)
}
+ print '';
print '
';
print '';
print_liste_field_titre($langs->trans('Ref'),$_SERVER["PHP_SELF"],'p.ref','',$param,'',$sortfield,$sortorder);
@@ -514,7 +515,8 @@ if ($result)
}
print '
';
-
+ print '
';
+
print '';
$db->free($result);
diff --git a/htdocs/theme/eldy/style.css.php b/htdocs/theme/eldy/style.css.php
index ab9c2f2b7d6..0082bbab20f 100644
--- a/htdocs/theme/eldy/style.css.php
+++ b/htdocs/theme/eldy/style.css.php
@@ -582,15 +582,18 @@ div.myavailability {
}
/* DOL_XXX for future usage (when left menu has been removed). If we do not use datatable */
-.table-responsive {
+/*.table-responsive {
width: calc(100% - 330px);
margin-bottom: 15px;
overflow-y: hidden;
-ms-overflow-style: -ms-autohiding-scrollbar;
+}*/
+.div-table-responsive {
+ overflow-x: auto;
+ min-height: 0.01%;
}
-
/* ============================================================================== */
/* Styles to hide objects */
/* ============================================================================== */
@@ -2397,7 +2400,6 @@ td.border, div.tagtable div div.border {
border-bottom: 1px solid #000000;
border-left: 1px solid #000000;
}
-
.table-key-border-col {
/* width: 25%; */
vertical-align:top;
diff --git a/htdocs/theme/md/style.css.php b/htdocs/theme/md/style.css.php
index 6d8bc972ceb..6d4b8488350 100644
--- a/htdocs/theme/md/style.css.php
+++ b/htdocs/theme/md/style.css.php
@@ -593,6 +593,10 @@ div.myavailability {
overflow-y: hidden;
-ms-overflow-style: -ms-autohiding-scrollbar;
}
+.div-table-responsive {
+ overflow-x: auto;
+ min-height: 0.01%;
+}
/* ============================================================================== */