Minor accountancy updates

This commit is contained in:
Juanjo Menent 2014-09-19 15:04:36 +02:00
parent ee4d697172
commit f426b9dcd2
11 changed files with 120 additions and 123 deletions

View File

@ -3,6 +3,7 @@
* Copyright (C) 2013-2014 Alexandre Spangaro <alexandre.spangaro@gmail.com>
* Copyright (C) 2014 Florian Henry <florian.henry@open-concept.pro>
* Copyright (C) 2014 Marcos García <marcosgdf@gmail.com>
* Copyright (C) 2014 Juanjo Menent <jmenent@2byte.es>
*
* 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 @@ $action = GETPOST('action', 'alpha');
// Other parameters ACCOUNTING_*
$list = array (
'ACCOUNTING_SEPARATORCSV'
'ACCOUNTINGEX_SEPARATORCSV'
);
/*
@ -130,9 +131,6 @@ print "<br>\n";
* Params
*
*/
$list = array (
'ACCOUNTING_SEPARATORCSV'
);
$num = count($list);
if ($num) {

View File

@ -3,7 +3,8 @@
* Copyright (C) 2013-2014 Florian Henry <florian.henry@open-concept.pro>
* Copyright (C) 2013-2014 Alexandre Spangaro <alexandre.spangaro@gmail.com>
* Copyright (C) 2014 Ari Elbaz (elarifr) <github@accedinfo.com>
* Copyright (C) 2014 Marcos García <marcosgdf@gmail.com>
* Copyright (C) 2014 Marcos García <marcosgdf@gmail.com>
* Copyright (C) 2014 Juanjo Menent <jmenent@2byte.es>
*
* 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,17 +46,17 @@ $action = GETPOST('action', 'alpha');
// Other parameters COMPTA_* & ACCOUNTING_*
$list = array (
'ACCOUNTING_LIMIT_LIST_VENTILATION',
'ACCOUNTING_LENGTH_GACCOUNT',
'ACCOUNTING_LENGTH_AACCOUNT',
'ACCOUNTINGEX_LIMIT_LIST_VENTILATION',
'ACCOUNTINGEX_LENGTH_GACCOUNT',
'ACCOUNTINGEX_LENGTH_AACCOUNT',
'COMPTA_ACCOUNT_CUSTOMER',
'COMPTA_ACCOUNT_SUPPLIER',
'COMPTA_PRODUCT_BUY_ACCOUNT',
'COMPTA_PRODUCT_SOLD_ACCOUNT',
'COMPTA_SERVICE_BUY_ACCOUNT',
'COMPTA_SERVICE_SOLD_ACCOUNT',
'ACCOUNTING_ACCOUNT_SUSPENSE',
'ACCOUNTING_ACCOUNT_TRANSFER_CASH'
'ACCOUNTINGEX_ACCOUNT_SUSPENSE',
'ACCOUNTINGEX_ACCOUNT_TRANSFER_CASH'
);
/*
@ -258,7 +259,7 @@ foreach ($list as $key)
$var = ! $var;
print "<tr " . $bc[$var] . ">";
print '<td width="80%">' . $langs->trans("ACCOUNTING_LIST_SORT_VENTILATION_TODO") . '</td>';
print '<td width="80%">' . $langs->trans("ACCOUNTINGEX_LIST_SORT_VENTILATION_TODO") . '</td>';
if (! empty($conf->global->ACCOUNTING_LIST_SORT_VENTILATION_TODO)) {
print '<td align="center" colspan="2"><a href="' . $_SERVER['PHP_SELF'] . '?action=setlistsorttodo&value=0">';
print img_picto($langs->trans("Activated"), 'switch_on');
@ -272,7 +273,7 @@ print '</tr>';
$var = ! $var;
print "<tr " . $bc[$var] . ">";
print '<td width="80%">' . $langs->trans("ACCOUNTING_LIST_SORT_VENTILATION_DONE") . '</td>';
print '<td width="80%">' . $langs->trans("ACCOUNTINGEX_LIST_SORT_VENTILATION_DONE") . '</td>';
if (! empty($conf->global->ACCOUNTING_LIST_SORT_VENTILATION_DONE)) {
print '<td align="center" colspan="2"><a href="' . $_SERVER['PHP_SELF'] . '?action=setlistsortdone&value=0">';
print img_picto($langs->trans("Activated"), 'switch_on');

View File

@ -3,6 +3,7 @@
* Copyright (C) 2013-2014 Alexandre Spangaro <alexandre.spangaro@gmail.com>
* Copyright (C) 2014 Florian Henry <florian.henry@open-concept.pro>
* Copyright (C) 2014 Marcos García <marcosgdf@gmail.com>
* Copyright (C) 2014 Juanjo Menent <jmenent@2byte.es>
*
* 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,11 +44,11 @@ $action = GETPOST('action', 'alpha');
// Other parameters ACCOUNTING_*
$list = array (
'ACCOUNTING_SELL_JOURNAL',
'ACCOUNTING_PURCHASE_JOURNAL',
'ACCOUNTING_SOCIAL_JOURNAL',
'ACCOUNTING_CASH_JOURNAL',
'ACCOUNTING_MISCELLANEOUS_JOURNAL'
'ACCOUNTINGEX_SELL_JOURNAL',
'ACCOUNTINGEX_PURCHASE_JOURNAL',
'ACCOUNTINGEX_SOCIAL_JOURNAL',
'ACCOUNTINGEX_CASH_JOURNAL',
'ACCOUNTINGEX_MISCELLANEOUS_JOURNAL'
);
/*

View File

@ -1,7 +1,8 @@
<?php
/* Copyright (C) 2013 Olivier Geffroy <jeff@jeffinfo.com>
* Copyright (C) 2013-2014 Florian Henry <florian.henry@open-concept.pro>
* Copyright (C) 2013-2014 Alexandre Spangaro <alexandre.spangaro@gmail.com>
* Copyright (C) 2013-2014 Alexandre Spangaro <alexandre.spangaro@gmail.com>
* Copyright (C) 2014 Juanjo Menent <jmenent@2byte.es>
*
* 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

View File

@ -2,7 +2,8 @@
/* Copyright (C) 2013-2014 Olivier Geffroy <jeff@jeffinfo.com>
* Copyright (C) 2013-2014 Alexandre Spangaro <alexandre.spangaro@gmail.com>
* Copyright (C) 2014 Ari Elbaz (elarifr) <github@accedinfo.com>
* Copyright (C) 2014 Florian Henry <florian.henry@open-concept.pro>
* Copyright (C) 2014 Florian Henry <florian.henry@open-concept.pro>
* Copyright (C) 2014 Juanjo Menent <jmenent@2byte.es>
*
* 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);

View File

@ -3,6 +3,7 @@
* Copyright (C) 2013-2014 Alexandre Spangaro <alexandre.spangaro@gmail.com>
* Copyright (C) 2014 Ari Elbaz (elarifr) <github@accedinfo.com>
* Copyright (C) 2013-2014 Florian Henry <florian.henry@open-concept.pro>
* Copyright (C) 2014 Juanjo Menent <jmenent@2byte.es>
*
* 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);

View File

@ -4,6 +4,7 @@
* Copyright (C) 2013-2014 Alexandre Spangaro <alexandre.spangaro@gmail.com>
* Copyright (C) 2013-2014 Olivier Geffroy <jeff@jeffinfo.com>
* Copyright (C) 2013-2014 Florian Henry <florian.henry@open-concept.pro>
* Copyright (C) 2014 Juanjo Menent s<jmenent@2byte.es>
*
* 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) {

View File

@ -2,6 +2,7 @@
/* Copyright (C) 2013-2014 Olivier Geffroy <jeff@jeffinfo.com>
* Copyright (C) 2013-2014 Florian Henry <florian.henry@open-concept.pro>
* Copyright (C) 2013-2014 Alexandre Spangaro <alexandre.spangaro@gmail.com>
* Copyright (C) 2014 Juanjo Menent <jmenent@2byte.es>
*
* 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

View File

@ -4,7 +4,8 @@
* Copyright (C) 2013-2014 Olivier Geffroy <jeff@jeffinfo.com>
* Copyright (C) 2013-2014 Alexandre Spangaro <alexandre.spangaro@gmail.com>
* Copyright (C) 2014 Ari Elbaz (elarifr) <github@accedinfo.com>
* Copyright (C) 2013-2014 Florian Henry <florian.henry@open-concept.pro>a
* Copyright (C) 2013-2014 Florian Henry <florian.henry@open-concept.pro>
* Copyright (C) 2014 Juanjo Menent <jmenent@2byte.es>
*
* 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);

View File

@ -3,6 +3,7 @@
* Copyright (C) 2013-2014 Alexandre Spangaro <alexandre.spangaro@gmail.com>
* Copyright (C) 2014 Ari Elbaz (elarifr) <github@accedinfo.com>
* Copyright (C) 2013-2014 Florian Henry <florian.henry@open-concept.pro>
* Copyright (C) 2014 Juanjo Menent <jmenent@2byte.es>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);

View File

@ -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