Cosmetic : select tva

This commit is contained in:
Dany De Bontridder 2012-06-30 04:09:28 +00:00
parent b9156b01e1
commit f54ee2f751
2 changed files with 4 additions and 3 deletions

View file

@ -185,7 +185,7 @@ EOF;
$r = HtmlInput::anchor_close('tva_select');
$r.=h2info('Choississez la TVA ');
$r.='<div >';
$r.= '<TABLE style="padding-left:10%;padding-right:10%;width:80%">';
$r.= '<TABLE style="width:100%">';
$r.=th('');
$r.=th(_('code'));
$r.=th(_('Taux'));
@ -218,7 +218,8 @@ EOF;
}
}
$set = '<INPUT TYPE="BUTTON" class="button" Value="select" ' . $script . '>';
$r.='<tr>';
$class=($i%2 == 0)?' class="odd" ':' class="even" ';
$r.='<tr'.$class. '>';
$r.=td($set);
$r.=td($row['tva_id']);
$r.=td($row['tva_rate']);

View file

@ -473,7 +473,7 @@ function popup_select_tva(obj)
var nTop=posY-50;
var nLeft="35%";
var str_style="top:"+nTop+";left:"+nLeft+";width:50em;height:auto";
var str_style="top:"+nTop+";left:"+nLeft+";width:55em;height:auto";
var popup={'id': 'tva_select','cssclass':'inner_box','style':str_style,'html':loading(),'drag':true};
add_div(popup);