Trad: Withdrawal module translation

This commit is contained in:
Laurent Destailleur 2008-11-04 16:58:26 +00:00
parent 67edbfa0d9
commit 3d2d9fddcb
12 changed files with 199 additions and 174 deletions

View File

@ -22,14 +22,14 @@
\ingroup prelevement \ingroup prelevement
\brief Page configuration des prelevements \brief Page configuration des prelevements
\version $Id$ \version $Id$
*/ */
require("./pre.inc.php"); require("./pre.inc.php");
require_once(DOL_DOCUMENT_ROOT."/lib/admin.lib.php"); require_once(DOL_DOCUMENT_ROOT."/lib/admin.lib.php");
if (!$user->rights->prelevement->bons->lire) if (!$user->rights->prelevement->bons->lire)
accessforbidden(); accessforbidden();
if ($_GET["action"] == "set" && $user->rights->prelevement->bons->configurer) if ($_GET["action"] == "set" && $user->rights->prelevement->bons->configurer)
@ -40,6 +40,7 @@ if ($_GET["action"] == "set" && $user->rights->prelevement->bons->configurer)
} }
Header("Location: config.php"); Header("Location: config.php");
exit;
} }
if ($_GET["action"] == "addnotif" && $user->rights->prelevement->bons->configurer) if ($_GET["action"] == "addnotif" && $user->rights->prelevement->bons->configurer)
@ -48,6 +49,7 @@ if ($_GET["action"] == "addnotif" && $user->rights->prelevement->bons->configure
$bon->AddNotification($_POST["user"],$_POST["action"]); $bon->AddNotification($_POST["user"],$_POST["action"]);
Header("Location: config.php"); Header("Location: config.php");
exit;
} }
if ($_GET["action"] == "deletenotif" && $user->rights->prelevement->bons->configurer) if ($_GET["action"] == "deletenotif" && $user->rights->prelevement->bons->configurer)
@ -56,36 +58,32 @@ if ($_GET["action"] == "deletenotif" && $user->rights->prelevement->bons->config
$bon->DeleteNotificationById($_GET["notif"]); $bon->DeleteNotificationById($_GET["notif"]);
Header("Location: config.php"); Header("Location: config.php");
exit;
} }
/* /*
* * View
*
*
*/ */
llxHeader('',$langs->trans("WithdrawalsSetup")); llxHeader('',$langs->trans("WithdrawalsSetup"));
print_fiche_titre($langs->trans("WithdrawalsSetup")); print_fiche_titre($langs->trans("WithdrawalsSetup"));
print "<br>"; print "<br>";
/*
*
*
*/
if ($user->rights->prelevement->bons->configurer) if ($user->rights->prelevement->bons->configurer)
print '<form method="post" action="config.php?action=set">'; print '<form method="post" action="config.php?action=set">';
print '<table class="noborder" width="100%">'; print '<table class="noborder" width="100%">';
print '<tr class="liste_titre">'; print '<tr class="liste_titre">';
print '<td width="30%">Nom</td>'; print '<td width="30%">'.$langs->trans("Parameter").'</td>';
if ($user->rights->prelevement->bons->configurer) if ($user->rights->prelevement->bons->configurer)
print '<td width="40%">Valeur</td>'; print '<td width="40%">'.$langs->trans("Value").'</td>';
print '<td width="30%">Valeur Actuelle</td>'; print '<td width="30%">'.$langs->trans("CurrentValue").'</td>';
print "</tr>\n"; print "</tr>\n";
print '<tr class="pair"><td>Num<EFBFBD>ro National Emetteur</td>'; print '<tr class="pair"><td>'.$langs->trans("NumeroNationalEmetter").'</td>';
if ($user->rights->prelevement->bons->configurer) if ($user->rights->prelevement->bons->configurer)
{ {
print '<td align="left">'; print '<td align="left">';
@ -94,7 +92,7 @@ if ($user->rights->prelevement->bons->configurer)
} }
print '<td>'.PRELEVEMENT_NUMERO_NATIONAL_EMETTEUR.'</td></tr>'; print '<td>'.PRELEVEMENT_NUMERO_NATIONAL_EMETTEUR.'</td></tr>';
print '<tr class="impair"><td>Raison sociale</td>'; print '<tr class="impair"><td>'.$langs->trans("Name").'</td>';
if ($user->rights->prelevement->bons->configurer) if ($user->rights->prelevement->bons->configurer)
{ {
print '<td align="left">'; print '<td align="left">';
@ -103,7 +101,7 @@ if ($user->rights->prelevement->bons->configurer)
} }
print '<td>'.PRELEVEMENT_RAISON_SOCIALE.'</td></tr>'; print '<td>'.PRELEVEMENT_RAISON_SOCIALE.'</td></tr>';
print '<tr class="pair"><td>Code Banque</td>'; print '<tr class="pair"><td>'.$langs->trans("BankCode").'</td>';
if ($user->rights->prelevement->bons->configurer) if ($user->rights->prelevement->bons->configurer)
{ {
print '<td align="left">'; print '<td align="left">';
@ -112,7 +110,7 @@ if ($user->rights->prelevement->bons->configurer)
} }
print '<td>'.PRELEVEMENT_CODE_BANQUE.'</td></tr>'; print '<td>'.PRELEVEMENT_CODE_BANQUE.'</td></tr>';
print '<tr class="impair"><td>Code Guichet</td>'; print '<tr class="impair"><td>'.$langs->trans("DeskCode").'</td>';
if ($user->rights->prelevement->bons->configurer) if ($user->rights->prelevement->bons->configurer)
{ {
print '<td align="left">'; print '<td align="left">';
@ -121,7 +119,7 @@ if ($user->rights->prelevement->bons->configurer)
} }
print '<td>'.PRELEVEMENT_CODE_GUICHET.'</td></tr>'; print '<td>'.PRELEVEMENT_CODE_GUICHET.'</td></tr>';
print '<tr class="pair"><td>Num<EFBFBD>ro compte</td>'; print '<tr class="pair"><td>'.$langs->trans("AccountNumber").'</td>';
if ($user->rights->prelevement->bons->configurer) if ($user->rights->prelevement->bons->configurer)
{ {
print '<td align="left">'; print '<td align="left">';
@ -130,7 +128,7 @@ if ($user->rights->prelevement->bons->configurer)
} }
print '<td>'.PRELEVEMENT_NUMERO_COMPTE.'</td></tr>'; print '<td>'.PRELEVEMENT_NUMERO_COMPTE.'</td></tr>';
print '<tr class="impair"><td>Utilisateur responsable des pr<70>l<EFBFBD>vements</td>'; print '<tr class="impair"><td>'.$langs->trans("ResponsibleUser").'</td>';
if ($user->rights->prelevement->bons->configurer) if ($user->rights->prelevement->bons->configurer)
{ {
print '<td align="left">'; print '<td align="left">';
@ -146,7 +144,7 @@ if ($user->rights->prelevement->bons->configurer)
while ($i < $num) while ($i < $num)
{ {
$obj = $db->fetch_object(); $obj = $db->fetch_object();
print '<option value="'.$obj->rowid.'">'.stripslashes($obj->firstname)." ".stripslashes($obj->name); print '<option value="'.$obj->rowid.'">'.$obj->firstname." ".$obj->name;
$i++; $i++;
} }
$db->free(); $db->free();
@ -169,32 +167,34 @@ else
print '</td></tr>'; print '</td></tr>';
if ($user->rights->prelevement->bons->configurer) if ($user->rights->prelevement->bons->configurer)
print '<tr><td align="center" colspan="3"><input type="submit" class="button" value="'.$langs->trans("Save").'"></td></tr>'; print '<tr><td align="center" colspan="3"><input type="submit" class="button" value="'.$langs->trans("Save").'"></td></tr>';
print '</table>'; print '</table>';
if ($user->rights->prelevement->bons->configurer) if ($user->rights->prelevement->bons->configurer)
print '</form>'; print '</form>';
print '<br>'; print '<br>';
/* /*
* Notifications * Notifications
* * TODO Use notification module instead
*/ */
print_titre($langs->trans("Notifications")); print_titre($langs->trans("Notifications"));
if ($user->rights->prelevement->bons->configurer) if ($user->rights->prelevement->bons->configurer)
print '<form method="post" action="config.php?action=addnotif">'; print '<form method="post" action="'.$_SERVER["PHP_SELF"].'?action=addnotif">';
print '<table class="noborder" width="100%">'; print '<table class="noborder" width="100%">';
print '<tr class="liste_titre">'; print '<tr class="liste_titre">';
print '<td width="30%">Nom</td>'; print '<td width="30%">Nom</td>';
print '<td width="40%">Valeur</td>'; print '<td width="40%">Valeur</td>';
if ($user->rights->prelevement->bons->configurer) if ($user->rights->prelevement->bons->configurer)
print '<td width="30%">Action</td>'; print '<td width="30%">Action</td>';
print "</tr>\n"; print "</tr>\n";
if ($user->rights->prelevement->bons->configurer) if ($user->rights->prelevement->bons->configurer)
@ -213,7 +213,7 @@ if ($user->rights->prelevement->bons->configurer)
while ($i < $num) while ($i < $num)
{ {
$obj = $db->fetch_object(); $obj = $db->fetch_object();
print '<option value="'.$obj->rowid.'">'.stripslashes($obj->firstname)." ".stripslashes($obj->name); print '<option value="'.$obj->rowid.'">'.$obj->firstname." ".$obj->name;
$i++; $i++;
} }
$db->free(); $db->free();
@ -226,7 +226,7 @@ if ($user->rights->prelevement->bons->configurer)
print '<option value="tr">Transmission du bon</option>'; print '<option value="tr">Transmission du bon</option>';
print '<option value="em">Emission du bon</option>'; print '<option value="em">Emission du bon</option>';
print '<option value="cr">Cr<43>dit du bon</option>'; print '<option value="cr">Credit du bon</option>';
print '</select></td>'; print '</select></td>';
print '<td align="center"><input type="submit" class="button" value="'.$langs->trans("Add").'"></td></tr>'; print '<td align="center"><input type="submit" class="button" value="'.$langs->trans("Add").'"></td></tr>';
@ -251,12 +251,12 @@ if ($resql)
$var=!$var; $var=!$var;
print "<tr $bc[$var]>"; print "<tr $bc[$var]>";
print '<td>'.stripslashes($obj->firstname)." ".stripslashes($obj->name).'</td>'; print '<td>'.$obj->firstname." ".$obj->name.'</td>';
print '<td>'.$obj->action.'</td>'; print '<td>'.$obj->action.'</td>';
if ($user->rights->prelevement->bons->configurer) if ($user->rights->prelevement->bons->configurer)
{ {
print '<td><a href="config.php?action=deletenotif&amp;notif='.$obj->rowid.'">'.img_delete().'</a></td></tr>'; print '<td><a href="'.$_SERVER["PHP_SELF"].'?action=deletenotif&amp;notif='.$obj->rowid.'">'.img_delete().'</a></td></tr>';
} }
else else
{ {
@ -269,7 +269,7 @@ if ($resql)
print '</table>'; print '</table>';
if ($user->rights->prelevement->bons->configurer) if ($user->rights->prelevement->bons->configurer)
print '</form>'; print '</form>';
$db->close(); $db->close();

View File

@ -14,20 +14,23 @@
* You should have received a copy of the GNU General Public License * You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software * along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
*
* $Id$
* $Source$
*/ */
/** /**
\file htdocs/compta/prelevement/create.php \file htdocs/compta/prelevement/create.php
\brief Prelevement \brief Prelevement
\version $Revision$ \version $Id$
*/ */
require("./pre.inc.php"); require("./pre.inc.php");
require_once(DOL_DOCUMENT_ROOT."/includes/modules/modPrelevement.class.php"); require_once(DOL_DOCUMENT_ROOT."/includes/modules/modPrelevement.class.php");
$langs->load("widthdrawals");
$langs->load("companies");
$langs->load("banks");
$langs->load("bills");
if (!$user->rights->prelevement->bons->creer) if (!$user->rights->prelevement->bons->creer)
accessforbidden(); accessforbidden();
@ -51,6 +54,10 @@ if ($_GET["action"] == 'create')
} }
/*
* View
*/
llxHeader(); llxHeader();
$h=0; $h=0;
@ -70,16 +77,16 @@ if ($nb < 0 || $nb1 < 0 || $nb11 < 0)
dolibarr_print_error($bprev->error); dolibarr_print_error($bprev->error);
} }
print '<table class="border" width="100%">'; print '<table class="border" width="100%">';
print '<tr><td>Nb de facture à prélever :</td>'; print '<tr><td>'.$langs->trans("NbOfInvoiceToWithdraw").'</td>';
print '<td align="right">'; print '<td align="right">';
print $nb; print $nb;
print '</td><td>Notre banque :</td><td align="right">'; print '</td><td>'.$langs->trans("BankCode").'</td><td align="right">';
print $nb1; print $nb1;
print '</td><td>Notre agence :</td><td align="right">'; print '</td><td>'.$langs->trans("DeskCode").'</td><td align="right">';
print $nb11; print $nb11;
print '</td></tr>'; print '</td></tr>';
print '<tr><td>Somme à prélever</td>'; print '<tr><td>'.$langs->trans("AmountToWithdraw").'</td>';
print '<td align="right">'; print '<td align="right">';
print price($bprev->SommeAPrelever()); print price($bprev->SommeAPrelever());
print '</td>'; print '</td>';
@ -103,7 +110,7 @@ if ($nb)
} }
else else
{ {
print "Aucune facture en mode de paiement 'Prélevement' n'a de demande de prélèvements en attente.<br>"; print $langs->trans("NoInvoiceToWithdraw").'<br>';
} }
print '<br>'; print '<br>';

