Fixed translation problems with Prelevement module

This commit is contained in:
Marcos García 2013-01-09 21:33:55 +01:00
parent a1e17978d1
commit be40114541
4 changed files with 5 additions and 2 deletions

View File

@ -32,6 +32,7 @@ require_once DOL_DOCUMENT_ROOT.'/compta/paiement/class/paiement.class.php';
$langs->load("companies");
$langs->load("categories");
$langs->load('withdrawals');
// Securite acces client
if ($user->societe_id > 0) accessforbidden();

View File

@ -31,6 +31,7 @@ require_once DOL_DOCUMENT_ROOT.'/compta/prelevement/class/rejetprelevement.class
require_once DOL_DOCUMENT_ROOT.'/compta/paiement/class/paiement.class.php';
$langs->load("categories");
$langs->load('withdrawals');
// Securite acces client
if ($user->societe_id > 0) accessforbidden();

View File

@ -130,7 +130,7 @@ if ($action == 'infocredit' && $user->rights->prelevement->bons->credit)
$bon = new BonPrelevement($db,"");
$form = new Form($db);
llxHeader('',$langs->trans("WithdrawalReceipts"));
llxHeader('',$langs->trans("WithdrawalReceipt"));
if ($id > 0)
@ -138,7 +138,7 @@ if ($id > 0)
$bon->fetch($id);
$head = prelevement_prepare_head($bon);
dol_fiche_head($head, 'prelevement', $langs->trans("WithdrawalReceipts"), '', 'payment');
dol_fiche_head($head, 'prelevement', $langs->trans("WithdrawalReceipt"), '', 'payment');
if (GETPOST('error','alpha')!='')
{

View File

@ -35,6 +35,7 @@ require_once DOL_DOCUMENT_ROOT.'/compta/paiement/class/paiement.class.php';
if ($user->societe_id > 0) accessforbidden();
$langs->load("categories");
$langs->load('withdrawals');
// Get supervariables
$prev_id = GETPOST('id','int');