Merge pull request #145 from viniciusvgn/develop

Fix: Problem Loading The Type of Payment
This commit is contained in:
Laurent Destailleur 2012-04-05 15:20:23 -07:00
commit 3d3b939c4c
29 changed files with 12 additions and 6 deletions

View File

@ -1,7 +1,8 @@
<?php
/* Copyright (C) 2001-2002 Rodolphe Quiedeville <rodolphe@quiedeville.org>
* Copyright (C) 2004-2008 Laurent Destailleur <eldy@users.sourceforge.net>
* Copytight (C) 2005-2010 Regis Houssin <regis@dolibarr.fr>
/* Copyright (C) 2001-2002 Rodolphe Quiedeville <rodolphe@quiedeville.org>
* Copyright (C) 2004-2008 Laurent Destailleur <eldy@users.sourceforge.net>
* Copytight (C) 2005-2010 Regis Houssin <regis@dolibarr.fr>
* Copytight (C) 20012-2012 Vinícius Nogueira <viniciusvgn@gmail.com>
*
* 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
@ -211,7 +212,7 @@ if ($resql)
// Payment type
print "<td align=\"center\">";
$labeltype=$langs->getLabelFromKey($db,$objp->fk_type,'c_paiement','code','libelle');
$labeltype=($langs->trans("PaymentTypeShort".$objp->fk_type)!="PaymentTypeShort".$objp->fk_type)?$langs->trans("PaymentTypeShort".$objp->fk_type):$objp->fk_type;
if ($labeltype == 'SOLD') print '&nbsp;'; //$langs->trans("InitialBankBalance");
else print $labeltype;
print "</td>\n";

View File

@ -13,6 +13,8 @@ BillsUnpayed=Pendentes de Pagamento
BillsLate=Atrasos de Pagamento
BillsStatistics=Estatísticas faturas a clientes
BillsStatisticsSuppliers=Estatísticas faturas de Fornecedores
RelatedBill=Fatura Anexo
RelatedBills=Faturas Anexos
InvoiceStandard=Fatura Standard
InvoiceStandardAsk=Fatura Standard
InvoiceStandardDesc=Este tipo de fatura é a fatura tradicional. Também é conhecida como <b>Fatura de Débito</b>.
@ -184,8 +186,6 @@ RemainderToTake=Falta Cobrar
AmountExpected=Valor Reclamado
ExcessReceived=Recebido em Excesso
EscompteOffered=Desconto (Pronto pagamento)
CreateDraft=Criar Rascunho
CreateeDraft=Criar Rascunho
SendBillRef=Enviar Fatura %s
SendReminderBillRef=Lembrete Fatura %s
StandingOrders=Débitos Diretos

0
htdocs/langs/pt_BR/categories.lang Normal file → Executable file
View File

0
htdocs/langs/pt_BR/contracts.lang Normal file → Executable file
View File

0
htdocs/langs/pt_BR/deliveries.lang Normal file → Executable file
View File

0
htdocs/langs/pt_BR/dict.lang Normal file → Executable file
View File

0
htdocs/langs/pt_BR/donations.lang Normal file → Executable file
View File

0
htdocs/langs/pt_BR/ecm.lang Normal file → Executable file
View File

0
htdocs/langs/pt_BR/errors.lang Normal file → Executable file
View File

0
htdocs/langs/pt_BR/exports.lang Normal file → Executable file
View File

0
htdocs/langs/pt_BR/google.lang Normal file → Executable file
View File

0
htdocs/langs/pt_BR/help.lang Normal file → Executable file
View File

0
htdocs/langs/pt_BR/install.lang Normal file → Executable file
View File

0
htdocs/langs/pt_BR/interventions.lang Normal file → Executable file
View File

0
htdocs/langs/pt_BR/ldap.lang Normal file → Executable file
View File

0
htdocs/langs/pt_BR/mails.lang Normal file → Executable file
View File

View File

@ -1,4 +1,5 @@
# Dolibarr language file - pt_BR rev. 0.0 - main
# 2012 Vinícius Nogueira <viniciusvgn@gmail.com>
CHARSET=UTF-8
SeparatorDecimal=,
SeparatorThousand=.
@ -279,6 +280,7 @@ ActionRunningShort=Iniciado
ActionDoneShort=Terminado
CompanyFundation=Empresa ou Instituição
ContactsForCompany=Contatos desta empresa
ContactsAddressesForCompany=Contatos/Endereços do Cliente ou Fornecedor
ActionsOnCompany=Ações nesta sociedade
NActions=%s ações
NActionsLate=%s em atraso
@ -520,5 +522,6 @@ ShortThursday=Qui
ShortFriday=Sex
ShortSaturday=Sab
ShortSunday=Dom
CreateDraft=Criar Rascunho

0
htdocs/langs/pt_BR/members.lang Normal file → Executable file
View File

0
htdocs/langs/pt_BR/oscommerce.lang Normal file → Executable file
View File

0
htdocs/langs/pt_BR/paybox.lang Normal file → Executable file
View File

1
htdocs/langs/pt_BR/propal.lang Normal file → Executable file
View File

@ -1,4 +1,5 @@
# Dolibarr language file - pt_BR rev. 0.0 - propal
# 2012 Vinícius Nogueira <viniciusvgn@gmail.com>
CHARSET=UTF-8
Proposals=Orçamentos
Proposal=Orçamento

1
htdocs/langs/pt_BR/sendings.lang Normal file → Executable file
View File

@ -1,4 +1,5 @@
# Dolibarr language file - pt_BR rev. 0.0 - sendings
# 2012 Vinícius Nogueira <viniciusvgn@gmail.com>
CHARSET=UTF-8
RefSending=Ref. Envio
Sending=Envio

0
htdocs/langs/pt_BR/shop.lang Normal file → Executable file
View File

0
htdocs/langs/pt_BR/stocks.lang Normal file → Executable file
View File

0
htdocs/langs/pt_BR/suppliers.lang Normal file → Executable file
View File

0
htdocs/langs/pt_BR/teste.lang Normal file → Executable file
View File

0
htdocs/langs/pt_BR/trips.lang Normal file → Executable file
View File

0
htdocs/langs/pt_BR/users.lang Normal file → Executable file
View File

0
htdocs/langs/pt_BR/withdrawals.lang Normal file → Executable file
View File