Translation BIC/SWIFT

This commit is contained in:
Laurent Destailleur 2008-10-19 20:53:28 +00:00
parent 972b60fe4c
commit 4d97b3fc37
14 changed files with 103 additions and 102 deletions

View File

@ -56,7 +56,7 @@ class Account extends CommonObject
var $number; var $number;
//! Cle de controle du RIB //! Cle de controle du RIB
var $cle_rib; var $cle_rib;
//! Numero BIC du compte //! Numero BIC/SWIFT du compte
var $bic; var $bic;
//! Prefix IBAN a utiliser pour creer la cle IBAN International Bank Account Number //! Prefix IBAN a utiliser pour creer la cle IBAN International Bank Account Number
var $iban_prefix; var $iban_prefix;

View File

@ -412,9 +412,9 @@ class pdf_muscadet extends ModelePDFSuppliersOrders
$pdf->SetXY ($this->marges['g'], $cury+12); $pdf->SetXY ($this->marges['g'], $cury+12);
$pdf->MultiCell(90, 3, "Domiciliation : " . $account->domiciliation, 0, 'L', 0); $pdf->MultiCell(90, 3, "Domiciliation : " . $account->domiciliation, 0, 'L', 0);
$pdf->SetXY ($this->marges['g'], $cury+22); $pdf->SetXY ($this->marges['g'], $cury+22);
$pdf->MultiCell(90, 3, "Prefix IBAN : " . $account->iban_prefix, 0, 'L', 0); $pdf->MultiCell(90, 3, $outputlangs->trans("IBAN")." : " . $account->iban_prefix, 0, 'L', 0);
$pdf->SetXY ($this->marges['g'], $cury+25); $pdf->SetXY ($this->marges['g'], $cury+25);
$pdf->MultiCell(90, 3, "BIC : " . $account->bic, 0, 'L', 0); $pdf->MultiCell(90, 3, $outputlangs->trans("BIC")." : " . $account->bic, 0, 'L', 0);
} }
} }

View File

