2
0
forked from Wavyzz/dolibarr

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:
Thomas Negre
2022-10-13 15:30:38 +02:00
parent 2ba4993666
commit 3729076455

View File

@@ -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>
<?php
print('<input type="hidden" id="fournprice" name="fournprice" class="" value="'.$line->fk_fournprice.'">');
}
$coldisplay++;