Add patch from Kim Tore Jensen

This commit is contained in:
Laurent Destailleur
2010-01-23 23:18:43 +00:00
parent 73c67bb575
commit 94b44739e5
6 changed files with 16 additions and 11 deletions

View File

@@ -518,6 +518,7 @@ class pdf_crabe extends ModelePDFFactures
$oper = 'CHQ';
break;
}
$oper = $outputlangs->transnoentities("PaymentTypeShort" . $oper);
$pdf->MultiCell(20, 3, $oper, 0, 'L', 0);
$pdf->SetXY ($tab3_posx+60, $tab3_top+$y);
$pdf->MultiCell(20, 3, $row[3], 0, 'L', 0);

View File

@@ -429,6 +429,7 @@ class pdf_oursin extends ModelePDFFactures
$oper = 'CHQ';
break;
}
$oper = $outputlangs->transnoentities("PaymentTypeShort" . $oper);
$pdf->MultiCell(20, 3, $oper, 0, 'L', 0);
$pdf->SetXY ($tab3_posx+60, $tab3_top+$y);
$pdf->MultiCell(20, 3, $row[3], 0, 'L', 0);

View File

@@ -32,6 +32,7 @@ CardBill=Fakturakort
PredefinedInvoices=Forhåndsdefinerte fakturaer
Invoice=Faktura
Invoices=Fakturaer
InvoiceDeposit=Faktura
InvoiceLine=Fakturalinje
InvoiceCustomer=Kundefaktura
CustomerInvoice=Kundefaktura
@@ -112,7 +113,7 @@ ErrorInvoiceAvoirMustBeNegative=Feil: Korrigeringsfaktura må ha negativt beløp
ErrorInvoiceOfThisTypeMustBePositive=Feil: Denne fakturatypen må ha postitivt beløp
ErrorCantCancelIfReplacementInvoiceNotValidated=Feil: Kan ikke kansellere en faktura som er erstattet av en annen faktura som fortsatt er i klademodus
BillFrom=Fra
BillTo=Fakturamottager
BillTo=Fakturamottaker
ActionsOnBill=Handlinger på faktura
NewBill=Ny faktura
Prélèvements=Utestående ordre
@@ -183,7 +184,7 @@ SendReminderBillByMail=Send påminnelse med e-post
RelatedCommercialProposals=Relaterte tilbud
MenuToValid=Til godkjenning
DateMaxPayment=Forfallsdato
DateEcheance=Forfallsadato
DateEcheance=Forfallsdato
DateInvoice=Fakturadato
NoInvoice=Ingen faktura
ClassifyBill=Klassifiser faktura
@@ -256,10 +257,10 @@ PaymentCondition60D=60 dager
PaymentConditionShort60DENDMONTH=Leveringsmåned + 60 dager
PaymentCondition60DENDMONTH=Leveringsmåned + 60 dager
# PaymentType
PaymentTypeVIR=Bankinnskudd
PaymentTypeShortVIR=Bankinskudd
PaymentTypePRE=Bankgiro
PaymentTypeShortPRE=Bankgiro
PaymentTypeVIR=Bankgiro
PaymentTypeShortVIR=Bankgiro
PaymentTypePRE=Bankinnskudd
PaymentTypeShortPRE=Bankinnskudd
PaymentTypeLIQ=Kontant
PaymentTypeShortLIQ=Kontant
PaymentTypeCB=Kredittkort
@@ -276,8 +277,8 @@ BankDetails=Bankopplysninger
BankCode=Bank code (ikke i Norge)
DeskCode=Desk code (ikke i Norge)
BankAccountNumber=Kontonummer
BankAccountNumberKey=Key (ikke i Norge)
Residence=Domiciliation (ikke i Norge)
BankAccountNumberKey=Nøkkel
Residence=Kontoadresse
IBANNumber=IBAN-nummer
IBAN=IBAN
BIC=BIC/SWIFT
@@ -297,7 +298,7 @@ IntracommunityVATNumber=Intracommunity number of VAT (ikke i Norge)
PaymentByChequeOrderedTo=Sjekkbetaling til %s send til
PaymentByChequeOrderedToShort=Sjekkbetaling til
SendTo=sendt til
PaymentByTransferOnThisBankAccount=Vennligst betal til følgende bakkonto
PaymentByTransferOnThisBankAccount=Vennligst betal til følgende bankkonto
VATIsNotUsedForInvoice=* Avgiftsfritt
LawApplicationPart1=Alle varer forblir vår eiendom
LawApplicationPart2=intil de er fullt ut betalt.

View File

@@ -255,6 +255,7 @@ CivilityMTRE=-
##### Currencies #####
Currencyeuros=Euro
CurrencyNOK=NOK
CurrencyAUD=Australske dollar
CurrencyCAD=Kanadiske dollar
CurrencyCHF=Sveitsiske franc

View File

@@ -375,7 +375,7 @@ File=Fil
Files=Filer
NotAllowed=Ikke tillatt
ReadPermissionNotAllowed=Lesetilgang ikke tillatt
AmountInCurrency=Beløp i %s valuta
AmountInCurrency=Beløp i %s
Example=Eksempel
NoExample=Ingen eksempler
FindBug=Rapporter en feil

View File

@@ -369,7 +369,8 @@ class DoliDb
}
else
{
$ret = mysql_db_query($this->database_name, $query, $this->db);
mysql_select_db($this->database_name);
$ret = mysql_query($query, $this->db);
}
if (! preg_match("/^COMMIT/i",$query) && ! preg_match("/^ROLLBACK/i",$query))