@ -203,7 +203,7 @@ class pdf_huitre extends ModelePDFFactures
if ($nexY > 200 && $i < $nblignes - 1) if ($nexY > 200 && $i < $nblignes - 1)
{ {
$this->_tableau($pdf, $tab_top, $tab_height, $nexY); $this->_tableau($pdf, $tab_top, $tab_height, $nexY, $outputlangs);
$pdf->AddPage(); $pdf->AddPage();
$nexY = $iniY; $nexY = $iniY;
$this->_pagehead($pdf, $fac, $outputlangs); $this->_pagehead($pdf, $fac, $outputlangs);
@ -212,11 +212,11 @@ class pdf_huitre extends ModelePDFFactures
} }
} }
$this->_tableau($pdf, $tab_top, $tab_height, $nexY); $this->_tableau($pdf, $tab_top, $tab_height, $nexY, $outputlangs);
$this->_tableau_tot($pdf, $fac); $this->_tableau_tot($pdf, $fac, $outputlangs);
$this->_tableau_compl($pdf, $fac); $this->_tableau_compl($pdf, $fac, $outputlangs);
/* /*
* *
@ -230,15 +230,15 @@ class pdf_huitre extends ModelePDFFactures
$pdf->SetXY (10, 40); $pdf->SetXY (10, 40);
$pdf->SetFont('Arial','U',8); $pdf->SetFont('Arial','U',8);
$pdf->MultiCell(40, 4, $langs->transnoentities("BankDetails"), 0, 'L', 0); $pdf->MultiCell(40, 4, $outputlangs->transnoentities("BankDetails"), 0, 'L', 0);
$pdf->SetFont('Arial','',8); $pdf->SetFont('Arial','',8);
$pdf->MultiCell(40, 4, $langs->transnoentities("BankCode").' : ' . $account->code_banque, 0, 'L', 0); $pdf->MultiCell(40, 4, $outputlangs->transnoentities("BankCode").' : ' . $account->code_banque, 0, 'L', 0);
$pdf->MultiCell(40, 4, $langs->transnoentities("DeskCode").' : ' . $account->code_guichet, 0, 'L', 0); $pdf->MultiCell(40, 4, $outputlangs->transnoentities("DeskCode").' : ' . $account->code_guichet, 0, 'L', 0);
$pdf->MultiCell(50, 4, $langs->transnoentities("BankAccountNumber").' : ' . $account->number, 0, 'L', 0); $pdf->MultiCell(50, 4, $outputlangs->transnoentities("BankAccountNumber").' : ' . $account->number, 0, 'L', 0);
$pdf->MultiCell(40, 4, $langs->transnoentities("BankAccountNumberKey").' : ' . $account->cle_rib, 0, 'L', 0); $pdf->MultiCell(40, 4, $outputlangs->transnoentities("BankAccountNumberKey").' : ' . $account->cle_rib, 0, 'L', 0);
$pdf->MultiCell(40, 4, $langs->transnoentities("Residence").' : ' . $account->domiciliation, 0, 'L', 0); $pdf->MultiCell(40, 4, $outputlangs->transnoentities("Residence").' : ' . $account->domiciliation, 0, 'L', 0);
$pdf->MultiCell(40, 4, $langs->transnoentities("IbanPrefix").' : ' . $account->iban_prefix, 0, 'L', 0); $pdf->MultiCell(40, 4, $outputlangs->transnoentities("IbanPrefix").' : ' . $account->iban_prefix, 0, 'L', 0);
$pdf->MultiCell(40, 4, $langs->transnoentities("BIC").' : ' . $account->bic, 0, 'L', 0); $pdf->MultiCell(40, 4, $outputlangs->transnoentities("BIC").' : ' . $account->bic, 0, 'L', 0);
} }
} }
@ -251,7 +251,7 @@ class pdf_huitre extends ModelePDFFactures
{ {
$pdf->SetFont('Arial','',7); $pdf->SetFont('Arial','',7);
$pdf->SetXY(10, 211); $pdf->SetXY(10, 211);
$note = $langs->transnoentities("Note").' : '.$fac->note_public; $note = $outputlangs->transnoentities("Note").' : '.$fac->note_public;
$pdf->MultiCell(110, 3, $note, 0, 'J'); $pdf->MultiCell(110, 3, $note, 0, 'J');
} }
@ -343,7 +343,7 @@ class pdf_huitre extends ModelePDFFactures
$this->_out(sprintf('%.2f %.2f %.2f %.2f %.2f %.2f c ', $x1*$this->k, ($h-$y1)*$this->k, $this->_out(sprintf('%.2f %.2f %.2f %.2f %.2f %.2f c ', $x1*$this->k, ($h-$y1)*$this->k,
$x2*$this->k, ($h-$y2)*$this->k, $x3*$this->k, ($h-$y3)*$this->k)); $x2*$this->k, ($h-$y2)*$this->k, $x3*$this->k, ($h-$y3)*$this->k));
} }
///////////////////////////////
function _tableau_compl(&$pdf, $fac) function _tableau_compl(&$pdf, $fac)
{ {
global $langs; global $langs;
@ -377,7 +377,7 @@ class pdf_huitre extends ModelePDFFactures
* \param pdf objet PDF * \param pdf objet PDF
* \param fac objet facture * \param fac objet facture
*/ */
function _tableau_tot(&$pdf, $fac) function _tableau_tot(&$pdf, $fac, $outputlangs)
{ {
global $langs; global $langs;
$langs->load("main"); $langs->load("main");
@ -396,7 +396,7 @@ class pdf_huitre extends ModelePDFFactures
// $pdf->line(132, $tab2_top + $tab2_height - 7, 200, $tab2_top + $tab2_height - 7 ); // $pdf->line(132, $tab2_top + $tab2_height - 7, 200, $tab2_top + $tab2_height - 7 );
$pdf->SetXY (132, $tab2_top + 0); $pdf->SetXY (132, $tab2_top + 0);
$pdf->MultiCell(42, $tab2_hl, $langs->transnoentities("TotalHT"), 0, 'R', 0); $pdf->MultiCell(42, $tab2_hl, $outputlangs->transnoentities("TotalHT"), 0, 'R', 0);
$pdf->SetXY (174, $tab2_top + 0); $pdf->SetXY (174, $tab2_top + 0);
$pdf->MultiCell(26, $tab2_hl, price($fac->total_ht + $fac->remise), 0, 'R', 0); $pdf->MultiCell(26, $tab2_hl, price($fac->total_ht + $fac->remise), 0, 'R', 0);
@ -404,13 +404,13 @@ class pdf_huitre extends ModelePDFFactures
$index = 1; $index = 1;
$pdf->SetXY (132, $tab2_top + $tab2_hl * $index); $pdf->SetXY (132, $tab2_top + $tab2_hl * $index);
$pdf->MultiCell(42, $tab2_hl, $langs->transnoentities("TotalVAT"), 0, 'R', 0); $pdf->MultiCell(42, $tab2_hl, $outputlangs->transnoentities("TotalVAT"), 0, 'R', 0);
$pdf->SetXY (174, $tab2_top + $tab2_hl * $index); $pdf->SetXY (174, $tab2_top + $tab2_hl * $index);
$pdf->MultiCell(26, $tab2_hl, price($fac->total_tva), 0, 'R', 0); $pdf->MultiCell(26, $tab2_hl, price($fac->total_tva), 0, 'R', 0);
$pdf->SetXY (132, $tab2_top + $tab2_hl * ($index+1)); $pdf->SetXY (132, $tab2_top + $tab2_hl * ($index+1));
$pdf->MultiCell(42, $tab2_hl, $langs->transnoentities("TotalTTC"), 0, 'R', 1); $pdf->MultiCell(42, $tab2_hl, $outputlangs->transnoentities("TotalTTC"), 0, 'R', 1);
$pdf->SetXY (174, $tab2_top + $tab2_hl * ($index+1)); $pdf->SetXY (174, $tab2_top + $tab2_hl * ($index+1));
$pdf->MultiCell(26, $tab2_hl, price($fac->total_ttc), 0, 'R', 1); $pdf->MultiCell(26, $tab2_hl, price($fac->total_ttc), 0, 'R', 1);
@ -420,13 +420,13 @@ class pdf_huitre extends ModelePDFFactures
if ($deja_regle > 0) if ($deja_regle > 0)
{ {
$pdf->SetXY (132, $tab2_top + $tab2_hl * ($index+2)); $pdf->SetXY (132, $tab2_top + $tab2_hl * ($index+2));
$pdf->MultiCell(42, $tab2_hl, $langs->transnoentities("AlreadyPayed"), 0, 'R', 0); $pdf->MultiCell(42, $tab2_hl, $outputlangs->transnoentities("AlreadyPayed"), 0, 'R', 0);
$pdf->SetXY (174, $tab2_top + $tab2_hl * ($index+2)); $pdf->SetXY (174, $tab2_top + $tab2_hl * ($index+2));
$pdf->MultiCell(26, $tab2_hl, price($deja_regle), 0, 'R', 0); $pdf->MultiCell(26, $tab2_hl, price($deja_regle), 0, 'R', 0);
$pdf->SetXY (132, $tab2_top + $tab2_hl * ($index+3)); $pdf->SetXY (132, $tab2_top + $tab2_hl * ($index+3));
$pdf->MultiCell(42, $tab2_hl, $langs->transnoentities("RemainderToPay"), 0, 'R', 1); $pdf->MultiCell(42, $tab2_hl, $outputlangs->transnoentities("RemainderToPay"), 0, 'R', 1);
$pdf->SetXY (174, $tab2_top + $tab2_hl * ($index+3)); $pdf->SetXY (174, $tab2_top + $tab2_hl * ($index+3));
$pdf->MultiCell(26, $tab2_hl, price($fac->total_ttc - $deja_regle), 0, 'R', 1); $pdf->MultiCell(26, $tab2_hl, price($fac->total_ttc - $deja_regle), 0, 'R', 1);
@ -436,7 +436,7 @@ class pdf_huitre extends ModelePDFFactures
* \brief Affiche la grille des lignes de factures * \brief Affiche la grille des lignes de factures
* \param pdf objet PDF * \param pdf objet PDF
*/ */
function _tableau(&$pdf, $tab_top, $tab_height, $nexY) function _tableau(&$pdf, $tab_top, $tab_height, $nexY, $outputlangs)
{ {
global $langs; global $langs;
$langs->load("main"); $langs->load("main");
@ -444,19 +444,19 @@ class pdf_huitre extends ModelePDFFactures
$pdf->SetFont('Arial','',10); $pdf->SetFont('Arial','',10);
$pdf->Text(11,$tab_top + 5,$langs->transnoentities("Designation")); $pdf->Text(11,$tab_top + 5,$outputlangs->transnoentities("Designation"));
$pdf->line(132, $tab_top, 132, $tab_top + $tab_height); $pdf->line(132, $tab_top, 132, $tab_top + $tab_height);
$pdf->Text(134,$tab_top + 5,$langs->transnoentities("VAT")); $pdf->Text(134,$tab_top + 5,$outputlangs->transnoentities("VAT"));
$pdf->line(144, $tab_top, 144, $tab_top + $tab_height); $pdf->line(144, $tab_top, 144, $tab_top + $tab_height);
$pdf->Text(147,$tab_top + 5,$langs->transnoentities("Qty")); $pdf->Text(147,$tab_top + 5,$outputlangs->transnoentities("Qty"));
$pdf->line(156, $tab_top, 156, $tab_top + $tab_height); $pdf->line(156, $tab_top, 156, $tab_top + $tab_height);
$pdf->Text(160,$tab_top + 5,$langs->transnoentities("PriceU")); $pdf->Text(160,$tab_top + 5,$outputlangs->transnoentities("PriceU"));
$pdf->line(174, $tab_top, 174, $tab_top + $tab_height); $pdf->line(174, $tab_top, 174, $tab_top + $tab_height);
$pdf->Text(187,$tab_top + 5,$langs->transnoentities("Total")); $pdf->Text(187,$tab_top + 5,$outputlangs->transnoentities("Total"));
$pdf->Rect(10, $tab_top, 190, $tab_height); $pdf->Rect(10, $tab_top, 190, $tab_height);
$pdf->line(10, $tab_top + 10, 200, $tab_top + 10 ); $pdf->line(10, $tab_top + 10, 200, $tab_top + 10 );
@ -601,10 +601,11 @@ class pdf_huitre extends ModelePDFFactures
} }
/* /**
* \brief Affiche le pied de page de la facture * \brief Affiche le pied de page de la facture
* \param pdf objet PDF * \param pdf object PDF
* \param fac objet facture * \param fac object invoice
* \param outputlangs object langs
*/ */
function _pagefoot(&$pdf, $fac, $outputlangs) function _pagefoot(&$pdf, $fac, $outputlangs)
{ {

View File

@ -29,7 +29,7 @@ ShowAllTimeBalance=Show balance from start
Reconciliation=Reconciliation Reconciliation=Reconciliation
RIB=RIB RIB=RIB
IBAN=IBAN number IBAN=IBAN number
BIC=BIC number BIC=BIC/SWIFT number
StandingOrders=Standing orders StandingOrders=Standing orders
StandingOrder=Standing order StandingOrder=Standing order
Withdrawals=Withdrawals Withdrawals=Withdrawals

View File

@ -276,7 +276,7 @@ BankAccountNumberKey=Key
Residence=Domiciliation Residence=Domiciliation
IbanPrefix=IBAN number IbanPrefix=IBAN number
IBAN=IBAN IBAN=IBAN
BIC=BIC BIC=BIC/SWIFT
ExtraInfos=Extra infos ExtraInfos=Extra infos
RegulatedOn=Regulated on RegulatedOn=Regulated on
ChequeNumber=Cheque N° ChequeNumber=Cheque N°

View File

@ -29,7 +29,7 @@ ShowAllTimeBalance=Mostar balance desde principio
Reconciliation=Conciliación Reconciliation=Conciliación
RIB=CCC RIB=CCC
IBAN=Identificador IBAN IBAN=Identificador IBAN
BIC=Identificador BIC BIC=Identificador BIC/SWIFT
StandingOrders=Domiciliaciones StandingOrders=Domiciliaciones
StandingOrder=Domiciliación StandingOrder=Domiciliación
Withdrawals=Reintregros Withdrawals=Reintregros

View File

@ -299,7 +299,7 @@ BankAccountNumberKey=Llave RIB
Residence=Domiciliación Residence=Domiciliación
IbanPrefix=Prefijo IBAN IbanPrefix=Prefijo IBAN
IBAN=IBAN IBAN=IBAN
BIC=BIC BIC=BIC/SWIFT
ExtraInfos=Informaciones complementarias ExtraInfos=Informaciones complementarias
RegulatedOn=Pagar el RegulatedOn=Pagar el
ChequeNumber=Cheque nº ChequeNumber=Cheque nº

View File

@ -24,7 +24,7 @@ EndBankBalance=
CurrentBalance=Équilibre courant CurrentBalance=Équilibre courant
RIB=RIB RIB=RIB
IBAN=IBAN IBAN=IBAN
BIC=BIC BIC=BIC/SWIFT
StandingOrders=Ordres permanents StandingOrders=Ordres permanents
StandingOrder=Ordre permanent StandingOrder=Ordre permanent
Withdrawals=Retraits Withdrawals=Retraits

View File

@ -217,7 +217,7 @@ BankAccountNumberKey=Cl
Residence=Domiciliation Residence=Domiciliation
IbanPrefix=Prefix IBAN IbanPrefix=Prefix IBAN
IBAN=IBAN IBAN=IBAN
BIC=BIC BIC=BIC/SWIFT
ExtraInfos=Informations complémentaires ExtraInfos=Informations complémentaires
RegulatedOn=Réglé le RegulatedOn=Réglé le
ChequeNumber=Chèque N° ChequeNumber=Chèque N°

View File

@ -29,7 +29,7 @@ ShowAllTimeBalance=Afficher solde depuis debut
Reconciliation=Rapprochement Reconciliation=Rapprochement
RIB=RIB RIB=RIB
IBAN=Identifiant IBAN IBAN=Identifiant IBAN
BIC=Identifiant BIC BIC=Identifiant BIC/SWIFT
StandingOrders=Prélèvements StandingOrders=Prélèvements
StandingOrder=Prélèvement StandingOrder=Prélèvement
Withdrawals=Retraits Withdrawals=Retraits

View File

@ -277,7 +277,7 @@ BankAccountNumberKey=Cl
Residence=Domiciliation Residence=Domiciliation
IbanPrefix=Prefix IBAN IbanPrefix=Prefix IBAN
IBAN=IBAN IBAN=IBAN
BIC=BIC BIC=BIC/SWIFT
ExtraInfos=Informations complémentaires ExtraInfos=Informations complémentaires
RegulatedOn=Réglé le RegulatedOn=Réglé le
ChequeNumber=Chèque N° ChequeNumber=Chèque N°

View File

@ -272,7 +272,7 @@ BankAccountNumberKey =Chiave
Residence =Domiciliazione Residence =Domiciliazione
IbanPrefix =Codice IBAN IbanPrefix =Codice IBAN
IBAN =IBAN IBAN =IBAN
BIC =BIC BIC =BIC/SWIFT
ExtraInfos =Extra info ExtraInfos =Extra info
RegulatedOn =Regolamentato su RegulatedOn =Regolamentato su
ChequeNumber =Assegno N° ChequeNumber =Assegno N°

View File

@ -223,7 +223,7 @@ BankAccountNumberKey=Key
Residence=Domiciliation Residence=Domiciliation
IbanPrefix=IBAN nummer IbanPrefix=IBAN nummer
IBAN=IBAN IBAN=IBAN
BIC=BIC BIC=BIC/SWIFT
ExtraInfos=Extra info ExtraInfos=Extra info
RegulatedOn=Regulariseerd op RegulatedOn=Regulariseerd op
ChequeNumber=Cheque N° ChequeNumber=Cheque N°

View File

@ -6,7 +6,7 @@ BankAccounts=Contas banc
MainAccount=Conta principal MainAccount=Conta principal
RIB=RIB RIB=RIB
IBAN=Número IBAN IBAN=Número IBAN
BIC=Número BIC BIC=Número BIC/SWIFT
StandingOrders=Compras pendentes StandingOrders=Compras pendentes
StandingOrder=Compra pendente StandingOrder=Compra pendente
Withdrawals=Levantamentos Withdrawals=Levantamentos