Ajout rapport tva par taux et par trimestre dans menu + traduction

This commit is contained in:
Laurent Destailleur 2007-03-01 19:26:27 +00:00
parent 6a1390c4f5
commit c5c48844c1
6 changed files with 9 additions and 5 deletions

View File

@ -181,12 +181,9 @@ $textprevyear="<a href=\"quadri_detail.php?year=" . ($year_current-1) . "\">".im
$textnextyear=" <a href=\"quadri_detail.php?year=" . ($year_current+1) . "\">".img_next()."</a>";
print_fiche_titre($langs->trans("VAT"),"$textprevyear ".$langs->trans("Year")." $year_start $textnextyear");
print '<br>';
echo '<table class="noborder" width="100%">';
echo '<tr><td colspan="3">';
print_fiche_titre($langs->trans("VATSummary"));
echo '</td></tr>';
if ($conf->compta->mode == "CREANCES-DETTES")
{
@ -263,7 +260,7 @@ if ($conf->compta->mode == "CREANCES-DETTES")
$var=!$var;
if(is_array($x_both[$rate]['coll']['detail'])){
print "<tr>";
print '<td class="tax_rate">'.$rate.'%</td><td colspan="3"></td>';
print '<td class="tax_rate">'.$langs->trans("Rate").': '.$rate.'%</td><td colspan="3"></td>';
print '</tr>'."\n";
foreach($x_both[$rate]['coll']['detail'] as $index=>$fields){
$var=!$var;

View File

@ -440,6 +440,7 @@ class MenuLeft {
if ($leftmenu=="vat") $newmenu->add_submenu(DOL_URL_ROOT."/compta/tva/fiche.php?action=create",$langs->trans("NewPayment"),1,$user->rights->tax->charges->creer);
if ($leftmenu=="vat") $newmenu->add_submenu(DOL_URL_ROOT."/compta/tva/reglement.php",$langs->trans("Payments"),1,$user->rights->tax->charges->lire);
if ($leftmenu=="vat") $newmenu->add_submenu(DOL_URL_ROOT."/compta/tva/clients.php", $langs->trans("ReportByCustomers"), 1, $user->rights->tax->charges->lire);
if ($leftmenu=="vat") $newmenu->add_submenu(DOL_URL_ROOT."/compta/tva/quadri_detail.php", $langs->trans("ReportByQuarter"), 1, $user->rights->tax->charges->lire);
}
// Compta simple

View File

@ -29,6 +29,7 @@ ThirdPartyCustomersWithIdProf12=Customers with %s or %s
ThirdPartySuppliers=Suppliers
ParentCompany=Parent company
ReportByCustomers=Report by customers
ReportByQuarter=Report by quarter
CivilityCode=Civility code
RegisteredOffice=Registered office
Name=Name

View File

@ -165,6 +165,8 @@ Seconds=Seconds
Today=Today
Yesterday=Yesterday
Tomorrow=Tomorrow
Quadri=Quadri
Rate=Rate
Bytes=Bytes
Cut=Cut
Copy=Copy

View File

@ -28,6 +28,7 @@ ThirdPartyCustomers=Clients
ThirdPartyCustomersWithIdProf12=Clients avec %s ou %s
ThirdPartySuppliers=Fournisseurs
ReportByCustomers=Rapport par client
ReportByQuarter=Rapport par trimestre
ParentCompany=Maison mère
CivilityCode=Code civilité
RegisteredOffice=Siège sociale

View File

@ -165,6 +165,8 @@ Seconds=Secondes
Today=Aujourd'hui
Yesterday=Hier
Tomorrow=Demain
Quadri=Trimestre
Rate=Taux
Bytes=Octets
Cut=Couper
Copy=Copier