--- /tmp/dsg/dolibarr/htdocs/mrp/lib/github_19.0.3_mrp_mo.lib.php +++ /tmp/dsg/dolibarr/htdocs/mrp/lib/client_mrp_mo.lib.php @@ -15 +15 @@ - * along with this program. If not, see . + * along with this program. If not, see . @@ -40 +40 @@ - $head[$h][1] = $langs->trans("ManufacturingOrder"); + $head[$h][1] = $langs->trans("MO"); @@ -62 +62,2 @@ - if (isset($object->fields['note_public']) || isset($object->fields['note_private'])) { + if (isset($object->fields['note_public']) || isset($object->fields['note_private'])) + { @@ -64,6 +65,2 @@ - if (!empty($object->note_private)) { - $nbNote++; - } - if (!empty($object->note_public)) { - $nbNote++; - } + if (!empty($object->note_private)) $nbNote++; + if (!empty($object->note_public)) $nbNote++; @@ -72,3 +69 @@ - if ($nbNote > 0) { - $head[$h][1] .= ''.$nbNote.''; - } + if ($nbNote > 0) $head[$h][1] .= ''.$nbNote.''; @@ -81 +76 @@ - $upload_dir = $conf->mrp->dir_output."/".dol_sanitizeFileName($object->ref); + $upload_dir = $conf->mrp->dir_output."/mo/".dol_sanitizeFileName($object->ref); @@ -86,3 +81 @@ - if (($nbFiles + $nbLinks) > 0) { - $head[$h][1] .= ''.($nbFiles + $nbLinks).''; - } + if (($nbFiles + $nbLinks) > 0) $head[$h][1] .= ''.($nbFiles + $nbLinks).''; @@ -107,2 +99,0 @@ - complete_head_from_modules($conf, $langs, $object, $head, $h, 'mo@mrp', 'remove'); -