View File

@ -16,21 +16,19 @@
* You should have received a copy of the GNU General Public License * You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software * along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
*
* $Id$
* $Source$
*/ */
/** /**
\file htdocs/compta/prelevement/demandes.php \file htdocs/compta/prelevement/demandes.php
\brief Page de la liste des demandes de prélèvements \brief Page de la liste des demandes de prélèvements
\version $Revision$ \version $Id$
*/ */
require("./pre.inc.php"); require("./pre.inc.php");
require_once DOL_DOCUMENT_ROOT."/includes/modules/modPrelevement.class.php"; require_once DOL_DOCUMENT_ROOT."/includes/modules/modPrelevement.class.php";
$langs->load("widthdrawals"); $langs->load("widthdrawals");
$langs->load("companies");
// Security check // Security check
$socid = isset($_GET["socid"])?$_GET["socid"]:''; $socid = isset($_GET["socid"])?$_GET["socid"]:'';

View File

@ -16,15 +16,12 @@
* You should have received a copy of the GNU General Public License * You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software * along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
*
* $Id$
* $Source$
*/ */
/** /**
\file htdocs/compta/prelevement/index.php \file htdocs/compta/prelevement/index.php
\brief Prelevement \brief Prelevement
\version $Revision$ \version $Id$
*/ */
require("./pre.inc.php"); require("./pre.inc.php");
@ -61,12 +58,12 @@ $var=true;
print '<table class="noborder" width="100%">'; print '<table class="noborder" width="100%">';
print '<tr class="liste_titre"><td colspan="2">'.$langs->trans("Statistics").'</td></tr>'; print '<tr class="liste_titre"><td colspan="2">'.$langs->trans("Statistics").'</td></tr>';
$var=!$var; $var=!$var;
print '<tr '.$bc[$var].'><td>Nb de facture à prélever</td>'; print '<tr '.$bc[$var].'><td>'.$langs->trans("NbOfInvoiceToWithdraw").'</td>';
print '<td align="right">'; print '<td align="right">';
print $bprev->NbFactureAPrelever(); print $bprev->NbFactureAPrelever();
print '</td></tr>'; print '</td></tr>';
$var=!$var; $var=!$var;
print '<tr '.$bc[$var].'><td>Somme à prélever</td>'; print '<tr '.$bc[$var].'><td>'.$langs->trans("AmountToWithdraw").'</td>';
print '<td align="right">'; print '<td align="right">';
print price($bprev->SommeAPrelever()); print price($bprev->SommeAPrelever());
print '</td></tr></table><br>'; print '</td></tr></table><br>';

