Ajout case à cocher "Générer OF Enfant"
This commit is contained in:
parent
f921c10e3a
commit
6a94a6ebac
@ -1331,9 +1331,9 @@ class Mo extends CommonObject
|
|||||||
print '<td class="center">'.$form->textwithpicto($langs->trans("VirtualStock"), $langs->trans("VirtualStockDesc")).'</td>';
|
print '<td class="center">'.$form->textwithpicto($langs->trans("VirtualStock"), $langs->trans("VirtualStockDesc")).'</td>';
|
||||||
print '<td class="center">'.$langs->trans('QtyFrozen').'</td>';
|
print '<td class="center">'.$langs->trans('QtyFrozen').'</td>';
|
||||||
print '<td class="center">'.$langs->trans('DisableStockChange').'</td>';
|
print '<td class="center">'.$langs->trans('DisableStockChange').'</td>';
|
||||||
//print '<td class="right">'.$langs->trans('Efficiency').'</td>';
|
print '<td class="center">'.$langs->trans('MoChildGenerate').'</td>';
|
||||||
//print '<td class="center">'.$form->showCheckAddButtons('checkforselect', 1).'</td>';
|
//print '<td class="center">'.$form->showCheckAddButtons('checkforselect', 1).'</td>';
|
||||||
print '<td class="center"></td>';
|
// print '<td class="center"></td>';
|
||||||
print '</tr>';
|
print '</tr>';
|
||||||
$i = 0;
|
$i = 0;
|
||||||
|
|
||||||
|
|||||||
@ -78,6 +78,11 @@ if (!empty($selectedLines) && !in_array($this->tpl['id'], $selectedLines)) {
|
|||||||
print '<td class="center">';
|
print '<td class="center">';
|
||||||
//print '<input id="cb'.$this->tpl['id'].'" class="flat checkforselect" type="checkbox" name="toselect[]" value="'.$this->tpl['id'].'"'.($selected?' checked="checked"':'').'>';
|
//print '<input id="cb'.$this->tpl['id'].'" class="flat checkforselect" type="checkbox" name="toselect[]" value="'.$this->tpl['id'].'"'.($selected?' checked="checked"':'').'>';
|
||||||
print '</td>';
|
print '</td>';
|
||||||
|
|
||||||
|
print '<td class="center">';
|
||||||
|
print '<input type="checkbox" name="createofchildbom_'.$tmpproduct->id.'">';
|
||||||
|
print '</td>';
|
||||||
|
|
||||||
print '</tr>'."\n";
|
print '</tr>'."\n";
|
||||||
|
|
||||||
// Select of all the sub-BOM lines
|
// Select of all the sub-BOM lines
|
||||||
@ -153,7 +158,6 @@ if ($resql) {
|
|||||||
|
|
||||||
print '<td></td>';
|
print '<td></td>';
|
||||||
print '<td></td>';
|
print '<td></td>';
|
||||||
print '<td></td>';
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user