diff --git a/include/user_form_ach.php b/include/user_form_ach.php index 4c36b6970..560c0e351 100644 --- a/include/user_form_ach.php +++ b/include/user_form_ach.php @@ -229,7 +229,7 @@ echo_debug('user_form_ach.php',__LINE__,"Enter FormAchInput($p_cn,$p_jrn,$p_peri $Price->size=9; $r.=$Price->IOValue("e_march".$i."_buy",$march_buy); // vat label - $select_tva=make_array($p_cn,"select tva_id,tva_label from tva_rate order by tva_id",1); + $select_tva=make_array($p_cn,"select tva_id,tva_label from tva_rate order by tva_rate desc",1); $Tva=new widget("select"); $Tva->table=1; $Tva->selected=$march_tva_id; diff --git a/include/user_form_ven.php b/include/user_form_ven.php index 6e30c5684..5ec3ed882 100644 --- a/include/user_form_ven.php +++ b/include/user_form_ven.php @@ -216,7 +216,7 @@ function FormVenInput($p_cn,$p_jrn,$p_periode,$p_array=null,$pview_only=true,$p_ $r.=$Price->IOValue("e_march".$i."_sell",$march_sell); // vat label //-- - $select_tva=make_array($p_cn,"select tva_id,tva_label from tva_rate order by tva_id",1); + $select_tva=make_array($p_cn,"select tva_id,tva_label from tva_rate order by tva_rate desc",1); $Tva=new widget("select"); $Tva->table=1; $Tva->selected=$march_tva_id;