Add the supplier price as a hidden field when editing a supplier_proposal line. Otherwise, the relationship between the line and the supplier is removed.
This commit is contained in:
parent
2ba4993666
commit
3729076455
@ -186,6 +186,7 @@ $coldisplay++;
|
|||||||
?>
|
?>
|
||||||
<td class="right"><input id="fourn_ref" name="fourn_ref" class="flat minwidth50 maxwidth150" value="<?php echo ($line->ref_supplier ? $line->ref_supplier : $line->ref_fourn); ?>"></td>
|
<td class="right"><input id="fourn_ref" name="fourn_ref" class="flat minwidth50 maxwidth150" value="<?php echo ($line->ref_supplier ? $line->ref_supplier : $line->ref_fourn); ?>"></td>
|
||||||
<?php
|
<?php
|
||||||
|
print('<input type="hidden" id="fournprice" name="fournprice" class="" value="'.$line->fk_fournprice.'">');
|
||||||
}
|
}
|
||||||
|
|
||||||
$coldisplay++;
|
$coldisplay++;
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user