NEW : Trad + Comments + Adding tooltips for conf
This commit is contained in:
parent
2343ff2ed4
commit
6cd92ca829
@ -627,13 +627,13 @@ if ($object->id > 0 && (empty($action) || ($action != 'edit' && $action != 'crea
|
|||||||
return false;
|
return false;
|
||||||
});
|
});
|
||||||
|
|
||||||
//TODO : SHOW ALL / COLLAPSE ALL
|
//To Show all the sub bom lines
|
||||||
$("#show_all").click(function() {
|
$("#show_all").click(function() {
|
||||||
$("[class^=sub_bom_lines]").show();
|
$("[class^=sub_bom_lines]").show();
|
||||||
$("[class^=collapse_bom]").html('(-) ');
|
$("[class^=collapse_bom]").html('(-) ');
|
||||||
return false;
|
return false;
|
||||||
});
|
});
|
||||||
|
//To Hide all the sub bom lines
|
||||||
$("#hide_all").click(function() {
|
$("#hide_all").click(function() {
|
||||||
$("[class^=sub_bom_lines]").hide();
|
$("[class^=sub_bom_lines]").hide();
|
||||||
$("[class^=collapse_bom]").html('(+) ');
|
$("[class^=collapse_bom]").html('(+) ');
|
||||||
|
|||||||
@ -45,6 +45,8 @@ print "<thead>\n";
|
|||||||
print '<tr class="liste_titre nodrag nodrop">';
|
print '<tr class="liste_titre nodrag nodrop">';
|
||||||
print '<a id="show_all" href="#">'.img_picto('', 'folder-open', 'class="paddingright"').$langs->trans("ExpandAll").'</a> ';
|
print '<a id="show_all" href="#">'.img_picto('', 'folder-open', 'class="paddingright"').$langs->trans("ExpandAll").'</a> ';
|
||||||
print '<a id="hide_all" href="#">'.img_picto('', 'folder', 'class="paddingright"').$langs->trans("UndoExpandAll").'</a> ';
|
print '<a id="hide_all" href="#">'.img_picto('', 'folder', 'class="paddingright"').$langs->trans("UndoExpandAll").'</a> ';
|
||||||
|
$form = new Form($object->db);
|
||||||
|
print $form->textwithpicto('', $langs->trans('CollapseBOMHelp'), 1, 'help', '');
|
||||||
|
|
||||||
// Adds a line numbering column
|
// Adds a line numbering column
|
||||||
if (!empty($conf->global->MAIN_VIEW_LINE_NUMBER)) {
|
if (!empty($conf->global->MAIN_VIEW_LINE_NUMBER)) {
|
||||||
|
|||||||
@ -101,4 +101,6 @@ HumanMachine=Human / Machine
|
|||||||
WorkstationArea=Workstation area
|
WorkstationArea=Workstation area
|
||||||
Machines=Machines
|
Machines=Machines
|
||||||
THMEstimatedHelp=This rate makes it possible to define a forecast cost of the item
|
THMEstimatedHelp=This rate makes it possible to define a forecast cost of the item
|
||||||
BOM=Nomenclature
|
BOM=Bill Of Materials
|
||||||
|
CollapseBOMHelp=You can define the default display of the details of the nomenclature in the configuration of the BOM module
|
||||||
|
|
||||||
|
|||||||
@ -102,3 +102,4 @@ WorkstationArea=Espace Poste de travail
|
|||||||
Machines=Machines
|
Machines=Machines
|
||||||
THMEstimatedHelp=Ce taux permet de définir un coût prévisionnel de l'article
|
THMEstimatedHelp=Ce taux permet de définir un coût prévisionnel de l'article
|
||||||
BOM=Nomenclature
|
BOM=Nomenclature
|
||||||
|
CollapseBOMHelp=Vous pouvez définir l'affichage par défaut du détail des nomenclature dans la configuration du module "Nomenclature Produits"
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user