Merge branch '3.3' of git@github.com:Dolibarr/dolibarr.git into 3.3
This commit is contained in:
commit
caf4130fb7
@ -678,7 +678,7 @@ else
|
||||
print '</td></tr>';
|
||||
|
||||
$var=!$var;
|
||||
print '<tr '.$bc[$var].'><td width="35%">'.$langs->trans("Tel").'</td><td>' . dol_print_phone($conf->global->MAIN_INFO_SOCIETE_TEL,$mysoc->country_code) . '</td></tr>';
|
||||
print '<tr '.$bc[$var].'><td width="35%">'.$langs->trans("Phone").'</td><td>' . dol_print_phone($conf->global->MAIN_INFO_SOCIETE_TEL,$mysoc->country_code) . '</td></tr>';
|
||||
|
||||
$var=!$var;
|
||||
print '<tr '.$bc[$var].'><td width="35%">'.$langs->trans("Fax").'</td><td>' . dol_print_phone($conf->global->MAIN_INFO_SOCIETE_FAX,$mysoc->country_code) . '</td></tr>';
|
||||
|
||||
@ -102,7 +102,7 @@ if ($resql)
|
||||
print '<table class="noborder" width="100%">';
|
||||
print '<tr class="liste_titre">';
|
||||
print '<td>'.$langs->trans("Date").'</td>';
|
||||
print '<td align="center">'.$langs->trans("Nb").'</td>';
|
||||
print '<td align="center">'.$langs->trans("EventsNb").'</td>';
|
||||
print '<td>'.$langs->trans("Action").'</td>';
|
||||
print '<td align="center">'.$langs->trans("PDF").'</td>';
|
||||
print '<td align="center">'.$langs->trans("Date").'</td>';
|
||||
@ -122,7 +122,7 @@ if ($resql)
|
||||
print '<td align="center">'.$obj->cc.'</td>';
|
||||
|
||||
print '<td>';
|
||||
print '<a href="'.$_SERVER["PHP_SELF"].'?action=builddoc&page='.$page.'&month='.$obj->month.'&year='.$obj->year.'">'.img_picto('','filenew').'</a>';
|
||||
print '<a href="'.$_SERVER["PHP_SELF"].'?action=builddoc&page='.$page.'&month='.$obj->month.'&year='.$obj->year.'">'.img_picto($langs->trans('GenerateReport'),'filenew').'</a>';
|
||||
print '</td>';
|
||||
|
||||
$name = "actions-".$obj->month."-".$obj->year.".pdf";
|
||||
|
||||
@ -138,7 +138,7 @@ if ($socid > 0)
|
||||
print '<table width="100%" class="nobordernopadding"><tr><td nowrap>';
|
||||
print $langs->trans('ProspectLevelShort');
|
||||
print '<td>';
|
||||
if ($action != 'editlevel' && $user->rights->societe->creer) print '<td align="right"><a href="'.$_SERVER["PHP_SELF"].'?action=editlevel&socid='.$object->id.'">'.img_edit($langs->trans('SetLevel'),1).'</a></td>';
|
||||
if ($action != 'editlevel' && $user->rights->societe->creer) print '<td align="right"><a href="'.$_SERVER["PHP_SELF"].'?action=editlevel&socid='.$object->id.'">'.img_edit($langs->trans('Modify'),1).'</a></td>';
|
||||
print '</tr></table>';
|
||||
print '</td><td colspan="3">';
|
||||
if ($action == 'editlevel')
|
||||
|
||||
@ -690,11 +690,11 @@ class Don extends CommonObject
|
||||
|
||||
$picto='generic';
|
||||
|
||||
$label=$langs->trans("ShowDonation").': '.$this->ref;
|
||||
$label=$langs->trans("ShowDonation").': '.$this->id;
|
||||
|
||||
if ($withpicto) $result.=($lien.img_object($label,$picto).$lienfin);
|
||||
if ($withpicto && $withpicto != 2) $result.=' ';
|
||||
if ($withpicto != 2) $result.=$lien.$this->ref.$lienfin;
|
||||
if ($withpicto != 2) $result.=$lien.$this->id.$lienfin;
|
||||
return $result;
|
||||
}
|
||||
|
||||
|
||||
@ -405,7 +405,11 @@ if (! empty($id) && $action == 'edit')
|
||||
print "<tr>".'<td>'.$langs->trans("EMail").'</td><td><input type="text" name="email" size="40" value="'.$don->email.'"></td></tr>';
|
||||
|
||||
print "<tr><td>".$langs->trans("PaymentMode")."</td><td>\n";
|
||||
$form->select_types_paiements('', 'modepaiement', 'CRDT', 0, 1);
|
||||
|
||||
if ($don->modepaiementid) $selected = $don->modepaiementid;
|
||||
else $selected = '';
|
||||
|
||||
$form->select_types_paiements($selected, 'modepaiement', 'CRDT', 0, 1);
|
||||
print "</td></tr>\n";
|
||||
|
||||
print "<tr>".'<td>'.$langs->trans("Status").'</td><td>'.$don->getLibStatut(4).'</td></tr>';
|
||||
@ -496,7 +500,7 @@ if (! empty($id) && $action != 'edit')
|
||||
|
||||
// Payment mode
|
||||
print "<tr><td>".$langs->trans("PaymentMode")."</td><td>";
|
||||
print $don->modepaiement;
|
||||
print $form->form_modes_reglement(null, $don->modepaiementid,'none');
|
||||
print "</td></tr>\n";
|
||||
|
||||
print "<tr>".'<td>'.$langs->trans("Status").'</td><td>'.$don->getLibStatut(4).'</td></tr>';
|
||||
|
||||
@ -658,7 +658,7 @@ function show_addresses($conf,$langs,$db,$object,$backtopage='')
|
||||
print '<td>'.$langs->trans("CompanyName").'</td>';
|
||||
print '<td>'.$langs->trans("Town").'</td>';
|
||||
print '<td>'.$langs->trans("Country").'</td>';
|
||||
print '<td>'.$langs->trans("Tel").'</td>';
|
||||
print '<td>'.$langs->trans("Phone").'</td>';
|
||||
print '<td>'.$langs->trans("Fax").'</td>';
|
||||
print "<td> </td>";
|
||||
print "</tr>";
|
||||
|
||||
@ -2,6 +2,7 @@
|
||||
/* Copyright (C) 2003 Rodolphe Quiedeville <rodolphe@quiedeville.org>
|
||||
* Copyright (C) 2005-2006 Laurent Destailleur <eldy@users.sourceforge.net>
|
||||
* Copyright (C) 2012 Regis Houssin <regis@dolibarr.fr>
|
||||
* Copyright (C) 2012 Marcos García <marcosgdf@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
|
||||
@ -118,6 +119,17 @@ class html_cerfafr extends ModeleDon
|
||||
|
||||
if (file_exists($dir))
|
||||
{
|
||||
$formclass = new Form($this->db);
|
||||
|
||||
//This is not the proper way to do it but $formclass->form_modes_reglement
|
||||
//prints the translation instead of returning it
|
||||
if ($don->modepaiementid)
|
||||
{
|
||||
$formclass->load_cache_types_paiements();
|
||||
$paymentmode = $formclass->cache_types_paiements[$don->modepaiementid]['label'];
|
||||
}
|
||||
else $paymentmode = '';
|
||||
|
||||
// Defini contenu
|
||||
$donmodel=DOL_DOCUMENT_ROOT ."/core/modules/dons/html_cerfafr.html";
|
||||
$form = implode('', file($donmodel));
|
||||
@ -135,7 +147,7 @@ class html_cerfafr extends ModeleDon
|
||||
$form = str_replace('__DONATOR_ADDRESS__',$don->adresse,$form);
|
||||
$form = str_replace('__DONATOR_ZIP__',$don->cp,$form);
|
||||
$form = str_replace('__DONATOR_TOWN__',$don->ville,$form);
|
||||
$form = str_replace('__PAYMENTMODE_LIB__ ',$don->modepaiement,$form);
|
||||
$form = str_replace('__PAYMENTMODE_LIB__ ', $paymentmode,$form);
|
||||
$form = str_replace('__NOW__',dol_print_date($now,'',false,$outputlangs),$form);
|
||||
$form = str_replace('__DonationRef__',$outputlangs->trans("DonationRef"),$form);
|
||||
$form = str_replace('__DonationReceipt__',$outputlangs->trans("DonationReceipt"),$form);
|
||||
|
||||
@ -281,9 +281,9 @@ elseif ($action == 'add' && $user->rights->fournisseur->facture->creer)
|
||||
if ($element == 'order_supplier') {
|
||||
$element = 'fourn'; $subelement = 'fournisseur.commande';
|
||||
}
|
||||
if ($element == 'project')
|
||||
{
|
||||
$element = 'projet';
|
||||
if ($element == 'project')
|
||||
{
|
||||
$element = 'projet';
|
||||
}
|
||||
$object->origin = $_POST['origin'];
|
||||
$object->origin_id = $_POST['originid'];
|
||||
@ -1381,7 +1381,7 @@ else
|
||||
print '<td rowspan="'.$nbrows.'" valign="top">';
|
||||
|
||||
$sql = 'SELECT p.datep as dp, p.num_paiement, p.rowid, p.fk_bank,';
|
||||
$sql.= ' c.libelle as paiement_type,';
|
||||
$sql.= ' c.id as paiement_type,';
|
||||
$sql.= ' pf.amount,';
|
||||
$sql.= ' ba.rowid as baid, ba.ref, ba.label';
|
||||
$sql.= ' FROM '.MAIN_DB_PREFIX.'paiementfourn as p';
|
||||
@ -1415,7 +1415,9 @@ else
|
||||
$var=!$var;
|
||||
print '<tr '.$bc[$var].'>';
|
||||
print '<td nowrap="nowrap"><a href="'.DOL_URL_ROOT.'/fourn/paiement/fiche.php?id='.$objp->rowid.'">'.img_object($langs->trans('ShowPayment'),'payment').' '.dol_print_date($db->jdate($objp->dp),'day')."</a></td>\n";
|
||||
print '<td>'.$objp->paiement_type.' '.$objp->num_paiement.'</td>';
|
||||
print '<td>';
|
||||
print $form->form_modes_reglement(null, $objp->paiement_type,'none').' '.$objp->num_paiement;
|
||||
print '</td>';
|
||||
if (! empty($conf->banque->enabled))
|
||||
{
|
||||
$bankaccountstatic->id=$objp->baid;
|
||||
|
||||
@ -19,7 +19,7 @@ BackOffice=Back office
|
||||
AddThisArticle=Afegeix aquest article
|
||||
RestartSelling=Reprendre la venda
|
||||
SellFinished=Venda acabada
|
||||
PrintTicket=Imprimir tiquet
|
||||
PrintTicket=Imprimir
|
||||
NoProductFound=Cap article trobat
|
||||
ProductFound=Producte trobat
|
||||
ProductsFound=Productes trobats
|
||||
@ -27,7 +27,7 @@ NoArticle=Cap article
|
||||
Identification=Identificació
|
||||
Article=Article
|
||||
Difference=Diferència
|
||||
TotalTicket=Total ticket
|
||||
TotalTicket=Total
|
||||
NoVAT=Sense IVA per aquesta venda
|
||||
Change=Canvi
|
||||
CalTip=Feu clic per veure el calendari
|
||||
|
||||
@ -10,6 +10,7 @@ LocalAgenda=Local calendar
|
||||
AffectedTo= Assigned to
|
||||
DoneBy= Done by
|
||||
Events= Events
|
||||
EventsNb=Number of events
|
||||
MyEvents=My events
|
||||
OtherEvents=Other events
|
||||
ListOfActions=List of events
|
||||
|
||||
@ -7,6 +7,7 @@ Donor=Donor
|
||||
Donors=Donors
|
||||
AddDonation=Add a donation
|
||||
NewDonation=New donation
|
||||
ShowDonation=Show donation
|
||||
DonationPromise=Gift promise
|
||||
PromisesNotValid=Not validated promises
|
||||
PromisesValid=Validated promises
|
||||
|
||||
@ -187,7 +187,7 @@ FeatureDisabledInDemo=Opción deshabilitada en demo
|
||||
Rights=Permisos
|
||||
BoxesDesc=Los paneles son pequeñas zonas de información que se muestran en algunas páginas. Puede elegir activar o desactivar un panel haciendo clic en 'Activar', o haciendo click en el cubo de basura para desactivarlo. Solo se muestran los paneles relacionados con un <a href="modules.php">módulo</a> activo.
|
||||
OnlyActiveElementsAreShown=Sólo los elementos de <a href="%s">módulos activados</a> son mostrados.
|
||||
ModulesDesc=Los módulos Dolibarr definen las funcionalidades disponibles en la aplicación. Algunos módulos requieren derechos que deberán indicarse a los usuarios para que puedan acceder a sus funcionalidades.
|
||||
ModulesDesc=Los módulos Dolibarr definen las funcionalidades disponibles en la aplicación. Algunos módulos requieren permisos que deberán indicarse a los usuarios para que puedan acceder a sus funcionalidades.
|
||||
ModulesInterfaceDesc=Los módulos de interfaz son módulos que permiten vincular a Dolibarr con sistemas, aplicaciones o servicios externos.
|
||||
ModulesSpecialDesc=Los módulos complementarios son módulos de uso muy específico o menos corriente que los módulos normales.
|
||||
ModulesJobDesc=Los módulos específicos permiten una preconfiguración simplificada de Dolibarr para un negocio en concreto.
|
||||
@ -332,6 +332,8 @@ HideAnyVATInformationOnPDF=Ocultar toda la información relacionada con el IVA e
|
||||
HideDescOnPDF=Ocultar descripción de los productos en la generación de los PDF
|
||||
HideRefOnPDF=Ocultar referencia de los productos en la generación de los PDF
|
||||
HideDetailsOnPDF=Ocultar detalles de las líneas de productos en la generación de los PDF
|
||||
Library=Librería
|
||||
LibraryToBuildPDF=Librería usada para la creación de archivos PDF
|
||||
UrlGenerationParameters=Seguridad de las URLs
|
||||
SecurityTokenIsUnique=¿Usar un parámetro securekey único para cada URL?
|
||||
EnterRefToBuildUrl=Introduzca la referencia del objeto %s
|
||||
@ -854,11 +856,11 @@ SetupDescription5=Las otras entradas de configuración gestionan parámetros opc
|
||||
EventsSetup=Configuración del registro de eventos
|
||||
LogEvents=Auditoría de la seguridad de eventos
|
||||
Audit=Auditoría
|
||||
InfoDolibarr=Info Dolibarr
|
||||
InfoOS=Info SO
|
||||
InfoWebServer=Info servidor
|
||||
InfoDatabase=Info base de datos
|
||||
InfoPHP=Info PHP
|
||||
InfoDolibarr=Info. Dolibarr
|
||||
InfoOS=Info. SO
|
||||
InfoWebServer=Info. servidor
|
||||
InfoDatabase=Info. base de datos
|
||||
InfoPHP=Info. PHP
|
||||
ListEvents=Auditoría de eventos
|
||||
ListOfSecurityEvents=Listado de eventos de seguridad Dolibarr
|
||||
SecurityEventsPurged=Eventos de seguridad purgados
|
||||
@ -866,7 +868,7 @@ LogEventDesc=Puede habilitar el registro de eventos de seguridad Dolibarr aquí.
|
||||
AreaForAdminOnly=Estas funciones solo son accesibles a un usuario administrador.
|
||||
SystemInfoDesc=La información del sistema es información técnica accesible solamente en solo lectura a los administradores.
|
||||
SystemAreaForAdminOnly=Esta área solo es accesible a los usuarios de tipo administradores. Ningún permiso Dolibarr permite extender el círculo de usuarios autorizados a esta área.
|
||||
CompanyFundationDesc=Editar en esta página toda la información conocida sobre la empresa o asociación a administrar (para ello haga clic en el botón "Modificar" a pie de página)
|
||||
CompanyFundationDesc=Modifique en esta página toda la información conocida sobre la empresa o asociación a administrar (para ello haga clic en el botón "Modificar" a pie de página)
|
||||
DisplayDesc=Puede encontrar aquí todos los parámetros relacionados con la apariencia de Dolibarr
|
||||
AvailableModules=Módulos disponibles
|
||||
ToActivateModule=Para activar los módulos, vaya al área de Configuración (Inicio->Configuración->Módulos).
|
||||
|
||||
@ -10,6 +10,7 @@ LocalAgenda=Calendario local
|
||||
AffectedTo=Asignada a
|
||||
DoneBy=Realizado por
|
||||
Events=Eventos
|
||||
EventsNb=Número de eventos
|
||||
MyEvents=Mis eventos
|
||||
OtherEvents=Otros eventos
|
||||
ListOfActions=Listado de eventos
|
||||
|
||||
@ -19,7 +19,7 @@ BackOffice=Back office
|
||||
AddThisArticle=Añadir este artículo
|
||||
RestartSelling=Retomar la venta
|
||||
SellFinished=Venta terminada
|
||||
PrintTicket=Imprimir ticket
|
||||
PrintTicket=Imprimir
|
||||
NoProductFound=Ningún artículo encontrado
|
||||
ProductFound=Producto encontrado
|
||||
ProductsFound=Productos encontrados
|
||||
@ -27,7 +27,7 @@ NoArticle=Ningún artículo
|
||||
Identification=Identificación
|
||||
Article=Artículo
|
||||
Difference=Diferencia
|
||||
TotalTicket=Total ticket
|
||||
TotalTicket=Total
|
||||
NoVAT=Sin IVA en esta venta
|
||||
Change=Cambio
|
||||
CalTip=Haga clic para ver el calendario
|
||||
|
||||
@ -340,8 +340,8 @@ StatusProspect0=Nunca contactado
|
||||
StatusProspect1=A contactar
|
||||
StatusProspect2=Contacto en curso
|
||||
StatusProspect3=Contacto realizado
|
||||
ChangeDoNotContact=Cambiar el estado a ' no contactar '
|
||||
ChangeNeverContacted=Cambiar el estado a 'nunca contactado'
|
||||
ChangeDoNotContact=Cambiar el estado a 'No contactar'
|
||||
ChangeNeverContacted=Cambiar el estado a 'Nunca contactado'
|
||||
ChangeToContact=Cambiar el estado a 'A contactar'
|
||||
ChangeContactInProcess=Cambiar el estado a 'Contacto en curso'
|
||||
ChangeContactDone=Cambiar el estado a 'Contacto realizado'
|
||||
|
||||
@ -7,6 +7,7 @@ Donor=Donante
|
||||
Donors=Donantes
|
||||
AddDonation=Añadir donación
|
||||
NewDonation=Nueva donación
|
||||
ShowDonation=Mostrar donación
|
||||
DonationPromise=Promesa de donación
|
||||
PromisesNotValid=Promesas no validadas
|
||||
PromisesValid=Promesas validadas
|
||||
|
||||
@ -60,8 +60,8 @@ TypeOfLineServiceOrProduct=Tipo de línea (0=producto, 1=servicio)
|
||||
FileWithDataToImport=Archivo que contiene los datos a importar
|
||||
FileToImport=Archivo origen a importar
|
||||
FileMustHaveOneOfFollowingFormat=El archivo de importación debe tener uno de los siguientes formatos
|
||||
ChooseFormatOfFileToImport=Elija el formato de archivo que desea importar haciendo en el picto %s para seleccionarlo...
|
||||
ChooseFileToImport=Elija el archivo de importación y haga clic en el picto %s para seleccionarlo como archivo origen de importación...
|
||||
ChooseFormatOfFileToImport=Elija el formato de archivo que desea importar haciendo en la imagen %s para seleccionarlo...
|
||||
ChooseFileToImport=Elija el archivo de importación y haga clic en la imagen %s para seleccionarlo como archivo origen de importación...
|
||||
DownloadEmptyExample=Descargar archivo de ejemplo vacío
|
||||
SourceFileFormat=Formato del archivo origen
|
||||
FieldsInSourceFile=Campos en el archivo origen
|
||||
@ -125,6 +125,7 @@ DeskCode=Código oficina
|
||||
BankAccountNumber=Número cuenta
|
||||
BankAccountNumberKey=Dígito Control
|
||||
## filters
|
||||
SelectFilterFields=Si quiere aplicar un filtro sobre algunos valores, introdúzcalos aquí.
|
||||
FilterableFields=Campos filtrables
|
||||
FilteredFields=Campos filtrados
|
||||
FilteredFieldsValues=Valores de filtros
|
||||
@ -377,6 +377,7 @@ ResultOk=Éxito
|
||||
ResultKo=Error
|
||||
Reporting=Informe
|
||||
Reportings=Informes
|
||||
GenerateReport=Generar informe
|
||||
Draft=Borrador
|
||||
Drafts=Borradores
|
||||
Validated=Validado
|
||||
@ -553,7 +554,7 @@ Canceled=Cancelado
|
||||
YouCanChangeValuesForThisListFromDictionnarySetup=Puede cambiar estos valores en el menú configuración->diccionarios
|
||||
Color=Color
|
||||
Documents=Documentos
|
||||
DocumentsNb=archivos aduntjos (%s)
|
||||
DocumentsNb=archivos adjuntos (%s)
|
||||
Documents2=Documentos
|
||||
BuildDocuments=Documentos generados
|
||||
UploadDisabled=Subida desactivada
|
||||
|
||||
@ -10,6 +10,7 @@ LocalAgenda=Calendrier local
|
||||
AffectedTo=Affecté à
|
||||
DoneBy=Réalisé par
|
||||
Events=Événements
|
||||
EventsNb=Nombre d'événements
|
||||
MyEvents=Mes événements
|
||||
OtherEvents=Autres événements
|
||||
ListOfActions=Liste des événements
|
||||
|
||||
@ -7,6 +7,7 @@ Donor=Donateur
|
||||
Donors=Donateurs
|
||||
AddDonation=Ajouter don
|
||||
NewDonation=Nouveau don
|
||||
ShowDonation=Montrer don
|
||||
DonationPromise=Promesse de don
|
||||
PromisesNotValid=Promesses non validées
|
||||
PromisesValid=Promesses validées
|
||||
|
||||
@ -376,6 +376,7 @@ ResultOk=Succès
|
||||
ResultKo=Échec
|
||||
Reporting=Rapport
|
||||
Reportings=Rapports
|
||||
GenerateReport=Générer le rapport
|
||||
Draft=Brouillon
|
||||
Drafts=Brouillons
|
||||
Validated=Validé
|
||||
|
||||
Loading…
Reference in New Issue
Block a user