View File

@ -15,16 +15,13 @@
* You should have received a copy of the GNU General Public License * You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software * along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
*
* $Id$
* $Source$
*/ */
/** /**
\file htdocs/compta/prelevement/liste.php \file htdocs/compta/prelevement/liste.php
\ingroup prelevement \ingroup prelevement
\brief Page liste des prelevements \brief Page liste des prelevements
\version $Revision$ \version $Id$
*/ */
require("./pre.inc.php"); require("./pre.inc.php");
@ -33,6 +30,7 @@ if (!$user->rights->prelevement->bons->lire)
accessforbidden(); accessforbidden();
$langs->load("withdrawals"); $langs->load("withdrawals");
$langs->load("companies");
// Sécurité accés client // Sécurité accés client
if ($user->societe_id > 0) if ($user->societe_id > 0)

View File

@ -15,16 +15,13 @@
* You should have received a copy of the GNU General Public License * You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software * along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
*
* $Id$
* $Source$
*/ */
/** /**
\file htdocs/compta/prelevement/liste_factures.php \file htdocs/compta/prelevement/liste_factures.php
\ingroup prelevement \ingroup prelevement
\brief Page liste des factures prélevées \brief Page liste des factures prélevées
\version $Revision$ \version $Id$
*/ */
require("./pre.inc.php"); require("./pre.inc.php");
@ -34,6 +31,12 @@ require_once(DOL_DOCUMENT_ROOT."/paiement.class.php");
// Sécurité accés client // Sécurité accés client
if ($user->societe_id > 0) accessforbidden(); if ($user->societe_id > 0) accessforbidden();
$langs->load("companies");
/*
* View
*/
llxHeader('',$langs->trans("WithdrawedBills")); llxHeader('',$langs->trans("WithdrawedBills"));

