diff --git a/htdocs/accountancy/admin/export.php b/htdocs/accountancy/admin/export.php index c8b8c8a7d97..ca7e5f84e07 100644 --- a/htdocs/accountancy/admin/export.php +++ b/htdocs/accountancy/admin/export.php @@ -3,6 +3,7 @@ * Copyright (C) 2013-2014 Alexandre Spangaro * Copyright (C) 2014 Florian Henry * Copyright (C) 2014 Marcos García + * Copyright (C) 2014 Juanjo Menent * * 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 @@ -130,9 +131,6 @@ print "
\n"; * Params * */ -$list = array ( - 'ACCOUNTING_SEPARATORCSV' -); $num = count($list); if ($num) { diff --git a/htdocs/accountancy/admin/index.php b/htdocs/accountancy/admin/index.php index 66f5efef04d..02cb262b209 100644 --- a/htdocs/accountancy/admin/index.php +++ b/htdocs/accountancy/admin/index.php @@ -3,7 +3,8 @@ * Copyright (C) 2013-2014 Florian Henry * Copyright (C) 2013-2014 Alexandre Spangaro * Copyright (C) 2014 Ari Elbaz (elarifr) - * Copyright (C) 2014 Marcos García + * Copyright (C) 2014 Marcos García + * Copyright (C) 2014 Juanjo Menent * * 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 diff --git a/htdocs/accountancy/admin/journaux.php b/htdocs/accountancy/admin/journaux.php index 77b7d15e1c3..f7507cda234 100644 --- a/htdocs/accountancy/admin/journaux.php +++ b/htdocs/accountancy/admin/journaux.php @@ -3,6 +3,7 @@ * Copyright (C) 2013-2014 Alexandre Spangaro * Copyright (C) 2014 Florian Henry * Copyright (C) 2014 Marcos García + * Copyright (C) 2014 Juanjo Menent * * 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 diff --git a/htdocs/accountancy/customer/index.php b/htdocs/accountancy/customer/index.php index 2df4d675b20..9ae070c25e0 100644 --- a/htdocs/accountancy/customer/index.php +++ b/htdocs/accountancy/customer/index.php @@ -1,7 +1,8 @@ * Copyright (C) 2013-2014 Florian Henry - * Copyright (C) 2013-2014 Alexandre Spangaro + * Copyright (C) 2013-2014 Alexandre Spangaro + * Copyright (C) 2014 Juanjo Menent * * 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 @@ -40,7 +41,7 @@ $langs->load("accountancy"); // Security check if ($user->societe_id > 0) accessforbidden(); -if (! $user->rights->accounting->access) +if (! $user->rights->accounting->ventilation->read) accessforbidden(); // Filter diff --git a/htdocs/accountancy/customer/lines.php b/htdocs/accountancy/customer/lines.php index aff9f7aa3a7..9215d5a9d98 100644 --- a/htdocs/accountancy/customer/lines.php +++ b/htdocs/accountancy/customer/lines.php @@ -2,7 +2,8 @@ /* Copyright (C) 2013-2014 Olivier Geffroy * Copyright (C) 2013-2014 Alexandre Spangaro * Copyright (C) 2014 Ari Elbaz (elarifr) - * Copyright (C) 2014 Florian Henry + * Copyright (C) 2014 Florian Henry + * Copyright (C) 2014 Juanjo Menent * * 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 @@ -43,7 +44,7 @@ $account_parent = GETPOST('account_parent'); // Security check if ($user->societe_id > 0) accessforbidden(); -if (! $user->rights->accounting->access) +if (! $user->rights->accounting->ventilation->dispatch) accessforbidden(); $formventilation = new FormVentilation($db); diff --git a/htdocs/accountancy/customer/list.php b/htdocs/accountancy/customer/list.php index 02602262e2c..fefed420621 100644 --- a/htdocs/accountancy/customer/list.php +++ b/htdocs/accountancy/customer/list.php @@ -3,6 +3,7 @@ * Copyright (C) 2013-2014 Alexandre Spangaro * Copyright (C) 2014 Ari Elbaz (elarifr) * Copyright (C) 2013-2014 Florian Henry + * Copyright (C) 2014 Juanjo Menent * * 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 @@ -44,7 +45,7 @@ $mesCasesCochees = GETPOST('mesCasesCochees', 'array'); // Security check if ($user->societe_id > 0) accessforbidden(); -if (! $user->rights->accounting->access) +if (! $user->rights->accounting->ventilation->dispatch) accessforbidden(); $formventilation = new FormVentilation($db); diff --git a/htdocs/accountancy/supplier/card.php b/htdocs/accountancy/supplier/card.php index 3ff70b4e670..b0078839b55 100644 --- a/htdocs/accountancy/supplier/card.php +++ b/htdocs/accountancy/supplier/card.php @@ -4,6 +4,7 @@ * Copyright (C) 2013-2014 Alexandre Spangaro * Copyright (C) 2013-2014 Olivier Geffroy * Copyright (C) 2013-2014 Florian Henry + * Copyright (C) 2014 Juanjo Menent s * * 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 @@ -45,7 +46,7 @@ $codeventil = GETPOST('codeventil'); // Security check if ($user->societe_id > 0) accessforbidden(); -if (! $user->rights->accounting->access) +if (! $user->rights->accounting->ventilation->dispatch) accessforbidden(); if ($action == 'ventil' && $user->rights->accounting->access) { diff --git a/htdocs/accountancy/supplier/index.php b/htdocs/accountancy/supplier/index.php index cd6ef6bcb53..7d633c575f1 100644 --- a/htdocs/accountancy/supplier/index.php +++ b/htdocs/accountancy/supplier/index.php @@ -2,6 +2,7 @@ /* Copyright (C) 2013-2014 Olivier Geffroy * Copyright (C) 2013-2014 Florian Henry * Copyright (C) 2013-2014 Alexandre Spangaro + * Copyright (C) 2014 Juanjo Menent * * 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 @@ -39,7 +40,7 @@ $langs->load("accountancy"); // Security check if ($user->societe_id > 0) accessforbidden(); -if (! $user->rights->accounting->access) +if (! $user->rights->accounting->ventilation->read) accessforbidden(); // Filter diff --git a/htdocs/accountancy/supplier/lines.php b/htdocs/accountancy/supplier/lines.php index 41ab92aa765..8b2a870220d 100644 --- a/htdocs/accountancy/supplier/lines.php +++ b/htdocs/accountancy/supplier/lines.php @@ -4,7 +4,8 @@ * Copyright (C) 2013-2014 Olivier Geffroy * Copyright (C) 2013-2014 Alexandre Spangaro * Copyright (C) 2014 Ari Elbaz (elarifr) - * Copyright (C) 2013-2014 Florian Henry a + * Copyright (C) 2013-2014 Florian Henry + * Copyright (C) 2014 Juanjo Menent * * 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 @@ -44,7 +45,7 @@ $langs->load("accountancy"); // Security check if ($user->societe_id > 0) accessforbidden(); -if (! $user->rights->accounting->access) +if (! $user->rights->accounting->ventilation->dispatch) accessforbidden(); $formventilation = new FormVentilation($db); diff --git a/htdocs/accountancy/supplier/list.php b/htdocs/accountancy/supplier/list.php index 84f548344b8..259dc5aab39 100644 --- a/htdocs/accountancy/supplier/list.php +++ b/htdocs/accountancy/supplier/list.php @@ -3,6 +3,7 @@ * Copyright (C) 2013-2014 Alexandre Spangaro * Copyright (C) 2014 Ari Elbaz (elarifr) * Copyright (C) 2013-2014 Florian Henry + * Copyright (C) 2014 Juanjo Menent s * * 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 @@ -45,7 +46,7 @@ $mesCasesCochees = GETPOST('mesCasesCochees', 'array'); // Security check if ($user->societe_id > 0) accessforbidden(); -if (! $user->rights->accounting->access) +if (! $user->rights->accounting->ventilation->dispatch) accessforbidden(); $formventilation = new FormVentilation($db); diff --git a/htdocs/langs/en_US/accountancy.lang b/htdocs/langs/en_US/accountancy.lang index 0c1ad62eab2..3d9681774d8 100644 --- a/htdocs/langs/en_US/accountancy.lang +++ b/htdocs/langs/en_US/accountancy.lang @@ -66,26 +66,26 @@ Lineofinvoice=Line of invoice VentilatedinAccount=Ventilated successfully in the accounting account NotVentilatedinAccount=Not ventilated in the accounting account -ACCOUNTINGEX_SEPARATORCSV=Separator CSV +ACCOUNTING_SEPARATORCSV=Separator CSV -ACCOUNTINGEX_LIMIT_LIST_VENTILATION=Number of elements to be ventilated shown by page (maximum recommended : 50) -ACCOUNTINGEX_LIST_SORT_VENTILATION_TODO=Begin the sorting of the pages of ventilation "Has to ventilate" by the most recent elements -ACCOUNTINGEX_LIST_SORT_VENTILATION_DONE=Begin the sorting of the pages of ventilation "Ventilated" by the most recent elements +ACCOUNTING_LIMIT_LIST_VENTILATION=Number of elements to be ventilated shown by page (maximum recommended : 50) +ACCOUNTING_LIST_SORT_VENTILATION_TODO=Begin the sorting of the pages of ventilation "Has to ventilate" by the most recent elements +ACCOUNTING_LIST_SORT_VENTILATION_DONE=Begin the sorting of the pages of ventilation "Ventilated" by the most recent elements AccountLength=Length of the accounting accounts shown in Dolibarr AccountLengthDesc=Function allowing to feign a length of accounting account by replacing spaces by the zero figure. This function touches only the display, it does not modify the accounting accounts registered in Dolibarr. For the export, this function is necessary to be compatible with certain software. -ACCOUNTINGEX_LENGTH_GACCOUNT=Length of the general accounts -ACCOUNTINGEX_LENGTH_AACCOUNT=Length of the third party accounts +ACCOUNTING_LENGTH_GACCOUNT=Length of the general accounts +ACCOUNTING_LENGTH_AACCOUNT=Length of the third party accounts -ACCOUNTINGEX_SELL_JOURNAL=Sell journal -ACCOUNTINGEX_PURCHASE_JOURNAL=Purchase journal -ACCOUNTINGEX_BANK_JOURNAL=Bank journal -ACCOUNTINGEX_CASH_JOURNAL=Cash journal -ACCOUNTINGEX_MISCELLANEOUS_JOURNAL=Miscellaneous journal -ACCOUNTINGEX_SOCIAL_JOURNAL=Social journal +ACCOUNTING_SELL_JOURNAL=Sell journal +ACCOUNTING_PURCHASE_JOURNAL=Purchase journal +ACCOUNTING_BANK_JOURNAL=Bank journal +ACCOUNTING_CASH_JOURNAL=Cash journal +ACCOUNTING_MISCELLANEOUS_JOURNAL=Miscellaneous journal +ACCOUNTING_SOCIAL_JOURNAL=Social journal -ACCOUNTINGEX_ACCOUNT_TRANSFER_CASH=Account of transfer -ACCOUNTINGEX_ACCOUNT_SUSPENSE=Account of wait +ACCOUNTING_ACCOUNT_TRANSFER_CASH=Account of transfer +ACCOUNTING_ACCOUNT_SUSPENSE=Account of wait COMPTA_PRODUCT_BUY_ACCOUNT=Accounting account by default for bought products (if not defined in the product sheet) COMPTA_PRODUCT_SOLD_ACCOUNT=Accounting account by default for the sold products (if not defined in the product sheet) diff --git a/htdocs/langs/es_ES/accountancy.lang b/htdocs/langs/es_ES/accountancy.lang index 624e2c02291..4298ceddbc6 100644 --- a/htdocs/langs/es_ES/accountancy.lang +++ b/htdocs/langs/es_ES/accountancy.lang @@ -1,149 +1,150 @@ -# Dolibarr language file - es_ES - Experto de la contabilidad +# Dolibarr language file - en_US - Accounting Expert CHARSET=UTF-8 Accounting=Contabilidad Globalparameters=Configuración global -Chartofaccounts=Cuentas +Chartofaccounts=Plan contable Fiscalyear=Años fiscales -Menuaccount=Contabilidad Cuentas +Menuaccount=Cuentas contables Menuthirdpartyaccount=Cuentas de terceros -MenuTools=Instrumentos -Configuration=Configuración -Export=Exportación +MenuTools=Utilidades ConfigAccountingExpert=Configuración del módulo contable Journaux=Diarios -JournalFinancial=Diarios +JournalFinancial=Diarios financieros Exports=Exportaciones -Modelcsv=Plantilla de Exportación -Selectmodelcsv=Seleccione una plantilla de exportación +Modelcsv=Modelo de exportación +Selectmodelcsv=Seleccione un modelo de exportación Modelcsv_normal=Exportación clásica Modelcsv_CEGID=Exportar a Cegid Expert BackToChartofaccounts=Volver al plan contable Back=Volver -Definechartofaccounts=Definir la contabilidad +Definechartofaccounts=Definir plan contable Selectchartofaccounts=Seleccione un plan contable -Validate=validar +Validate=Validar Addanaccount=Añadir una cuenta contable -ImportAccount=Importar cuentas -AccountAccounting=Cuenta -Ventilation=Contabilización +AccountAccounting=Cuenta contable +Ventilation=Contabilizar ToDispatch=A realizar Dispatched=Realizadas CustomersVentilation=Contabilización ventas SuppliersVentilation=Contabilización compras -TradeMargin=margen de beneficio -Reports=relaciones -ByCustomerInvoice=Por las facturas de los clientes -ByMonth=por mes +TradeMargin=Margen de beneficio +Reports=Informes +ByCustomerInvoice=Por facturas a clientes +ByMonth=Por mes NewAccount=Nueva cuenta contable -Update=Actualización -List=lista -Create=crear -UpdateAccount=Editar una cuenta -UpdateMvts=Modificación de un movimiento +Update=Actualizar +List=Listado +Create=Crear +UpdateAccount=Modificar una cuenta contable +UpdateMvts=Modificar un movimiento WriteBookKeeping=Registrar los asientos en el libro mayor -Bookkeeping=libro mayor -AccountBalanceByMonth=Saldo Mensual +Bookkeeping=Libro Mayor +AccountBalanceByMonth=Saldo mensual -AccountingVentilation=desglose de Contabilidad -AccountingVentilationSupplier=Proveedor de cuentas de ventilación -AccountingVentilationCustomer=Cliente de cuentas de ventilación -Line=línea +AccountingVentilation=Contabilización +AccountingVentilationSupplier=Contabilización compras +AccountingVentilationCustomer=Contabilización ventas +Line=Línea -Ventilate=contabilizar -VentilationAuto=contabilización automática +CAHTF=Total (base imponible) compras a proveedor +InvoiceLines=Líneas de factura para contabilizar +InvoiceLinesDone=Líneas de facturas contabilizadas +IntoAccount=En la cuenta + +Ventilate=Contabilizar +VentilationAuto=Contabilización automática Processing=Tratamiento EndProcessing=Final del tratamiento -AnyLineVentilate=No hay línea para contabilizar -SelectedLines=Las líneas seleccionadas +AnyLineVentilate=No hay líneas para contabilizar +SelectedLines=Líneas seleccionadas Lineofinvoice=Línea de la factura VentilatedinAccount=Contabilizada con éxito en la cuenta contable NotVentilatedinAccount=Cuenta sin contabilización en la contabilidad -ACCOUNTING_SEPARATORCSV=separador CSV +ACCOUNTINGEX_SEPARATORCSV=separador CSV -ACCOUNTING_LIMIT_LIST_VENTILATION=(El máximo recomendado: 50) Número de elementos que se muestran por página para contabilizar -ACCOUNTING_LIST_SORT_VENTILATION_TODO=Páginas de inicio de clasificación de ventilación "desglose" de las pruebas más recientes -ACCOUNTING_LIST_SORT_VENTILATION_DONE=Páginas de inicio de clasificación de ventilación "ventilada" por la evidencia más reciente +ACCOUNTINGEX_LIMIT_LIST_VENTILATION=Número de elementos a contabilizar que se muestran por página (máximo recomendado: 50) +ACCOUNTINGEX_LIST_SORT_VENTILATION_TODO=Ordenar las páginas de contabilización "A contabilizar" por los elementos más recientes +ACCOUNTINGEX_LIST_SORT_VENTILATION_DONE=Ordenar las páginas de contabilización "Contabilizadas" por los elementos más recientes -AccountLength=Cuentas contables longitud mostrada en Dolibarr -AccountLengthDesc=Función para simular una longitud de cuenta contable sustituyendo espacios con el número cero. Esta función sólo afecta a la pantalla, no cambia las cuentas contables registrados en Dolibarr. Para la exportación, esta función se requiere para ser compatible con algunos programas. -ACCOUNTING_LENGTH_GACCOUNT=Longitud de las cuentas generales -ACCOUNTING_LENGTH_AACCOUNT=Duración de subcuentas +AccountLength=Longitud de las cuentas contables mostradas en Dolibarr +AccountLengthDesc=Función para simular una longitud de cuenta contable sustituyendo los espacios por cero. Esta función sólo afecta a la pantalla, no cambia las cuentas contables registradas en Dolibarr. Esta función es necesaria para la exportación, para ser compatible con algunos programas. +ACCOUNTINGEX_LENGTH_GACCOUNT=Longitud de las cuentas generales +ACCOUNTINGEX_LENGTH_AACCOUNT=Longitud de las subcuentas -ACCOUNTING_SELL_JOURNAL=Diario de Ventas -ACCOUNTING_PURCHASE_JOURNAL=Diario de Compras -ACCOUNTING_BANK_JOURNAL=Diario del Banco -ACCOUNTING_CASH_JOURNAL=Diario de Caso -ACCOUNTING_MISCELLANEOUS_JOURNAL=Diario de Operaciones diversas -ACCOUNTING_SOCIAL_JOURNAL=Diario Social +ACCOUNTINGEX_SELL_JOURNAL=Diario de ventas +ACCOUNTINGEX_PURCHASE_JOURNAL=Diario de compras +ACCOUNTINGEX_BANK_JOURNAL=Diario bancario +ACCOUNTINGEX_CASH_JOURNAL=Diario de caja +ACCOUNTINGEX_MISCELLANEOUS_JOURNAL=Diario de operaciones diversas +ACCOUNTINGEX_SOCIAL_JOURNAL=Diario social -ACCOUNTING_ACCOUNT_TRANSFER_CASH=Cuenta de caja -ACCOUNTING_ACCOUNT_SUSPENSE=Cuenta partidas pendientes de aplicación +ACCOUNTINGEX_ACCOUNT_TRANSFER_CASH=Cuenta de caja +ACCOUNTINGEX_ACCOUNT_SUSPENSE=Cuenta operaciones pendientes de asignar -COMPTA_PRODUCT_BUY_ACCOUNT=Cuenta predeterminada de contabilidad para los productos comprados (si no se define en el producto) -COMPTA_PRODUCT_SOLD_ACCOUNT=Cuenta predeterminada de contabilidad para los productos vendidos (si no se define en el producto) -COMPTA_SERVICE_BUY_ACCOUNT=Cuenta predeterminada de contabilidad para los servicios adquiridos (si no está definido en la hoja de servicio) -COMPTA_SERVICE_SOLD_ACCOUNT=Cuenta predeterminada de contabilidad para servicios vendidos (si no se define en la ficha de servicio) +COMPTA_PRODUCT_BUY_ACCOUNT=Cuenta contable predeterminada para los productos comprados (si no se define en el producto) +COMPTA_PRODUCT_SOLD_ACCOUNT=Cuenta contable predeterminada para los productos vendidos (si no se define en el producto) +COMPTA_SERVICE_BUY_ACCOUNT=Cuenta contable predeterminada para los servicios comprados (si no se define en el servicio) +COMPTA_SERVICE_SOLD_ACCOUNT=Cuenta contable predeterminada para los servicios vendidos (si no se define en el servico) Doctype=Tipo de documento -Docdate=fecha -Docref=referencia -Numerocompte=cuenta -Code_tiers=tercero +Docdate=Fecha +Docref=Referencia +Numerocompte=Cuenta +Code_tiers=Tercero Labelcompte=Descripción -Debit=débito -Credit=crédito -Amount=cantidad -Sens=sentido -Codejournal=diario +Debit=Debe +Credit=Crédito +Amount=Cantidad +Sens=Sentido +Codejournal=Diario -DelBookKeeping=Eliminar el libro mayor +DelBookKeeping=Eliminar los registros del Diario Mayor SellsJournal=Diario de ventas PurchasesJournal=Diario de compras DescSellsJournal=Diario de ventas DescPurchasesJournal=Diario de compras -BankJournal=Diario de banco -DescBankJournal=Descripción del diario del Banco -CashJournal=Libro de Caja -DescCashJournal=Descripción Libro de Caja +BankJournal=Diario bancario +DescBankJournal=El diario bancario incluye todos los tipos pagos que no sean de efectivo +CashJournal=Diario de caja +DescCashJournal=El diario de caja incluye el tipo de pago efectivo -CashPayment=Reglas caja +CashPayment=Pago en efectivo -SupplierInvoicePayment=Pago factura de proveedor -CustomerInvoicePayment=Pago Factura a cliente +SupplierInvoicePayment=Pago de factura de proveedor +CustomerInvoicePayment=Cobro de factura a cliente -ThirdPartyAccount=Cuenta tercero +ThirdPartyAccount=Cuenta de tercero -NewAccountingMvt=Nueva movimiento -NumMvts=Número de movimiento -ListeMvts=Apuntes del movimiento -ErrorDebitCredit=Débito y Crédito no pueden terner valor al mismo tiempo +NewAccountingMvt=Nuevo movimiento +NumMvts=Número del movimiento +ListeMvts=Listado del movimiento +ErrorDebitCredit=Debe y Haber no pueden contener un valor al mismo tiempo -ReportThirdParty=Lista cuentas de terceros -DescThirdPartyReport=Consult here the list of the thirdparty customers and the suppliers and their accounting accounts +ReportThirdParty=Listado cuentas de terceros +DescThirdPartyReport=Consulte aquí el listado de clientes y proveedores y sus códigos contables -ListAccounts=Lista de cuentas +ListAccounts=Listado de cuentas contables Pcgversion=Versión del plan -Pcgtype=Tipo de cuenta -Pcgsubtype=tipo de subcuenta -Accountparent=Cuenta padre -Active=Activa +Pcgtype=Tipo del plan +Pcgsubtype=Subcuenta +Accountparent=Padre de la cuenta +Active=Estado NewFiscalYear=Nuevo año fiscal -NewMovCompta=Nuevo registro contable -DescVentilCustomer=Consulte aquí la contabilidad anual de sus facturas a clientes +DescVentilCustomer=Consulte aquí la contabilización anual de sus facturas a clientes TotalVente=Total ventas (base imponible) TotalMarge=Total margen ventas DescVentilDoneCustomer=Consulte aquí las líneas de facturas a clientes y sus cuentas contables -DescVentilTodoCustomer=Contabilize sus líneas de facturas a clientes +DescVentilTodoCustomer=Contabilice sus líneas de facturas a clientes con una cuenta contable ChangeAccount=Cambie la cuenta para las líneas seleccionadas a la cuenta: Vide=- DescVentilSupplier=Consulte aquí la contabilidad anual de sus facturas de proveedores @@ -155,14 +156,3 @@ ValidateHistory=Validar automáticamente ErrorAccountancyCodeIsAlreadyUse=Error, no puede eliminar esta cuenta ya que está siendo usada FicheVentilation=Ficha contable - -Accountancy_code_buy=Código compras -Accountancy_code_buy_suggest=Código compras sugerido -Accountancy_code_sell=Código ventas -Accountancy_code_sell_suggest=Código ventas sugerido -CreateMvts=Crear movimiento -customer_invoice=Factura a cliente - -accountingaccount=Cuenta contable -label=Descripción -Import=Importar \ No newline at end of file