Merge pull request #508 from simnandez/develop
Fix: Add to areas not working if we navigate with shownavref
This commit is contained in:
commit
d30b74e69e
@ -62,10 +62,12 @@ For users:
|
|||||||
- New: Can choose menu entry to show with external site module.
|
- New: Can choose menu entry to show with external site module.
|
||||||
- New: Add hidden option MAIN_PDF_MARGIN_LEFT, MAIN_PDF_MARGIN_RIGHT, MAIN_PDF_MARGIN_TOP, MAIN_PDF_MARGIN_BOTTOM
|
- New: Add hidden option MAIN_PDF_MARGIN_LEFT, MAIN_PDF_MARGIN_RIGHT, MAIN_PDF_MARGIN_TOP, MAIN_PDF_MARGIN_BOTTOM
|
||||||
to force margins of generated PDF.
|
to force margins of generated PDF.
|
||||||
|
- New: [ task #314 ] Can define if prof id are mandatory or not
|
||||||
New experimental modules:
|
New experimental modules:
|
||||||
- New: Add margin management module.
|
- New: Add margin management module.
|
||||||
- New: Add commissions management module.
|
- New: Add commissions management module.
|
||||||
|
|
||||||
|
|
||||||
- Fix: [ bug #499 ]: Supplier order input method not translated
|
- Fix: [ bug #499 ]: Supplier order input method not translated
|
||||||
- Fix: No images into product description lines as PDF generation does
|
- Fix: No images into product description lines as PDF generation does
|
||||||
not work with this.
|
not work with this.
|
||||||
|
|||||||
@ -949,6 +949,7 @@ DocumentModelOdt=Generació des dels documents amb format OpenDocument (Arxiu .O
|
|||||||
WatermarkOnDraft=Marca d'aigua en els documents esborrany
|
WatermarkOnDraft=Marca d'aigua en els documents esborrany
|
||||||
CompanyIdProfChecker=Id Professional únic
|
CompanyIdProfChecker=Id Professional únic
|
||||||
MustBeUnique=Ha de ser únic?
|
MustBeUnique=Ha de ser únic?
|
||||||
|
MustBeMandatory=Ha de ser obligatori?
|
||||||
Miscellanous=Miscel·lània
|
Miscellanous=Miscel·lània
|
||||||
##### Webcal setup #####
|
##### Webcal setup #####
|
||||||
WebCalSetup=Configuració d'enllaç amb el calendari webcalendar
|
WebCalSetup=Configuració d'enllaç amb el calendari webcalendar
|
||||||
|
|||||||
@ -108,42 +108,49 @@ ProfId2AR=Ingressos bruts
|
|||||||
ProfId3AR=-
|
ProfId3AR=-
|
||||||
ProfId4AR=-
|
ProfId4AR=-
|
||||||
ProfId5AR=-
|
ProfId5AR=-
|
||||||
|
ProfId6AR=-
|
||||||
ProfId1AU=ABN
|
ProfId1AU=ABN
|
||||||
ProfId2AU=-
|
ProfId2AU=-
|
||||||
ProfId3AU=-
|
ProfId3AU=-
|
||||||
ProfId4AU=-
|
ProfId4AU=-
|
||||||
ProfId5AU=-
|
ProfId5AU=-
|
||||||
|
ProfId6AU=-
|
||||||
ProfId1BE=N° col·legiat
|
ProfId1BE=N° col·legiat
|
||||||
ProfId2BE=-
|
ProfId2BE=-
|
||||||
ProfId3BE=-
|
ProfId3BE=-
|
||||||
ProfId4BE=-
|
ProfId4BE=-
|
||||||
ProfId5BE=-
|
ProfId5BE=-
|
||||||
ProfId1BR=CNPJ
|
ProfId6BE=-
|
||||||
|
ProfId1BR=-
|
||||||
ProfId2BR=IE (Inscricao Estadual)
|
ProfId2BR=IE (Inscricao Estadual)
|
||||||
ProfId3BR=IM (Inscricao Municipal)
|
ProfId3BR=IM (Inscricao Municipal)
|
||||||
ProfId4BR=CPF
|
ProfId4BR=CPF
|
||||||
#ProfId5BR=CNAE=
|
#ProfId5BR=CNAE
|
||||||
#ProfId6BR=INSS=
|
#ProfId6BR=INSS
|
||||||
ProfId1CH=-
|
ProfId1CH=-
|
||||||
ProfId2CH=-
|
ProfId2CH=-
|
||||||
ProfId3CH=Número federat
|
ProfId3CH=Número federat
|
||||||
ProfId4CH=Num registre de comerç
|
ProfId4CH=Num registre de comerç
|
||||||
ProfId5CH=-
|
ProfId5CH=-
|
||||||
|
ProfId6CH=-
|
||||||
ProfId1CL=R.U.T.
|
ProfId1CL=R.U.T.
|
||||||
ProfId2CL=-
|
ProfId2CL=-
|
||||||
ProfId3CL=-
|
ProfId3CL=-
|
||||||
ProfId4CL=-
|
ProfId4CL=-
|
||||||
ProfId5CL=-
|
ProfId5CL=-
|
||||||
|
ProfId6CL=-
|
||||||
ProfId1CO=R.U.T.
|
ProfId1CO=R.U.T.
|
||||||
ProfId2CO=-
|
ProfId2CO=-
|
||||||
ProfId3CO=-
|
ProfId3CO=-
|
||||||
ProfId4CO=-
|
ProfId4CO=-
|
||||||
ProfId5CO=-
|
ProfId5CO=-
|
||||||
|
ProfId6CO=-
|
||||||
ProfId1DE=Id prof. 1 (USt.-IdNr)
|
ProfId1DE=Id prof. 1 (USt.-IdNr)
|
||||||
ProfId2DE=Id prof. 2 (USt.-Nr)
|
ProfId2DE=Id prof. 2 (USt.-Nr)
|
||||||
ProfId3DE=Id prof. 3 (Handelsregister-Nr.)
|
ProfId3DE=Id prof. 3 (Handelsregister-Nr.)
|
||||||
ProfId4DE=-
|
ProfId4DE=-
|
||||||
ProfId5DE=-
|
ProfId5DE=-
|
||||||
|
ProfId6DE=-
|
||||||
ProfId1ES=CIF/NIF
|
ProfId1ES=CIF/NIF
|
||||||
ProfId2ES=Núm seguretat social
|
ProfId2ES=Núm seguretat social
|
||||||
ProfId3ES=CNAE
|
ProfId3ES=CNAE
|
||||||
@ -161,51 +168,61 @@ ProfId2GB=-
|
|||||||
ProfId3GB=SIC
|
ProfId3GB=SIC
|
||||||
ProfId4GB=-
|
ProfId4GB=-
|
||||||
ProfId5GB=-
|
ProfId5GB=-
|
||||||
|
ProfId6GB=-
|
||||||
ProfId1HN=RTN
|
ProfId1HN=RTN
|
||||||
ProfId2HN=-
|
ProfId2HN=-
|
||||||
ProfId3HN=-
|
ProfId3HN=-
|
||||||
ProfId4HN=-
|
ProfId4HN=-
|
||||||
ProfId5HN=-
|
ProfId5HN=-
|
||||||
|
ProfId6HN=-
|
||||||
ProfId1IN=Id prof. 1 (TIN)
|
ProfId1IN=Id prof. 1 (TIN)
|
||||||
ProfId2IN=Id prof. 2
|
ProfId2IN=Id prof. 2 (PAN)
|
||||||
ProfId3IN=Id prof. 3
|
ProfId3IN=Id prof. 3 (SRVC TAX)
|
||||||
ProfId4IN=Id prof. 4
|
ProfId4IN=Id prof. 4
|
||||||
ProfId5IN=Id prof. 5
|
ProfId5IN=Id prof. 5
|
||||||
|
ProfId6IN=-
|
||||||
ProfId1MA=Id prof. 1 (R.C.)
|
ProfId1MA=Id prof. 1 (R.C.)
|
||||||
ProfId2MA=Id prof. 2 (Patente)
|
ProfId2MA=Id prof. 2 (Patente)
|
||||||
ProfId3MA=Id prof. 3 (I.F.)
|
ProfId3MA=Id prof. 3 (I.F.)
|
||||||
ProfId4MA=Id prof. 4 (C.N.S.S.)
|
ProfId4MA=Id prof. 4 (C.N.S.S.)
|
||||||
ProfId5MA=-
|
ProfId5MA=-
|
||||||
|
ProfId6MA=-
|
||||||
ProfId1MX=R.F.C.
|
ProfId1MX=R.F.C.
|
||||||
ProfId2MX=Registre Patronal IMSS
|
ProfId2MX=Registre Patronal IMSS
|
||||||
ProfId3MX=Cèdula Professional
|
ProfId3MX=Cèdula Professional
|
||||||
ProfId4MX=-
|
ProfId4MX=-
|
||||||
ProfId5MX=-
|
ProfId5MX=-
|
||||||
|
ProfId6MX=-
|
||||||
ProfId1NL=Número KVK
|
ProfId1NL=Número KVK
|
||||||
ProfId2NL=-
|
ProfId2NL=-
|
||||||
ProfId3NL=-
|
ProfId3NL=-
|
||||||
ProfId4NL=-
|
ProfId4NL=-
|
||||||
ProfId5NL=-
|
ProfId5NL=-
|
||||||
|
ProfId6NL=-
|
||||||
ProfId1PT=NIPC
|
ProfId1PT=NIPC
|
||||||
ProfId2PT=Núm seguretat social
|
ProfId2PT=Núm seguretat social
|
||||||
ProfId3PT=Num reg. comercial
|
ProfId3PT=Num reg. comercial
|
||||||
ProfId4PT=Conservatori
|
ProfId4PT=Conservatori
|
||||||
ProfId5PT=-
|
ProfId5PT=-
|
||||||
|
ProfId6PT=-
|
||||||
ProfId1RU=OGRN
|
ProfId1RU=OGRN
|
||||||
ProfId2RU=INN
|
ProfId2RU=INN
|
||||||
ProfId3RU=KPP
|
ProfId3RU=KPP
|
||||||
ProfId4RU=OKPO
|
ProfId4RU=OKPO
|
||||||
ProfId5RU=-
|
ProfId5RU=-
|
||||||
|
ProfId6RU=-
|
||||||
ProfId1SN=RC
|
ProfId1SN=RC
|
||||||
ProfId2SN=NINEA
|
ProfId2SN=NINEA
|
||||||
ProfId3SN=-
|
ProfId3SN=-
|
||||||
ProfId4SN=-
|
ProfId4SN=-
|
||||||
ProfId5SN=-
|
ProfId5SN=-
|
||||||
|
ProfId6SN=-
|
||||||
ProfId1TN=RC
|
ProfId1TN=RC
|
||||||
ProfId2TN=Matrícula fiscal
|
ProfId2TN=Matrícula fiscal
|
||||||
ProfId3TN=Codi en aduana
|
ProfId3TN=Codi en aduana
|
||||||
ProfId4TN=CCC
|
ProfId4TN=CCC
|
||||||
ProfId5TN=-
|
ProfId5TN=-
|
||||||
|
ProfId6TN=-
|
||||||
VATIntra=NIF intracomunitari
|
VATIntra=NIF intracomunitari
|
||||||
VATIntraShort=NIF intra.
|
VATIntraShort=NIF intra.
|
||||||
VATIntraVeryShort=NIF intra.
|
VATIntraVeryShort=NIF intra.
|
||||||
|
|||||||
@ -21,6 +21,7 @@ ErrorThisContactIsAlreadyDefinedAsThisType=Aquest contacte ja està definit com
|
|||||||
ErrorCashAccountAcceptsOnlyCashMoney=Aquesta compte bancari és de tipus caixa i només accepta el mètode de pagament de tipus <b>espècie</b>.
|
ErrorCashAccountAcceptsOnlyCashMoney=Aquesta compte bancari és de tipus caixa i només accepta el mètode de pagament de tipus <b>espècie</b>.
|
||||||
ErrorFromToAccountsMustDiffers=El compte origen i destinació han de ser diferents.
|
ErrorFromToAccountsMustDiffers=El compte origen i destinació han de ser diferents.
|
||||||
ErrorBadThirdPartyName=Nom de tercer incorrecte
|
ErrorBadThirdPartyName=Nom de tercer incorrecte
|
||||||
|
ErrorProdIdIsMandatory=El %s es obligatori
|
||||||
ErrorBadCustomerCodeSyntax=La sintaxi del codi client és incorrecta
|
ErrorBadCustomerCodeSyntax=La sintaxi del codi client és incorrecta
|
||||||
ErrorCustomerCodeRequired=Codi client obligatori
|
ErrorCustomerCodeRequired=Codi client obligatori
|
||||||
ErrorCustomerCodeAlreadyUsed=Codi de client ja utilitzat
|
ErrorCustomerCodeAlreadyUsed=Codi de client ja utilitzat
|
||||||
|
|||||||
@ -47,3 +47,7 @@ MARGIN_TYPE_DETAILS=Marge brut: Preu de venda sense IVA - Preu de compra sense I
|
|||||||
|
|
||||||
BuyingCost=Costos
|
BuyingCost=Costos
|
||||||
UnitCharges=Càrrega unitària
|
UnitCharges=Càrrega unitària
|
||||||
|
Charges=Càrreges
|
||||||
|
|
||||||
|
AgentContactType=Tipus de contacte comissionat
|
||||||
|
AgentContactTypeDetails=Indica el tipus de contacte enllaçat a les factures que seran associats als agents comercials
|
||||||
@ -146,6 +146,8 @@ ProductSpecial=Especial
|
|||||||
QtyMin=Quantitat mínima
|
QtyMin=Quantitat mínima
|
||||||
PriceQty=Preu per la quantitat
|
PriceQty=Preu per la quantitat
|
||||||
PriceQtyMin=Preu quantitat min.
|
PriceQtyMin=Preu quantitat min.
|
||||||
|
DiscountQtyMin=Descompte per defecte quantitat min.
|
||||||
|
VATRateForSupplierProduct=Taxa IVA (per aquest producte/proveïdor)
|
||||||
NoPriceDefinedForThisSupplier=Cap preu/quant. definit per a aquest proveïdor/producte
|
NoPriceDefinedForThisSupplier=Cap preu/quant. definit per a aquest proveïdor/producte
|
||||||
NoSupplierPriceDefinedForThisProduct=Cap preu/quant. proveïdor definit per a aquest producte
|
NoSupplierPriceDefinedForThisProduct=Cap preu/quant. proveïdor definit per a aquest producte
|
||||||
RecordedProducts=Productes en venda
|
RecordedProducts=Productes en venda
|
||||||
|
|||||||
@ -939,6 +939,7 @@ DocumentModelOdt=Generate documents from OpenDocuments templates (.ODT files for
|
|||||||
WatermarkOnDraft=Watermark on draft document
|
WatermarkOnDraft=Watermark on draft document
|
||||||
CompanyIdProfChecker=Professional Id unique
|
CompanyIdProfChecker=Professional Id unique
|
||||||
MustBeUnique=Must be unique ?
|
MustBeUnique=Must be unique ?
|
||||||
|
MustBeMandatory=Must be mandatory ?
|
||||||
Miscellanous=Miscellaneous
|
Miscellanous=Miscellaneous
|
||||||
##### Webcal setup #####
|
##### Webcal setup #####
|
||||||
WebCalSetup=Webcalendar link setup
|
WebCalSetup=Webcalendar link setup
|
||||||
|
|||||||
@ -25,6 +25,7 @@ ErrorThisContactIsAlreadyDefinedAsThisType=This contact is already defined as co
|
|||||||
ErrorCashAccountAcceptsOnlyCashMoney=This bank account is a cash account, so it accepts payments of type cash only.
|
ErrorCashAccountAcceptsOnlyCashMoney=This bank account is a cash account, so it accepts payments of type cash only.
|
||||||
ErrorFromToAccountsMustDiffers=Source and targets bank accounts must be different.
|
ErrorFromToAccountsMustDiffers=Source and targets bank accounts must be different.
|
||||||
ErrorBadThirdPartyName=Bad value for third party name
|
ErrorBadThirdPartyName=Bad value for third party name
|
||||||
|
ErrorProdIdIsMandatory=The %s is mandatory
|
||||||
ErrorBadCustomerCodeSyntax=Bad syntax for customer code
|
ErrorBadCustomerCodeSyntax=Bad syntax for customer code
|
||||||
ErrorCustomerCodeRequired=Customer code required
|
ErrorCustomerCodeRequired=Customer code required
|
||||||
ErrorCustomerCodeAlreadyUsed=Customer code already used
|
ErrorCustomerCodeAlreadyUsed=Customer code already used
|
||||||
|
|||||||
@ -47,6 +47,7 @@ MARGIN_TYPE_DETAILS=Raw margin : Selling price - Buying price<br/>Net margin : S
|
|||||||
|
|
||||||
BuyingCost=Cost price
|
BuyingCost=Cost price
|
||||||
UnitCharges=Unit charges
|
UnitCharges=Unit charges
|
||||||
|
Charges=Charges
|
||||||
|
|
||||||
AgentContactType=Contact type used for commissioning
|
AgentContactType=Contact type used for commissioning
|
||||||
AgentContactTypeDetails=Défine what contact type (linked on invoices) will be associated with commercial agents
|
AgentContactTypeDetails=Défine what contact type (linked on invoices) will be associated with commercial agents
|
||||||
@ -952,6 +952,7 @@ DocumentModelOdt=Generación desde los documentos OpenDocument (Archivo .ODT Ope
|
|||||||
WatermarkOnDraft=Marca de agua en los documentos borrador
|
WatermarkOnDraft=Marca de agua en los documentos borrador
|
||||||
CompanyIdProfChecker=Id Profesional único
|
CompanyIdProfChecker=Id Profesional único
|
||||||
MustBeUnique=¿Debe ser único?
|
MustBeUnique=¿Debe ser único?
|
||||||
|
MustBeMandatory=¿Debe ser obligatorio?
|
||||||
Miscellanous=Miscelánea
|
Miscellanous=Miscelánea
|
||||||
##### Webcal setup #####
|
##### Webcal setup #####
|
||||||
WebCalSetup=Configuración de enlace con el calendario Webcalendar
|
WebCalSetup=Configuración de enlace con el calendario Webcalendar
|
||||||
|
|||||||
@ -109,17 +109,20 @@ ProfId2AR=Ingresos brutos
|
|||||||
ProfId3AR=-
|
ProfId3AR=-
|
||||||
ProfId4AR=-
|
ProfId4AR=-
|
||||||
ProfId5AR=-
|
ProfId5AR=-
|
||||||
|
ProfId6AR=-
|
||||||
ProfId1AU=ABN
|
ProfId1AU=ABN
|
||||||
ProfId2AU=-
|
ProfId2AU=-
|
||||||
ProfId3AU=-
|
ProfId3AU=-
|
||||||
ProfId4AU=-
|
ProfId4AU=-
|
||||||
ProfId5AU=-
|
ProfId5AU=-
|
||||||
|
ProfId6AU=-
|
||||||
ProfId1BE=N° colegiado
|
ProfId1BE=N° colegiado
|
||||||
ProfId2BE=-
|
ProfId2BE=-
|
||||||
ProfId3BE=-
|
ProfId3BE=-
|
||||||
ProfId4BE=-
|
ProfId4BE=-
|
||||||
ProfId5BE=-
|
ProfId5BE=-
|
||||||
ProfId1BR=CNPJ
|
ProfId6BE=-
|
||||||
|
ProfId1BR=-
|
||||||
ProfId2BR=IE (Inscricao Estadual)
|
ProfId2BR=IE (Inscricao Estadual)
|
||||||
ProfId3BR=IM (Inscricao Municipal)
|
ProfId3BR=IM (Inscricao Municipal)
|
||||||
ProfId4BR=CPF
|
ProfId4BR=CPF
|
||||||
@ -130,21 +133,25 @@ ProfId2CH=-
|
|||||||
ProfId3CH=Número federado
|
ProfId3CH=Número federado
|
||||||
ProfId4CH=Num registro de comercio
|
ProfId4CH=Num registro de comercio
|
||||||
ProfId5CH=-
|
ProfId5CH=-
|
||||||
|
ProfId6CH=-
|
||||||
ProfId1CL=R.U.T.
|
ProfId1CL=R.U.T.
|
||||||
ProfId2CL=-
|
ProfId2CL=-
|
||||||
ProfId3CL=-
|
ProfId3CL=-
|
||||||
ProfId4CL=-
|
ProfId4CL=-
|
||||||
ProfId5CL=-
|
ProfId5CL=-
|
||||||
|
ProfId6CL=-
|
||||||
ProfId1CO=R.U.T.
|
ProfId1CO=R.U.T.
|
||||||
ProfId2CO=-
|
ProfId2CO=-
|
||||||
ProfId3CO=-
|
ProfId3CO=-
|
||||||
ProfId4CO=-
|
ProfId4CO=-
|
||||||
ProfId5CO=-
|
ProfId5CO=-
|
||||||
|
ProfId6CO=-
|
||||||
ProfId1DE=Id prof. 1 (USt.-IdNr)
|
ProfId1DE=Id prof. 1 (USt.-IdNr)
|
||||||
ProfId2DE=Id prof. 2 (USt.-Nr)
|
ProfId2DE=Id prof. 2 (USt.-Nr)
|
||||||
ProfId3DE=Id prof. 3 (Handelsregister-Nr.)
|
ProfId3DE=Id prof. 3 (Handelsregister-Nr.)
|
||||||
ProfId4DE=-
|
ProfId4DE=-
|
||||||
ProfId5DE=-
|
ProfId5DE=-
|
||||||
|
ProfId6DE=-
|
||||||
ProfId1ES=CIF/NIF
|
ProfId1ES=CIF/NIF
|
||||||
ProfId2ES=Núm seguridad social
|
ProfId2ES=Núm seguridad social
|
||||||
ProfId3ES=CNAE
|
ProfId3ES=CNAE
|
||||||
@ -162,51 +169,61 @@ ProfId2GB=-
|
|||||||
ProfId3GB=SIC
|
ProfId3GB=SIC
|
||||||
ProfId4GB=-
|
ProfId4GB=-
|
||||||
ProfId5GB=-
|
ProfId5GB=-
|
||||||
|
ProfId6GB=-
|
||||||
ProfId1HN=RTN
|
ProfId1HN=RTN
|
||||||
ProfId2HN=-
|
ProfId2HN=-
|
||||||
ProfId3HN=-
|
ProfId3HN=-
|
||||||
ProfId4HN=-
|
ProfId4HN=-
|
||||||
ProfId5HN=-
|
ProfId5HN=-
|
||||||
|
ProfId6HN=-
|
||||||
ProfId1IN=Id prof. 1 (TIN)
|
ProfId1IN=Id prof. 1 (TIN)
|
||||||
ProfId2IN=Id prof. 2
|
ProfId2IN=Id prof. 2
|
||||||
ProfId3IN=Id prof. 3
|
ProfId3IN=Id prof. 3
|
||||||
ProfId4IN=Id prof. 4
|
ProfId4IN=Id prof. 4
|
||||||
ProfId5IN=Id prof. 5
|
ProfId5IN=Id prof. 5
|
||||||
|
ProfId6IN=-
|
||||||
ProfId1MA=Id prof. 1 (R.C.)
|
ProfId1MA=Id prof. 1 (R.C.)
|
||||||
ProfId2MA=Id prof. 2 (Patente)
|
ProfId2MA=Id prof. 2 (Patente)
|
||||||
ProfId3MA=Id prof. 3 (I.F.)
|
ProfId3MA=Id prof. 3 (I.F.)
|
||||||
ProfId4MA=Id prof. 4 (C.N.S.S.)
|
ProfId4MA=Id prof. 4 (C.N.S.S.)
|
||||||
ProfId5MA=Id prof. 5
|
ProfId5MA=-
|
||||||
|
ProfId6MA=-
|
||||||
ProfId1MX=R.F.C.
|
ProfId1MX=R.F.C.
|
||||||
ProfId2MX=Registro Patronal IMSS
|
ProfId2MX=Registro Patronal IMSS
|
||||||
ProfId3MX=Cédula Profesional
|
ProfId3MX=Cédula Profesional
|
||||||
ProfId4MX=-
|
ProfId4MX=-
|
||||||
ProfId5MX=-
|
ProfId5MX=-
|
||||||
|
ProfId6MX=-
|
||||||
ProfId1NL=Número KVK
|
ProfId1NL=Número KVK
|
||||||
ProfId2NL=-
|
ProfId2NL=-
|
||||||
ProfId3NL=-
|
ProfId3NL=-
|
||||||
ProfId4NL=-
|
ProfId4NL=-
|
||||||
ProfId5NL=-
|
ProfId5NL=-
|
||||||
|
ProfId6NL=-
|
||||||
ProfId1PT=NIPC
|
ProfId1PT=NIPC
|
||||||
ProfId2PT=Núm. seguridad social
|
ProfId2PT=Núm. seguridad social
|
||||||
ProfId3PT=Num reg. comercial
|
ProfId3PT=Num reg. comercial
|
||||||
ProfId4PT=Conservatorio
|
ProfId4PT=Conservatorio
|
||||||
ProfId5PT=-
|
ProfId5PT=-
|
||||||
|
ProfId6PT=-
|
||||||
ProfId1RU=OGRN
|
ProfId1RU=OGRN
|
||||||
ProfId2RU=INN
|
ProfId2RU=INN
|
||||||
ProfId3RU=KPP
|
ProfId3RU=KPP
|
||||||
ProfId4RU=OKPO
|
ProfId4RU=OKPO
|
||||||
ProfId5RU=-
|
ProfId5RU=-
|
||||||
|
ProfId6RU=-
|
||||||
ProfId1SN=RC
|
ProfId1SN=RC
|
||||||
ProfId2SN=NINEA
|
ProfId2SN=NINEA
|
||||||
ProfId3SN=-
|
ProfId3SN=-
|
||||||
ProfId4SN=-
|
ProfId4SN=-
|
||||||
ProfId5SN=-
|
ProfId5SN=-
|
||||||
|
ProfId6SN=-
|
||||||
ProfId1TN=RC
|
ProfId1TN=RC
|
||||||
ProfId2TN=Matrícula fiscal
|
ProfId2TN=Matrícula fiscal
|
||||||
ProfId3TN=Código en aduana
|
ProfId3TN=Código en aduana
|
||||||
ProfId4TN=CCC
|
ProfId4TN=CCC
|
||||||
ProfId5TN=-
|
ProfId5TN=-
|
||||||
|
ProfId6TN=-
|
||||||
VATIntra=NIF intracomunitario
|
VATIntra=NIF intracomunitario
|
||||||
VATIntraShort=NIF intra.
|
VATIntraShort=NIF intra.
|
||||||
VATIntraVeryShort=NIF intra.
|
VATIntraVeryShort=NIF intra.
|
||||||
|
|||||||
@ -21,6 +21,7 @@ ErrorThisContactIsAlreadyDefinedAsThisType=Este contacto ya está definido como
|
|||||||
ErrorCashAccountAcceptsOnlyCashMoney=Esta cuenta bancaria es de tipo caja y solo acepta el método de pago de tipo <b>especie</b>.
|
ErrorCashAccountAcceptsOnlyCashMoney=Esta cuenta bancaria es de tipo caja y solo acepta el método de pago de tipo <b>especie</b>.
|
||||||
ErrorFromToAccountsMustDiffers=La cuenta origen y destino deben ser diferentes.
|
ErrorFromToAccountsMustDiffers=La cuenta origen y destino deben ser diferentes.
|
||||||
ErrorBadThirdPartyName=Nombre de tercero incorrecto
|
ErrorBadThirdPartyName=Nombre de tercero incorrecto
|
||||||
|
ErrorProdIdIsMandatory=El %s es obligatorio
|
||||||
ErrorBadCustomerCodeSyntax=La sintaxis del código cliente es incorrecta
|
ErrorBadCustomerCodeSyntax=La sintaxis del código cliente es incorrecta
|
||||||
ErrorCustomerCodeRequired=Código cliente obligatorio
|
ErrorCustomerCodeRequired=Código cliente obligatorio
|
||||||
ErrorCustomerCodeAlreadyUsed=Código de cliente ya utilizado
|
ErrorCustomerCodeAlreadyUsed=Código de cliente ya utilizado
|
||||||
|
|||||||
@ -47,3 +47,7 @@ MARGIN_TYPE_DETAILS=Margen bruto : Precio de venta sin IVA - Precio de compra si
|
|||||||
|
|
||||||
BuyingCost=Costos
|
BuyingCost=Costos
|
||||||
UnitCharges=Carga unitaria
|
UnitCharges=Carga unitaria
|
||||||
|
Charges=Cargas
|
||||||
|
|
||||||
|
AgentContactType=Tipo de contacto comisionado
|
||||||
|
AgentContactTypeDetails=Indica el tipo de contacto enlazado a las facturas que serán asociados a los agentes comerciales
|
||||||
@ -146,6 +146,8 @@ ProductSpecial=Especial
|
|||||||
QtyMin=Cantidad mínima
|
QtyMin=Cantidad mínima
|
||||||
PriceQty=Precio para la cantidad
|
PriceQty=Precio para la cantidad
|
||||||
PriceQtyMin=Precio cantidad mín.
|
PriceQtyMin=Precio cantidad mín.
|
||||||
|
DiscountQtyMin=Descuento por defecto cantidad mín.
|
||||||
|
VATRateForSupplierProduct=Tasa IVA (para este producto/proveedor)
|
||||||
NoPriceDefinedForThisSupplier=Ningún precio/cant. definido para este proveedor/producto
|
NoPriceDefinedForThisSupplier=Ningún precio/cant. definido para este proveedor/producto
|
||||||
NoSupplierPriceDefinedForThisProduct=Ningún precio/cant. proveedor definida para este producto
|
NoSupplierPriceDefinedForThisProduct=Ningún precio/cant. proveedor definida para este producto
|
||||||
RecordedProducts=Productos en venta
|
RecordedProducts=Productos en venta
|
||||||
|
|||||||
@ -946,6 +946,7 @@ DocumentModelOdt=Genération depuis des modèles OpenDocument (Fichier .ODT Open
|
|||||||
WatermarkOnDraft=Filigrane sur les documents brouillons
|
WatermarkOnDraft=Filigrane sur les documents brouillons
|
||||||
CompanyIdProfChecker=Id professionel unique
|
CompanyIdProfChecker=Id professionel unique
|
||||||
MustBeUnique=Doit être unique ?
|
MustBeUnique=Doit être unique ?
|
||||||
|
MustBeMandatory=Doit être obligatoire?
|
||||||
Miscellanous=Divers
|
Miscellanous=Divers
|
||||||
##### Webcal setup #####
|
##### Webcal setup #####
|
||||||
WebCalSetup= Configuration du lien vers le calendrier Webcalendar
|
WebCalSetup= Configuration du lien vers le calendrier Webcalendar
|
||||||
|
|||||||
@ -26,6 +26,7 @@ ErrorThisContactIsAlreadyDefinedAsThisType=Ce contact est déjà défini comme c
|
|||||||
ErrorCashAccountAcceptsOnlyCashMoney=Ce compte bancaire est de type caisse et n'accepte que les mode de règlement de type <b>espèce</b>.
|
ErrorCashAccountAcceptsOnlyCashMoney=Ce compte bancaire est de type caisse et n'accepte que les mode de règlement de type <b>espèce</b>.
|
||||||
ErrorFromToAccountsMustDiffers=Le compte source et destination doivent être différents.
|
ErrorFromToAccountsMustDiffers=Le compte source et destination doivent être différents.
|
||||||
ErrorBadThirdPartyName=Nom de tiers incorrect
|
ErrorBadThirdPartyName=Nom de tiers incorrect
|
||||||
|
ErrorProdIdIsMandatory=Le %s est obligatoire
|
||||||
ErrorBadCustomerCodeSyntax=La syntaxe du code client est incorrecte
|
ErrorBadCustomerCodeSyntax=La syntaxe du code client est incorrecte
|
||||||
ErrorCustomerCodeRequired=Code client obligatoire
|
ErrorCustomerCodeRequired=Code client obligatoire
|
||||||
ErrorCustomerCodeAlreadyUsed=Code client déjà utilisé
|
ErrorCustomerCodeAlreadyUsed=Code client déjà utilisé
|
||||||
|
|||||||
@ -47,6 +47,7 @@ MARGIN_TYPE_DETAILS=Marge brute : Prix de vente HT - Prix d'achat HT<br/>Marge n
|
|||||||
|
|
||||||
BuyingCost=Coût de revient
|
BuyingCost=Coût de revient
|
||||||
UnitCharges=Charge unitaire
|
UnitCharges=Charge unitaire
|
||||||
|
Charges=Charges
|
||||||
|
|
||||||
AgentContactType=Type de contact commissionné
|
AgentContactType=Type de contact commissionné
|
||||||
AgentContactTypeDetails=Permet de définir le type de contact associé aux factures qui sera associé aux agents commerciaux
|
AgentContactTypeDetails=Permet de définir le type de contact associé aux factures qui sera associé aux agents commerciaux
|
||||||
@ -1380,7 +1380,7 @@ print "\n</div><br>\n";
|
|||||||
* All the "Add to" areas
|
* All the "Add to" areas
|
||||||
*/
|
*/
|
||||||
|
|
||||||
if ($id && ($action == '' || $action == 'view') && $object->status)
|
if ($object->id && ($action == '' || $action == 'view') && $object->status)
|
||||||
{
|
{
|
||||||
print '<table width="100%" class="noborder">';
|
print '<table width="100%" class="noborder">';
|
||||||
|
|
||||||
|
|||||||
@ -3,7 +3,7 @@
|
|||||||
* Copyright (C) 2004-2012 Laurent Destailleur <eldy@users.sourceforge.net>
|
* Copyright (C) 2004-2012 Laurent Destailleur <eldy@users.sourceforge.net>
|
||||||
* Copyright (C) 2004 Eric Seigne <eric.seigne@ryxeo.com>
|
* Copyright (C) 2004 Eric Seigne <eric.seigne@ryxeo.com>
|
||||||
* Copyright (C) 2005-2012 Regis Houssin <regis@dolibarr.fr>
|
* Copyright (C) 2005-2012 Regis Houssin <regis@dolibarr.fr>
|
||||||
* Copyright (C) 2010-2011 Juanjo Menent <jmenent@2byte.es>
|
* Copyright (C) 2010-2012 Juanjo Menent <jmenent@2byte.es>
|
||||||
* Copyright (C) 2012 Christophe Battarel <christophe.battarel@altairis.fr>
|
* Copyright (C) 2012 Christophe Battarel <christophe.battarel@altairis.fr>
|
||||||
*
|
*
|
||||||
* This program is free software; you can redistribute it and/or modify
|
* This program is free software; you can redistribute it and/or modify
|
||||||
@ -34,6 +34,8 @@ require_once DOL_DOCUMENT_ROOT.'/fourn/class/fournisseur.product.class.php';
|
|||||||
$langs->load("products");
|
$langs->load("products");
|
||||||
$langs->load("suppliers");
|
$langs->load("suppliers");
|
||||||
$langs->load("bills");
|
$langs->load("bills");
|
||||||
|
// Charges ????
|
||||||
|
if (! empty($conf->margin->enabled)) $langs->load("margins");
|
||||||
|
|
||||||
$id = GETPOST('id', 'int');
|
$id = GETPOST('id', 'int');
|
||||||
$ref = GETPOST('ref', 'alpha');
|
$ref = GETPOST('ref', 'alpha');
|
||||||
|
|||||||
@ -195,6 +195,23 @@ if ($action == 'setprofid')
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
//Activate ProfId
|
||||||
|
if ($action == 'setprofidmandatory')
|
||||||
|
{
|
||||||
|
$status = GETPOST('status','alpha');
|
||||||
|
|
||||||
|
$idprof="SOCIETE_IDPROF".$value."_MANDATORY";
|
||||||
|
if (dolibarr_set_const($db, $idprof,$status,'chaine',0,'',$conf->entity) > 0)
|
||||||
|
{
|
||||||
|
header("Location: ".$_SERVER["PHP_SELF"]);
|
||||||
|
exit;
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
dol_print_error($db);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* View
|
* View
|
||||||
@ -522,6 +539,7 @@ print '<tr class="liste_titre">';
|
|||||||
print '<td>'.$langs->trans("Name").'</td>';
|
print '<td>'.$langs->trans("Name").'</td>';
|
||||||
print '<td>'.$langs->trans("Description").'</td>';
|
print '<td>'.$langs->trans("Description").'</td>';
|
||||||
print '<td align="center">'.$langs->trans("MustBeUnique").'</td>';
|
print '<td align="center">'.$langs->trans("MustBeUnique").'</td>';
|
||||||
|
print '<td align="center">'.$langs->trans("MustBeMandatory").'</td>';
|
||||||
print "</tr>\n";
|
print "</tr>\n";
|
||||||
|
|
||||||
$profid[0][0]=$langs->trans("ProfId1");
|
$profid[0][0]=$langs->trans("ProfId1");
|
||||||
@ -532,12 +550,18 @@ $profid[2][0]=$langs->trans("ProfId3");
|
|||||||
$profid[2][1]=$langs->transcountry('ProfId3', $mysoc->country_code);
|
$profid[2][1]=$langs->transcountry('ProfId3', $mysoc->country_code);
|
||||||
$profid[3][0]=$langs->trans("ProfId4");
|
$profid[3][0]=$langs->trans("ProfId4");
|
||||||
$profid[3][1]=$langs->transcountry('ProfId4', $mysoc->country_code);
|
$profid[3][1]=$langs->transcountry('ProfId4', $mysoc->country_code);
|
||||||
|
$profid[4][0]=$langs->trans("ProfId5");
|
||||||
|
$profid[4][1]=$langs->transcountry('ProfId5', $mysoc->country_code);
|
||||||
|
$profid[5][0]=$langs->trans("ProfId6");
|
||||||
|
$profid[5][1]=$langs->transcountry('ProfId6', $mysoc->country_code);
|
||||||
|
|
||||||
$var = true;
|
$var = true;
|
||||||
$i=0;
|
$i=0;
|
||||||
|
|
||||||
$nbofloop=count($profid);
|
$nbofloop=count($profid);
|
||||||
while ($i < $nbofloop)
|
while ($i < $nbofloop)
|
||||||
|
{
|
||||||
|
if ($profid[$i][1]!='-')
|
||||||
{
|
{
|
||||||
$var = !$var;
|
$var = !$var;
|
||||||
|
|
||||||
@ -546,21 +570,10 @@ while ($i < $nbofloop)
|
|||||||
print $profid[$i][1];
|
print $profid[$i][1];
|
||||||
print '</td>';
|
print '</td>';
|
||||||
|
|
||||||
switch($i)
|
$idprof_unique ='SOCIETE_IDPROF'.($i+1).'_UNIQUE';
|
||||||
{
|
$idprof_mandatory ='SOCIETE_IDPROF'.($i+1).'_MANDATORY';
|
||||||
case 0:
|
$verif=(empty($conf->global->$idprof_unique)?false:true);
|
||||||
$verif=(empty($conf->global->SOCIETE_IDPROF1_UNIQUE)?false:true);
|
$mandatory=(empty($conf->global->$idprof_mandatory)?false:true);
|
||||||
break;
|
|
||||||
case 1:
|
|
||||||
$verif=(empty($conf->global->SOCIETE_IDPROF2_UNIQUE)?false:true);
|
|
||||||
break;
|
|
||||||
case 2:
|
|
||||||
$verif=(empty($conf->global->SOCIETE_IDPROF3_UNIQUE)?false:true);
|
|
||||||
break;
|
|
||||||
case 3:
|
|
||||||
$verif=(empty($conf->global->SOCIETE_IDPROF4_UNIQUE)?false:true);
|
|
||||||
break;
|
|
||||||
}
|
|
||||||
|
|
||||||
if ($verif)
|
if ($verif)
|
||||||
{
|
{
|
||||||
@ -574,7 +587,21 @@ while ($i < $nbofloop)
|
|||||||
print img_picto($langs->trans("Disabled"),'switch_off');
|
print img_picto($langs->trans("Disabled"),'switch_off');
|
||||||
print '</a></td>';
|
print '</a></td>';
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if ($mandatory)
|
||||||
|
{
|
||||||
|
print '<td align="center"><a href="'.$_SERVER['PHP_SELF'].'?action=setprofidmandatory&value='.($i+1).'&status=0">';
|
||||||
|
print img_picto($langs->trans("Activated"),'switch_on');
|
||||||
|
print '</a></td>';
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
print '<td align="center"><a href="'.$_SERVER['PHP_SELF'].'?action=setprofidmandatory&value='.($i+1).'&status=1">';
|
||||||
|
print img_picto($langs->trans("Disabled"),'switch_off');
|
||||||
|
print '</a></td>';
|
||||||
|
}
|
||||||
print "</tr>\n";
|
print "</tr>\n";
|
||||||
|
}
|
||||||
$i++;
|
$i++;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@ -5,7 +5,7 @@
|
|||||||
* Copyright (C) 2005 Eric Seigne <eric.seigne@ryxeo.com>
|
* Copyright (C) 2005 Eric Seigne <eric.seigne@ryxeo.com>
|
||||||
* Copyright (C) 2005-2012 Regis Houssin <regis@dolibarr.fr>
|
* Copyright (C) 2005-2012 Regis Houssin <regis@dolibarr.fr>
|
||||||
* Copyright (C) 2008 Patrick Raguin <patrick.raguin@auguria.net>
|
* Copyright (C) 2008 Patrick Raguin <patrick.raguin@auguria.net>
|
||||||
* Copyright (C) 2010-2011 Juanjo Menent <jmenent@2byte.es>
|
* Copyright (C) 2010-2012 Juanjo Menent <jmenent@2byte.es>
|
||||||
*
|
*
|
||||||
* 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
|
||||||
@ -203,8 +203,17 @@ if (empty($reshook))
|
|||||||
$action = ($action=='add'?'create':'edit');
|
$action = ($action=='add'?'create':'edit');
|
||||||
}
|
}
|
||||||
|
|
||||||
// Check for duplicate prof id
|
// We set country_id, country_code and country for the selected country
|
||||||
for ($i = 1; $i < 3; $i++)
|
$object->country_id=GETPOST('country_id')?GETPOST('country_id'):$mysoc->country_id;
|
||||||
|
if ($object->country_id)
|
||||||
|
{
|
||||||
|
$tmparray=getCountry($object->country_id,'all');
|
||||||
|
$object->country_code=$tmparray['code'];
|
||||||
|
$object->country=$tmparray['label'];
|
||||||
|
}
|
||||||
|
|
||||||
|
// Check for duplicate or mandatory prof id
|
||||||
|
for ($i = 1; $i < 5; $i++)
|
||||||
{
|
{
|
||||||
$slabel="idprof".$i;
|
$slabel="idprof".$i;
|
||||||
$_POST[$slabel]=trim($_POST[$slabel]);
|
$_POST[$slabel]=trim($_POST[$slabel]);
|
||||||
@ -218,8 +227,18 @@ if (empty($reshook))
|
|||||||
$action = ($action=='add'?'create':'edit');
|
$action = ($action=='add'?'create':'edit');
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
$idprof_mandatory ='SOCIETE_IDPROF'.($i).'_MANDATORY';
|
||||||
|
if (! $vallabel && ! empty($conf->global->$idprof_mandatory))
|
||||||
|
{
|
||||||
|
$langs->load("errors");
|
||||||
|
$error++;
|
||||||
|
$errors[] = $langs->trans("ErrorProdIdIsMandatory", $langs->transcountry('ProfId'.$i, $object->country_code));
|
||||||
|
$action = ($action=='add'?'create':'edit');
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
if (! $error)
|
if (! $error)
|
||||||
{
|
{
|
||||||
if ($action == 'add')
|
if ($action == 'add')
|
||||||
@ -834,7 +853,13 @@ else
|
|||||||
if ($idprof!='-')
|
if ($idprof!='-')
|
||||||
{
|
{
|
||||||
if (($j % 2) == 0) print '<tr>';
|
if (($j % 2) == 0) print '<tr>';
|
||||||
|
|
||||||
|
$idprof_mandatory ='SOCIETE_IDPROF'.($i).'_MANDATORY';
|
||||||
|
if(empty($conf->global->$idprof_mandatory))
|
||||||
print '<td>'.$idprof.'</td><td>';
|
print '<td>'.$idprof.'</td><td>';
|
||||||
|
else
|
||||||
|
print '<td><span class="fieldrequired">'.$idprof.'</td><td>';
|
||||||
|
|
||||||
$key='idprof'.$i;
|
$key='idprof'.$i;
|
||||||
print $formcompany->get_input_id_prof($i,'idprof'.$i,$object->$key,$object->country_code);
|
print $formcompany->get_input_id_prof($i,'idprof'.$i,$object->$key,$object->country_code);
|
||||||
print '</td>';
|
print '</td>';
|
||||||
@ -1271,7 +1296,13 @@ else
|
|||||||
if ($idprof!='-')
|
if ($idprof!='-')
|
||||||
{
|
{
|
||||||
if (($j % 2) == 0) print '<tr>';
|
if (($j % 2) == 0) print '<tr>';
|
||||||
|
|
||||||
|
$idprof_mandatory ='SOCIETE_IDPROF'.($i).'_MANDATORY';
|
||||||
|
if(empty($conf->global->$idprof_mandatory))
|
||||||
print '<td>'.$idprof.'</td><td>';
|
print '<td>'.$idprof.'</td><td>';
|
||||||
|
else
|
||||||
|
print '<td><span class="fieldrequired">'.$idprof.'</td><td>';
|
||||||
|
|
||||||
$key='idprof'.$i;
|
$key='idprof'.$i;
|
||||||
print $formcompany->get_input_id_prof($i,'idprof'.$i,$object->$key,$object->country_code);
|
print $formcompany->get_input_id_prof($i,'idprof'.$i,$object->$key,$object->country_code);
|
||||||
print '</td>';
|
print '</td>';
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user