diff --git a/htdocs/fourn/facture/card.php b/htdocs/fourn/facture/card.php index 3ba13ca8a91..e6fcd90d98f 100644 --- a/htdocs/fourn/facture/card.php +++ b/htdocs/fourn/facture/card.php @@ -3068,10 +3068,12 @@ if ($action == 'create') { } $selectwarehouse .= ''; + $selectyesno = array(0 => $langs->trans('No'), 1 => $langs->trans('Yes')); + print ''; $formquestion = array( - array('type' => 'checkbox', 'name' => 'revertstock', 'label' => $langs->trans('RevertProductsToStock'), 'value' => 'false'), + array('type' => 'select', 'name' => 'revertstock', 'label' => $langs->trans("RevertProductsToStock"), 'select_show_empty' => 0, 'values' => $selectyesno), array('type' => 'other', 'name' => 'idwarehouse', 'label' => $label, 'value' => $selectwarehouse, 'tdclass' => 'questionrevertstock hidden') ); }