order the tva by the rate
This commit is contained in:
parent
1a621e0f72
commit
56d037d9eb
2 changed files with 2 additions and 2 deletions
|
|
@ -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;
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue