';
print '';
- $ajaxoptions=array('disabled' => 'addPredefinedProductButton', 'error' => $langs->trans("NoPriceDefinedForThisSupplier"));
+ $ajaxoptions=array(
+ 'update' => array('pqty' => 'qty'),
+ 'disabled' => 'addPredefinedProductButton',
+ 'error' => $langs->trans("NoPriceDefinedForThisSupplier")
+ );
$form->select_produits_fournisseurs($object->fourn_id, '', 'idprodfournprice', '', '', $ajaxoptions);
if (empty($conf->global->PRODUIT_USE_SEARCH_TO_SELECT)) print ' ';
@@ -1547,7 +1551,7 @@ if ($id > 0 || ! empty($ref))
$doleditor->Create();
print ' | ';
- print ' | ';
+ print ' | ';
print '% | ';
print ' | ';
print '
';
diff --git a/htdocs/fourn/facture/fiche.php b/htdocs/fourn/facture/fiche.php
index fad6aa855e2..02a7167ad51 100644
--- a/htdocs/fourn/facture/fiche.php
+++ b/htdocs/fourn/facture/fiche.php
@@ -1806,7 +1806,11 @@ else
print '';
print '';
- $ajaxoptions=array('disabled' => 'addPredefinedProductButton', 'error' => $langs->trans("NoPriceDefinedForThisSupplier"));
+ $ajaxoptions=array(
+ 'update' => array('pqty' => 'qty'),
+ 'disabled' => 'addPredefinedProductButton',
+ 'error' => $langs->trans("NoPriceDefinedForThisSupplier")
+ );
$form->select_produits_fournisseurs($object->socid, '', 'idprodfournprice', '', '', $ajaxoptions);
if (empty($conf->global->PRODUIT_USE_SEARCH_TO_SELECT)) print ' ';
@@ -1823,7 +1827,7 @@ else
$doleditor->Create();
print ' | ';
- print ' | ';
+ print ' | ';
print ' | ';
print ' | ';
print ' | ';