Merge pull request #12837 from laudeco/hotfix/replenish_product

replenish product
This commit is contained in:
Laurent Destailleur 2020-01-13 13:18:28 +01:00 committed by GitHub
commit 2465d5ab47
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 2 deletions

View File

@ -3008,7 +3008,8 @@ class Form
* @param int $productid Id of product
* @param string $htmlname Name of HTML field
* @param int $selected_supplier Pre-selected supplier if more than 1 result
* @return void
*
* @return string
*/
public function select_product_fourn_price($productid, $htmlname = 'productfournpriceid', $selected_supplier = '')
{

View File

@ -724,7 +724,7 @@ while ($i < ($limit ? min($num, $limit) : $num))
// Supplier
print '<td class="right">';
$form->select_product_fourn_price($prod->id, 'fourn'.$i, $fk_supplier);
print $form->select_product_fourn_price($prod->id, 'fourn'.$i, $fk_supplier);
print '</td>';
// Fields from hook