View File

@ -14,21 +14,28 @@
* You should have received a copy of the GNU General Public License * You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software * along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
* */
* $Id$
* $Source$ /*
* \version $Id$
*/ */
require("./pre.inc.php"); require("./pre.inc.php");
require_once(DOL_DOCUMENT_ROOT."/compta/prelevement/rejet-prelevement.class.php"); require_once(DOL_DOCUMENT_ROOT."/compta/prelevement/rejet-prelevement.class.php");
require_once(DOL_DOCUMENT_ROOT."/paiement.class.php"); require_once(DOL_DOCUMENT_ROOT."/paiement.class.php");
$langs->load("companies");
if (!$user->rights->prelevement->bons->lire) if (!$user->rights->prelevement->bons->lire)
accessforbidden(); accessforbidden();
// Sécurité accés client // Sécurité accés client
if ($user->societe_id > 0) accessforbidden(); if ($user->societe_id > 0) accessforbidden();
/*
* View
*/
llxHeader('','Bon de prélèvement - Rejet'); llxHeader('','Bon de prélèvement - Rejet');
@ -92,13 +99,13 @@ if ($result)
$num = $db->num_rows($result); $num = $db->num_rows($result);
$i = 0; $i = 0;
print_barre_liste("Prélèvements rejetés", $page, "rejets.php", $urladd, $sortfield, $sortorder, '', $num); print_barre_liste($langs->trans("WithdrawsRefused"), $page, "rejets.php", $urladd, $sortfield, $sortorder, '', $num);
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_liste_field_titre("Ligne N°","rejets.php","p.ref",'',$urladd); print_liste_field_titre($langs->trans("Nb"),"rejets.php","p.ref",'',$urladd);
print_liste_field_titre("Société","rejets.php","s.nom",'',$urladd); print_liste_field_titre($langs->trans("ThirdParty"),"rejets.php","s.nom",'',$urladd);
print_liste_field_titre("Motif","rejets.php","pr.motif","",$urladd); print_liste_field_titre($langs->trans("Reason"),"rejets.php","pr.motif","",$urladd);
print '</tr>'; print '</tr>';
$var=True; $var=True;

