order the tva by the rate

This commit is contained in:
sparkyx 2007-10-20 11:18:44 +00:00
parent 1a621e0f72
commit 56d037d9eb
2 changed files with 2 additions and 2 deletions

View file

@ -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;

View file

@ -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;