Merge branch 'NEW_OF_Child' of github.com:atm-lena/dolibarr into NEW_OF_Child
This commit is contained in:
commit
0cbf374fa5
@ -28,7 +28,6 @@ if (!is_object($form)) {
|
|||||||
$form = new Form($db);
|
$form = new Form($db);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
$qtytoconsumeforline = $this->tpl['qty'] / ( ! empty($this->tpl['efficiency']) ? $this->tpl['efficiency'] : 1 );
|
$qtytoconsumeforline = $this->tpl['qty'] / ( ! empty($this->tpl['efficiency']) ? $this->tpl['efficiency'] : 1 );
|
||||||
/*if ((empty($this->tpl['qty_frozen']) && $this->tpl['qty_bom'] > 1)) {
|
/*if ((empty($this->tpl['qty_frozen']) && $this->tpl['qty_bom'] > 1)) {
|
||||||
$qtytoconsumeforline = $qtytoconsumeforline / $this->tpl['qty_bom'];
|
$qtytoconsumeforline = $qtytoconsumeforline / $this->tpl['qty_bom'];
|
||||||
@ -48,7 +47,7 @@ print '<tr class="oddeven'.(empty($this->tpl['strike']) ? '' : ' strikefordisabl
|
|||||||
print '<td>';
|
print '<td>';
|
||||||
if ($res) {
|
if ($res) {
|
||||||
print $tmpproduct->getNomUrl(1);
|
print $tmpproduct->getNomUrl(1);
|
||||||
if($tmpbom->id) {
|
if ($tmpbom->id) {
|
||||||
print ' ' . $langs->trans("or") . ' ';
|
print ' ' . $langs->trans("or") . ' ';
|
||||||
print $tmpbom->getNomUrl(1);
|
print $tmpbom->getNomUrl(1);
|
||||||
print ' <a class="collapse_bom" id="collapse-' . $line->id . '" href="#">';
|
print ' <a class="collapse_bom" id="collapse-' . $line->id . '" href="#">';
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user