View File

@ -15,15 +15,12 @@
* You should have received a copy of the GNU General Public License * You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software * along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
*
* $Id$
* $Source$
*/ */
/** /**
\file htdocs/compta/prelevement/stats.php \file htdocs/compta/prelevement/stats.php
\brief Page de stats des prélèvements \brief Page de stats des prélèvements
\version $Revision$ \version $Id$
*/ */
require("./pre.inc.php"); require("./pre.inc.php");
@ -43,7 +40,7 @@ llxHeader('','Statistiques pr
* *
*/ */
print_titre("Statistiques prélèvements"); print_titre($langs->trans("WithdrawStatistics"));
$sql = "SELECT sum(pl.amount), count(pl.amount)"; $sql = "SELECT sum(pl.amount), count(pl.amount)";
@ -124,13 +121,15 @@ else
{ {
dolibarr_print_error($db); dolibarr_print_error($db);
} }
/* /*
* *
* Stats sur les rejets * Stats sur les rejets
* *
*/ */
print '<br />'; print '<br />';
print_titre("Statistiques des rejets de prélèvements"); print_titre($langs->trans("WithdrawRejectStatistics"));
$sql = "SELECT sum(pl.amount), count(pl.amount)"; $sql = "SELECT sum(pl.amount), count(pl.amount)";

View File

@ -528,12 +528,12 @@ class MenuLeft {
$newmenu->add(DOL_URL_ROOT."/compta/prelevement/index.php?leftmenu=withdraw",$langs->trans("StandingOrders"),0,$user->rights->prelevement->bons->lire); $newmenu->add(DOL_URL_ROOT."/compta/prelevement/index.php?leftmenu=withdraw",$langs->trans("StandingOrders"),0,$user->rights->prelevement->bons->lire);
if ($leftmenu=="withdraw") $newmenu->add_submenu(DOL_URL_ROOT."/compta/prelevement/create.php",$langs->trans("NewStandingOrder"),1,$user->rights->prelevement->bons->creer);
//if ($leftmenu=="withdraw") $newmenu->add_submenu(DOL_URL_ROOT."/compta/prelevement/demandes.php",$langs->trans("StandingOrder"),1,$user->rights->prelevement->bons->lire); //if ($leftmenu=="withdraw") $newmenu->add_submenu(DOL_URL_ROOT."/compta/prelevement/demandes.php",$langs->trans("StandingOrder"),1,$user->rights->prelevement->bons->lire);
if ($leftmenu=="withdraw") $newmenu->add_submenu(DOL_URL_ROOT."/compta/prelevement/demandes.php?status=0",$langs->trans("StandingOrderToProcess"),1,$user->rights->prelevement->bons->lire); if ($leftmenu=="withdraw") $newmenu->add_submenu(DOL_URL_ROOT."/compta/prelevement/demandes.php?status=0",$langs->trans("StandingOrderToProcess"),1,$user->rights->prelevement->bons->lire);
//if ($leftmenu=="withdraw") $newmenu->add_submenu(DOL_URL_ROOT."/compta/prelevement/demandes.php?status=1",$langs->trans("StandingOrderProcessed"),2,$user->rights->prelevement->bons->lire); //if ($leftmenu=="withdraw") $newmenu->add_submenu(DOL_URL_ROOT."/compta/prelevement/demandes.php?status=1",$langs->trans("StandingOrderProcessed"),2,$user->rights->prelevement->bons->lire);
if ($leftmenu=="withdraw") $newmenu->add_submenu(DOL_URL_ROOT."/compta/prelevement/create.php",$langs->trans("NewStandingOrder"),1,$user->rights->prelevement->bons->creer);
if ($leftmenu=="withdraw") $newmenu->add_submenu(DOL_URL_ROOT."/compta/prelevement/bons.php",$langs->trans("WithdrawalsReceipts"),1,$user->rights->prelevement->bons->lire); if ($leftmenu=="withdraw") $newmenu->add_submenu(DOL_URL_ROOT."/compta/prelevement/bons.php",$langs->trans("WithdrawalsReceipts"),1,$user->rights->prelevement->bons->lire);
if ($leftmenu=="withdraw") $newmenu->add_submenu(DOL_URL_ROOT."/compta/prelevement/liste.php",$langs->trans("WithdrawalsLines"),1,$user->rights->prelevement->bons->lire); if ($leftmenu=="withdraw") $newmenu->add_submenu(DOL_URL_ROOT."/compta/prelevement/liste.php",$langs->trans("WithdrawalsLines"),1,$user->rights->prelevement->bons->lire);
if ($leftmenu=="withdraw") $newmenu->add_submenu(DOL_URL_ROOT."/compta/prelevement/liste_factures.php",$langs->trans("WithdrawedBills"),1,$user->rights->prelevement->bons->lire); if ($leftmenu=="withdraw") $newmenu->add_submenu(DOL_URL_ROOT."/compta/prelevement/liste_factures.php",$langs->trans("WithdrawedBills"),1,$user->rights->prelevement->bons->lire);

View File

@ -510,12 +510,12 @@ class MenuLeft {
$newmenu->add(DOL_URL_ROOT."/compta/prelevement/index.php?leftmenu=withdraw",$langs->trans("StandingOrders"),0,$user->rights->prelevement->bons->lire); $newmenu->add(DOL_URL_ROOT."/compta/prelevement/index.php?leftmenu=withdraw",$langs->trans("StandingOrders"),0,$user->rights->prelevement->bons->lire);
if ($leftmenu=="withdraw") $newmenu->add_submenu(DOL_URL_ROOT."/compta/prelevement/create.php",$langs->trans("NewStandingOrder"),1,$user->rights->prelevement->bons->creer);
//if ($leftmenu=="withdraw") $newmenu->add_submenu(DOL_URL_ROOT."/compta/prelevement/demandes.php",$langs->trans("StandingOrder"),1,$user->rights->prelevement->bons->lire); //if ($leftmenu=="withdraw") $newmenu->add_submenu(DOL_URL_ROOT."/compta/prelevement/demandes.php",$langs->trans("StandingOrder"),1,$user->rights->prelevement->bons->lire);
if ($leftmenu=="withdraw") $newmenu->add_submenu(DOL_URL_ROOT."/compta/prelevement/demandes.php?status=0",$langs->trans("StandingOrderToProcess"),1,$user->rights->prelevement->bons->lire); if ($leftmenu=="withdraw") $newmenu->add_submenu(DOL_URL_ROOT."/compta/prelevement/demandes.php?status=0",$langs->trans("StandingOrderToProcess"),1,$user->rights->prelevement->bons->lire);
//if ($leftmenu=="withdraw") $newmenu->add_submenu(DOL_URL_ROOT."/compta/prelevement/demandes.php?status=1",$langs->trans("StandingOrderProcessed"),2,$user->rights->prelevement->bons->lire); //if ($leftmenu=="withdraw") $newmenu->add_submenu(DOL_URL_ROOT."/compta/prelevement/demandes.php?status=1",$langs->trans("StandingOrderProcessed"),2,$user->rights->prelevement->bons->lire);
if ($leftmenu=="withdraw") $newmenu->add_submenu(DOL_URL_ROOT."/compta/prelevement/create.php",$langs->trans("NewStandingOrder"),1,$user->rights->prelevement->bons->creer);
if ($leftmenu=="withdraw") $newmenu->add_submenu(DOL_URL_ROOT."/compta/prelevement/bons.php",$langs->trans("WithdrawalsReceipts"),1,$user->rights->prelevement->bons->lire); if ($leftmenu=="withdraw") $newmenu->add_submenu(DOL_URL_ROOT."/compta/prelevement/bons.php",$langs->trans("WithdrawalsReceipts"),1,$user->rights->prelevement->bons->lire);
if ($leftmenu=="withdraw") $newmenu->add_submenu(DOL_URL_ROOT."/compta/prelevement/liste.php",$langs->trans("WithdrawalsLines"),1,$user->rights->prelevement->bons->lire); if ($leftmenu=="withdraw") $newmenu->add_submenu(DOL_URL_ROOT."/compta/prelevement/liste.php",$langs->trans("WithdrawalsLines"),1,$user->rights->prelevement->bons->lire);
if ($leftmenu=="withdraw") $newmenu->add_submenu(DOL_URL_ROOT."/compta/prelevement/liste_factures.php",$langs->trans("WithdrawedBills"),1,$user->rights->prelevement->bons->lire); if ($leftmenu=="withdraw") $newmenu->add_submenu(DOL_URL_ROOT."/compta/prelevement/liste_factures.php",$langs->trans("WithdrawedBills"),1,$user->rights->prelevement->bons->lire);

View File

@ -16,3 +16,11 @@ RequestStandingOrderToTreat=Request for standing orders to treat
RequestStandingOrderTreated=Request for standing orders treated RequestStandingOrderTreated=Request for standing orders treated
CustomersStandingOrders=Customer standing orders CustomersStandingOrders=Customer standing orders
CustomerStandingOrder=Customer standing order CustomerStandingOrder=Customer standing order
NbOfInvoiceToWithdraw=Nb of invoice to withdraw
AmountToWithdraw=Amount to withdraw
WithdrawsRefused=Withdraws refused
NoInvoiceToWithdraw=No invoice in payment mode "withdraw" is waiting
ResponsibleUser=Responsible user
WithdrawalsSetup=Withdrawal setup
WithdrawStatistics=Withdraws' statistics
WithdrawRejectStatistics=Withdraw rejects' statistics

View File

@ -16,3 +16,11 @@ RequestStandingOrderToTreat=Demandes de pr
RequestStandingOrderTreated=Demandes de prélèvements traitées RequestStandingOrderTreated=Demandes de prélèvements traitées
CustomersStandingOrders=Prélèvements clients CustomersStandingOrders=Prélèvements clients
CustomerStandingOrder=Prélèvement client CustomerStandingOrder=Prélèvement client
NbOfInvoiceToWithdraw=Nb de facture à prélever
AmountToWithdraw=Somme à prélever
WithdrawsRefused=Prélèvements rejetés
NoInvoiceToWithdraw=Aucune facture en mode de paiement 'Prélevement' n'a de demande de prélèvements en attente
ResponsibleUser=Utilisateur responsable des prélèvements
WithdrawalsSetup=Configuration des prélèvements
WithdrawStatistics=Statistiques des prélèvements
WithdrawRejectStatistics=Statistiques des rejets de prélèvements