Trad: Withdrawals Statistics
This commit is contained in:
parent
55b9d6b86a
commit
018e0cceb2
@ -1,6 +1,7 @@
|
|||||||
<?PHP
|
<?PHP
|
||||||
/* Copyright (C) 2005 Rodolphe Quiedeville <rodolphe@quiedeville.org>
|
/* Copyright (C) 2005 Rodolphe Quiedeville <rodolphe@quiedeville.org>
|
||||||
* Copyright (C) 2005 Laurent Destailleur <eldy@users.sourceforge.net>
|
* Copyright (C) 2005 Laurent Destailleur <eldy@users.sourceforge.net>
|
||||||
|
* Copyright (C) 2010 Juanjo Menent <jmenent@2byte.es>
|
||||||
*
|
*
|
||||||
* This program is free software; you can redistribute it and/or modify
|
* This program is free software; you can redistribute it and/or modify
|
||||||
* it under the terms of the GNU General Public License as published by
|
* it under the terms of the GNU General Public License as published by
|
||||||
@ -29,6 +30,8 @@ require_once(DOL_DOCUMENT_ROOT."/compta/prelevement/class/bon-prelevement.class.
|
|||||||
// Security check
|
// Security check
|
||||||
if ($user->societe_id > 0) accessforbidden();
|
if ($user->societe_id > 0) accessforbidden();
|
||||||
|
|
||||||
|
$langs->load("withdrawals");
|
||||||
|
$langs->load("main");
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* View
|
* View
|
||||||
@ -105,7 +108,7 @@ if ($prev_id)
|
|||||||
print"\n<!-- debut table -->\n";
|
print"\n<!-- debut table -->\n";
|
||||||
print '<table class="noborder" width="100%" cellspacing="0" cellpadding="4">';
|
print '<table class="noborder" width="100%" cellspacing="0" cellpadding="4">';
|
||||||
print '<tr class="liste_titre">';
|
print '<tr class="liste_titre">';
|
||||||
print '<td>Statut</td><td align="right">Montant</td><td align="right">%</td></tr>';
|
print '<td>'.$langs->trans("Status").'</td><td align="right">'.$langs->trans("Amount").'</td><td align="right">%</td></tr>';
|
||||||
|
|
||||||
$var=false;
|
$var=false;
|
||||||
|
|
||||||
@ -117,17 +120,17 @@ if ($prev_id)
|
|||||||
|
|
||||||
if ($row[1] == 2)
|
if ($row[1] == 2)
|
||||||
{
|
{
|
||||||
print 'Credite';
|
print $langs->trans("StatusCredited");
|
||||||
}
|
}
|
||||||
elseif ($row[1] == 3)
|
elseif ($row[1] == 3)
|
||||||
{
|
{
|
||||||
print 'Rejete';
|
print $langs->trans("StatusRefused");
|
||||||
}
|
}
|
||||||
elseif ($row[1] == 1)
|
elseif ($row[1] == 1)
|
||||||
{
|
{
|
||||||
print 'En attente';
|
print $langs->trans("StatusWaiting");
|
||||||
}
|
}
|
||||||
else print 'Unknown';
|
else print $langs->trans("StatusUnknown");
|
||||||
|
|
||||||
print '</td><td align="right">';
|
print '</td><td align="right">';
|
||||||
print price($row[0]);
|
print price($row[0]);
|
||||||
|
|||||||
@ -47,6 +47,8 @@ RefusedReason=Motiu de devolució
|
|||||||
RefusedInvoicing=Facturació de la devolució
|
RefusedInvoicing=Facturació de la devolució
|
||||||
NoInvoiceRefused=No facturar la devolució
|
NoInvoiceRefused=No facturar la devolució
|
||||||
InvoiceRefused=Facturar la devolució al client
|
InvoiceRefused=Facturar la devolució al client
|
||||||
|
Status=Estat
|
||||||
|
StatusUnknown=Desconegut
|
||||||
StatusWaiting=En espera
|
StatusWaiting=En espera
|
||||||
StatusCredited=Abonada
|
StatusCredited=Abonada
|
||||||
StatusRefused=Tornada
|
StatusRefused=Tornada
|
||||||
|
|||||||
@ -47,6 +47,8 @@ RefusedReason=Reason for rejection
|
|||||||
RefusedInvoicing=Billing the rejection
|
RefusedInvoicing=Billing the rejection
|
||||||
NoInvoiceRefused=Do not charge the rejection
|
NoInvoiceRefused=Do not charge the rejection
|
||||||
InvoiceRefused=Charge the rejection to customer
|
InvoiceRefused=Charge the rejection to customer
|
||||||
|
Status=Status
|
||||||
|
StatusUnknown=Unknown
|
||||||
StatusWaiting=Waiting
|
StatusWaiting=Waiting
|
||||||
StatusCredited=Credited
|
StatusCredited=Credited
|
||||||
StatusRefused=Refused
|
StatusRefused=Refused
|
||||||
|
|||||||
@ -47,6 +47,8 @@ RefusedReason=Motivo de devolución
|
|||||||
RefusedInvoicing=Facturación de la devolución
|
RefusedInvoicing=Facturación de la devolución
|
||||||
NoInvoiceRefused=No facturar la devolución
|
NoInvoiceRefused=No facturar la devolución
|
||||||
InvoiceRefused=Facturar la devolución al cliente
|
InvoiceRefused=Facturar la devolución al cliente
|
||||||
|
Status=Estado
|
||||||
|
StatusUnknown=Desconocido
|
||||||
StatusWaiting=En espera
|
StatusWaiting=En espera
|
||||||
StatusCredited=Abonada
|
StatusCredited=Abonada
|
||||||
StatusRefused=Devuelta
|
StatusRefused=Devuelta
|
||||||
|
|||||||
@ -47,6 +47,8 @@ RefusedReason=Motif du rejet
|
|||||||
RefusedInvoicing=Facturation du rejet
|
RefusedInvoicing=Facturation du rejet
|
||||||
NoInvoiceRefused=Ne Pas Facturer le rejet
|
NoInvoiceRefused=Ne Pas Facturer le rejet
|
||||||
InvoiceRefused=Facturer le rejet au client
|
InvoiceRefused=Facturer le rejet au client
|
||||||
|
Status=État
|
||||||
|
StatusUnknown=Inconnu
|
||||||
StatusWaiting=En attente
|
StatusWaiting=En attente
|
||||||
StatusCredited=Crédité
|
StatusCredited=Crédité
|
||||||
StatusRefused=Rejeté
|
StatusRefused=Rejeté
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user