38 print
"Error, template page can't be called as URL";
42'@phan-var-force CommonObject $this
43 @phan-var-force CommonObject $object';
46if (empty($filtertype)) {
50print
"<!-- BEGIN PHP TEMPLATE objectline_title.tpl.php -->\n";
56print
'<tr class="liste_titre nodrag nodrop">';
60 print
'<td class="linecolnum center"> </td>';
64print
'<td class="linecoldescription bomline">'.$langs->trans(
'Description');
66 print
' <a id="show_all" href="#">'.img_picto(
'',
'folder-open',
'class="paddingright"').$langs->trans(
"ExpandAll").
'</a> ';
67 print
'<a id="hide_all" href="#">'.img_picto(
'',
'folder',
'class="paddingright"').$langs->trans(
"UndoExpandAll").
'</a> ';
72print
'<td class="linecolqty width100 right">'.$form->textwithpicto($langs->trans(
'Qty'), ($filtertype != 1) ? $langs->trans(
"QtyRequiredIfNoLoss") :
'').
'</td>';
74if ($filtertype != 1) {
76 print
'<td class="linecoluseunit"></td>';
80 print
'<td class="linecolqtyfrozen right">' . $form->textwithpicto($langs->trans(
'QtyFrozen'), $langs->trans(
"QuantityConsumedInvariable")) .
'</td>';
83 print
'<td class="linecoldisablestockchange right">' . $form->textwithpicto($langs->trans(
'DisableStockChange'), $langs->trans(
'DisableStockChangeHelp')) .
'</td>';
86 print
'<td class="linecolefficiency right">' . $form->textwithpicto($langs->trans(
'ManufacturingEfficiency'), $langs->trans(
'ValueOfMeansLoss')) .
'</td>';
89 print
'<td class="linecolcost right">'.$form->textwithpicto($langs->trans(
"TotalCost"), $langs->trans(
"BOMTotalCost")).
'</td>';
91 print
'<td class="linecolunit"></td>';
93 if (isModEnabled(
'workstation')) {
94 print
'<td class="linecolworkstation">' . $form->textwithpicto($langs->trans(
'DefaultWorkstation'),
'') .
'</td>';
98 print
'<td class="linecolcost right">'.$form->textwithpicto($langs->trans(
"TotalCost"), $langs->trans(
"BOMTotalCostService")).
'</td>';
104print
'<td class="linecoledit" style="width: 10px"></td>';
106print
'<td class="linecoldelete" style="width: 10px"></td>';
108print
'<td class="linecolmove" style="width: 10px"></td>';
110if ($action ==
'selectlines') {
111 print
'<td class="linecolcheckall center">';
112 print
'<input type="checkbox" class="linecheckboxtoggle" />';
113 print
'<script>$(document).ready(function() {$(".linecheckboxtoggle").click(function() {var checkBoxes = $(".linecheckbox");checkBoxes.prop("checked", this.checked);})});</script>';
120print
"<!-- END PHP TEMPLATE objectline_title.tpl.php -->\n";
if( $user->socid > 0) if(! $user->hasRight('accounting', 'chartofaccount')) $object
getDolGlobalInt($key, $default=0)
Return a Dolibarr global constant int value.
getDolGlobalString($key, $default='')
Return dolibarr global constant string value.