Merge pull request #145 from viniciusvgn/develop
Fix: Problem Loading The Type of Payment
This commit is contained in:
commit
3d3b939c4c
@ -1,7 +1,8 @@
|
|||||||
<?php
|
<?php
|
||||||
/* Copyright (C) 2001-2002 Rodolphe Quiedeville <rodolphe@quiedeville.org>
|
/* Copyright (C) 2001-2002 Rodolphe Quiedeville <rodolphe@quiedeville.org>
|
||||||
* Copyright (C) 2004-2008 Laurent Destailleur <eldy@users.sourceforge.net>
|
* Copyright (C) 2004-2008 Laurent Destailleur <eldy@users.sourceforge.net>
|
||||||
* Copytight (C) 2005-2010 Regis Houssin <regis@dolibarr.fr>
|
* 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
|
* 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
|
* it under the terms of the GNU General Public License as published by
|
||||||
@ -211,7 +212,7 @@ if ($resql)
|
|||||||
|
|
||||||
// Payment type
|
// Payment type
|
||||||
print "<td align=\"center\">";
|
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 ' '; //$langs->trans("InitialBankBalance");
|
if ($labeltype == 'SOLD') print ' '; //$langs->trans("InitialBankBalance");
|
||||||
else print $labeltype;
|
else print $labeltype;
|
||||||
print "</td>\n";
|
print "</td>\n";
|
||||||
|
|||||||
@ -13,6 +13,8 @@ BillsUnpayed=Pendentes de Pagamento
|
|||||||
BillsLate=Atrasos de Pagamento
|
BillsLate=Atrasos de Pagamento
|
||||||
BillsStatistics=Estatísticas faturas a clientes
|
BillsStatistics=Estatísticas faturas a clientes
|
||||||
BillsStatisticsSuppliers=Estatísticas faturas de Fornecedores
|
BillsStatisticsSuppliers=Estatísticas faturas de Fornecedores
|
||||||
|
RelatedBill=Fatura Anexo
|
||||||
|
RelatedBills=Faturas Anexos
|
||||||
InvoiceStandard=Fatura Standard
|
InvoiceStandard=Fatura Standard
|
||||||
InvoiceStandardAsk=Fatura Standard
|
InvoiceStandardAsk=Fatura Standard
|
||||||
InvoiceStandardDesc=Este tipo de fatura é a fatura tradicional. Também é conhecida como <b>Fatura de Débito</b>.
|
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
|
AmountExpected=Valor Reclamado
|
||||||
ExcessReceived=Recebido em Excesso
|
ExcessReceived=Recebido em Excesso
|
||||||
EscompteOffered=Desconto (Pronto pagamento)
|
EscompteOffered=Desconto (Pronto pagamento)
|
||||||
CreateDraft=Criar Rascunho
|
|
||||||
CreateeDraft=Criar Rascunho
|
|
||||||
SendBillRef=Enviar Fatura %s
|
SendBillRef=Enviar Fatura %s
|
||||||
SendReminderBillRef=Lembrete Fatura %s
|
SendReminderBillRef=Lembrete Fatura %s
|
||||||
StandingOrders=Débitos Diretos
|
StandingOrders=Débitos Diretos
|
||||||
|
|||||||
0
htdocs/langs/pt_BR/categories.lang
Normal file → Executable file
0
htdocs/langs/pt_BR/categories.lang
Normal file → Executable file
0
htdocs/langs/pt_BR/contracts.lang
Normal file → Executable file
0
htdocs/langs/pt_BR/contracts.lang
Normal file → Executable file
0
htdocs/langs/pt_BR/deliveries.lang
Normal file → Executable file
0
htdocs/langs/pt_BR/deliveries.lang
Normal file → Executable file
0
htdocs/langs/pt_BR/dict.lang
Normal file → Executable file
0
htdocs/langs/pt_BR/dict.lang
Normal file → Executable file
0
htdocs/langs/pt_BR/donations.lang
Normal file → Executable file
0
htdocs/langs/pt_BR/donations.lang
Normal file → Executable file
0
htdocs/langs/pt_BR/ecm.lang
Normal file → Executable file
0
htdocs/langs/pt_BR/ecm.lang
Normal file → Executable file
0
htdocs/langs/pt_BR/errors.lang
Normal file → Executable file
0
htdocs/langs/pt_BR/errors.lang
Normal file → Executable file
0
htdocs/langs/pt_BR/exports.lang
Normal file → Executable file
0
htdocs/langs/pt_BR/exports.lang
Normal file → Executable file
0
htdocs/langs/pt_BR/google.lang
Normal file → Executable file
0
htdocs/langs/pt_BR/google.lang
Normal file → Executable file
0
htdocs/langs/pt_BR/help.lang
Normal file → Executable file
0
htdocs/langs/pt_BR/help.lang
Normal file → Executable file
0
htdocs/langs/pt_BR/install.lang
Normal file → Executable file
0
htdocs/langs/pt_BR/install.lang
Normal file → Executable file
0
htdocs/langs/pt_BR/interventions.lang
Normal file → Executable file
0
htdocs/langs/pt_BR/interventions.lang
Normal file → Executable file
0
htdocs/langs/pt_BR/ldap.lang
Normal file → Executable file
0
htdocs/langs/pt_BR/ldap.lang
Normal file → Executable file
0
htdocs/langs/pt_BR/mails.lang
Normal file → Executable file
0
htdocs/langs/pt_BR/mails.lang
Normal file → Executable file
@ -1,4 +1,5 @@
|
|||||||
# Dolibarr language file - pt_BR rev. 0.0 - main
|
# Dolibarr language file - pt_BR rev. 0.0 - main
|
||||||
|
# 2012 Vinícius Nogueira <viniciusvgn@gmail.com>
|
||||||
CHARSET=UTF-8
|
CHARSET=UTF-8
|
||||||
SeparatorDecimal=,
|
SeparatorDecimal=,
|
||||||
SeparatorThousand=.
|
SeparatorThousand=.
|
||||||
@ -279,6 +280,7 @@ ActionRunningShort=Iniciado
|
|||||||
ActionDoneShort=Terminado
|
ActionDoneShort=Terminado
|
||||||
CompanyFundation=Empresa ou Instituição
|
CompanyFundation=Empresa ou Instituição
|
||||||
ContactsForCompany=Contatos desta empresa
|
ContactsForCompany=Contatos desta empresa
|
||||||
|
ContactsAddressesForCompany=Contatos/Endereços do Cliente ou Fornecedor
|
||||||
ActionsOnCompany=Ações nesta sociedade
|
ActionsOnCompany=Ações nesta sociedade
|
||||||
NActions=%s ações
|
NActions=%s ações
|
||||||
NActionsLate=%s em atraso
|
NActionsLate=%s em atraso
|
||||||
@ -520,5 +522,6 @@ ShortThursday=Qui
|
|||||||
ShortFriday=Sex
|
ShortFriday=Sex
|
||||||
ShortSaturday=Sab
|
ShortSaturday=Sab
|
||||||
ShortSunday=Dom
|
ShortSunday=Dom
|
||||||
|
CreateDraft=Criar Rascunho
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
0
htdocs/langs/pt_BR/members.lang
Normal file → Executable file
0
htdocs/langs/pt_BR/members.lang
Normal file → Executable file
0
htdocs/langs/pt_BR/oscommerce.lang
Normal file → Executable file
0
htdocs/langs/pt_BR/oscommerce.lang
Normal file → Executable file
0
htdocs/langs/pt_BR/paybox.lang
Normal file → Executable file
0
htdocs/langs/pt_BR/paybox.lang
Normal file → Executable file
1
htdocs/langs/pt_BR/propal.lang
Normal file → Executable file
1
htdocs/langs/pt_BR/propal.lang
Normal file → Executable file
@ -1,4 +1,5 @@
|
|||||||
# Dolibarr language file - pt_BR rev. 0.0 - propal
|
# Dolibarr language file - pt_BR rev. 0.0 - propal
|
||||||
|
# 2012 Vinícius Nogueira <viniciusvgn@gmail.com>
|
||||||
CHARSET=UTF-8
|
CHARSET=UTF-8
|
||||||
Proposals=Orçamentos
|
Proposals=Orçamentos
|
||||||
Proposal=Orçamento
|
Proposal=Orçamento
|
||||||
|
|||||||
1
htdocs/langs/pt_BR/sendings.lang
Normal file → Executable file
1
htdocs/langs/pt_BR/sendings.lang
Normal file → Executable file
@ -1,4 +1,5 @@
|
|||||||
# Dolibarr language file - pt_BR rev. 0.0 - sendings
|
# Dolibarr language file - pt_BR rev. 0.0 - sendings
|
||||||
|
# 2012 Vinícius Nogueira <viniciusvgn@gmail.com>
|
||||||
CHARSET=UTF-8
|
CHARSET=UTF-8
|
||||||
RefSending=Ref. Envio
|
RefSending=Ref. Envio
|
||||||
Sending=Envio
|
Sending=Envio
|
||||||
|
|||||||
0
htdocs/langs/pt_BR/shop.lang
Normal file → Executable file
0
htdocs/langs/pt_BR/shop.lang
Normal file → Executable file
0
htdocs/langs/pt_BR/stocks.lang
Normal file → Executable file
0
htdocs/langs/pt_BR/stocks.lang
Normal file → Executable file
0
htdocs/langs/pt_BR/suppliers.lang
Normal file → Executable file
0
htdocs/langs/pt_BR/suppliers.lang
Normal file → Executable file
0
htdocs/langs/pt_BR/teste.lang
Normal file → Executable file
0
htdocs/langs/pt_BR/teste.lang
Normal file → Executable file
0
htdocs/langs/pt_BR/trips.lang
Normal file → Executable file
0
htdocs/langs/pt_BR/trips.lang
Normal file → Executable file
0
htdocs/langs/pt_BR/users.lang
Normal file → Executable file
0
htdocs/langs/pt_BR/users.lang
Normal file → Executable file
0
htdocs/langs/pt_BR/withdrawals.lang
Normal file → Executable file
0
htdocs/langs/pt_BR/withdrawals.lang
Normal file → Executable file
Loading…
Reference in New Issue
Block a user