Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop
This commit is contained in:
commit
3683f3cc82
@ -505,7 +505,7 @@ if ($rowid)
|
||||
print $form->showrefnav($object, 'rowid', $linkback);
|
||||
print '</td></tr>';
|
||||
|
||||
$showphoto='<td rowspan="'.$rowspan.'" align="center" valign="middle" width="25%">'.$form->showphoto('memberphoto',$object).'</td>';
|
||||
$showphoto='<td rowspan="'.$rowspan.'" class="hideonsmartphone" align="center" valign="middle" width="25%">'.$form->showphoto('memberphoto',$object).'</td>';
|
||||
|
||||
// Login
|
||||
if (empty($conf->global->ADHERENT_LOGIN_NOT_REQUIRED))
|
||||
|
||||
@ -1015,7 +1015,7 @@ else
|
||||
print $form->selectarray("morphy", $morphys, isset($_POST["morphy"])?$_POST["morphy"]:$object->morphy);
|
||||
print "</td>";
|
||||
// Photo
|
||||
print '<td align="center" valign="middle" width="25%" rowspan="'.$rowspan.'">';
|
||||
print '<td align="center" class="hideonsmartphone" valign="middle" width="25%" rowspan="'.$rowspan.'">';
|
||||
print $form->showphoto('memberphoto',$object)."\n";
|
||||
if ($caneditfieldmember)
|
||||
{
|
||||
@ -1356,7 +1356,7 @@ else
|
||||
print $form->showrefnav($object, 'rowid', $linkback);
|
||||
print '</td></tr>';
|
||||
|
||||
$showphoto='<td rowspan="'.$rowspan.'" align="center" valign="middle" width="25%">';
|
||||
$showphoto='<td rowspan="'.$rowspan.'" align="center" class="hideonsmartphone" valign="middle" width="25%">';
|
||||
$showphoto.=$form->showphoto('memberphoto',$object);
|
||||
$showphoto.='</td>';
|
||||
|
||||
@ -1364,6 +1364,7 @@ else
|
||||
if (empty($conf->global->ADHERENT_LOGIN_NOT_REQUIRED))
|
||||
{
|
||||
print '<tr><td>'.$langs->trans("Login").' / '.$langs->trans("Id").'</td><td class="valeur">'.$object->login.' </td>';
|
||||
// Photo
|
||||
print $showphoto; $showphoto='';
|
||||
print '</tr>';
|
||||
}
|
||||
|
||||
@ -1,5 +1,5 @@
|
||||
<?php
|
||||
/* Copyright (C) 2005-2009 Laurent Destailleur <eldy@users.sourceforge.net>
|
||||
/* Copyright (C) 2005-2013 Laurent Destailleur <eldy@users.sourceforge.net>
|
||||
* Copyright (C) 2005-2012 Regis Houssin <regis.houssin@capnetworks.com>
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or modify
|
||||
|
||||
@ -23,8 +23,9 @@
|
||||
|
||||
require '../../main.inc.php';
|
||||
require_once DOL_DOCUMENT_ROOT.'/core/lib/member.lib.php';
|
||||
require_once DOL_DOCUMENT_ROOT.'/core/class/dolgraph.class.php';
|
||||
|
||||
$graphwidth = 700;
|
||||
$graphwidth=DolGraph::getDefaultGraphSizeForStats('width',700);
|
||||
$mapratio = 0.5;
|
||||
$graphheight = round($graphwidth * $mapratio);
|
||||
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
<?php
|
||||
/* Copyright (C) 2001-2003 Rodolphe Quiedeville <rodolphe@quiedeville.org>
|
||||
* Copyright (C) 2005-2012 Laurent Destailleur <eldy@users.sourceforge.net>
|
||||
* Copyright (C) 2005-2013 Laurent Destailleur <eldy@users.sourceforge.net>
|
||||
*
|
||||
* 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
|
||||
@ -147,23 +147,23 @@ if ($action == 'create')
|
||||
|
||||
print '<table class="border" width="100%">';
|
||||
|
||||
print '<tr><td width="25%" class="fieldrequired">'.$langs->trans("BookmarkTitle").'</td><td><input class="flat" name="title" size="30" value="'.$title.'"></td><td>'.$langs->trans("SetHereATitleForLink").'</td></tr>';
|
||||
print '<tr><td width="25%" class="fieldrequired">'.$langs->trans("BookmarkTitle").'</td><td><input class="flat" name="title" size="30" value="'.$title.'"></td><td class="hideonsmartphone">'.$langs->trans("SetHereATitleForLink").'</td></tr>';
|
||||
|
||||
print '<tr><td class="fieldrequired">'.$langs->trans("UrlOrLink").'</td><td><input class="flat" name="url" size="50" value="'.$url.'"></td><td>'.$langs->trans("UseAnExternalHttpLinkOrRelativeDolibarrLink").'</td></tr>';
|
||||
print '<tr><td class="fieldrequired">'.$langs->trans("UrlOrLink").'</td><td><input class="flat" name="url" size="50" value="'.$url.'"></td><td class="hideonsmartphone">'.$langs->trans("UseAnExternalHttpLinkOrRelativeDolibarrLink").'</td></tr>';
|
||||
|
||||
print '<tr><td>'.$langs->trans("BehaviourOnClick").'</td><td>';
|
||||
$liste=array(0=>$langs->trans("ReplaceWindow"),1=>$langs->trans("OpenANewWindow"));
|
||||
print $form->selectarray('target',$liste,1);
|
||||
print '</td><td>'.$langs->trans("ChooseIfANewWindowMustBeOpenedOnClickOnBookmark").'</td></tr>';
|
||||
print '</td><td class="hideonsmartphone">'.$langs->trans("ChooseIfANewWindowMustBeOpenedOnClickOnBookmark").'</td></tr>';
|
||||
|
||||
print '<tr><td>'.$langs->trans("Owner").'</td><td>';
|
||||
$form->select_users(isset($_POST['userid'])?$_POST['userid']:$user->id,'userid',1);
|
||||
print '</td><td> </td></tr>';
|
||||
print '</td><td class="hideonsmartphone"> </td></tr>';
|
||||
|
||||
// Position
|
||||
print '<tr><td>'.$langs->trans("Position").'</td><td>';
|
||||
print '<input class="flat" name="position" size="5" value="'.(isset($_POST["position"])?$_POST["position"]:$bookmark->position).'">';
|
||||
print '</td><td> </td></tr>';
|
||||
print '</td><td class="hideonsmartphone"> </td></tr>';
|
||||
|
||||
print '</table><br>';
|
||||
|
||||
|
||||
@ -184,23 +184,23 @@ if ($object->id)
|
||||
/* */
|
||||
/* ************************************************************************** */
|
||||
|
||||
print "\n<div class=\"tabsAction\">\n";
|
||||
print '<div class="tabsAction">'."\n";
|
||||
|
||||
if ($action != 'ajout_photo' && $user->rights->categorie->creer)
|
||||
{
|
||||
if (! empty($conf->global->MAIN_UPLOAD_DOC))
|
||||
{
|
||||
print '<a class="butAction" href="'.$_SERVER['PHP_SELF'].'?action=ajout_photo&id='.$object->id.'&type='.$type.'">';
|
||||
print '<a class="butAction hideonsmartphone" href="'.$_SERVER['PHP_SELF'].'?action=ajout_photo&id='.$object->id.'&type='.$type.'">';
|
||||
print $langs->trans("AddPhoto").'</a>';
|
||||
}
|
||||
else
|
||||
{
|
||||
print '<a class="butActionRefused" href="#">';
|
||||
print '<a class="butActionRefused hideonsmartphone" href="#">';
|
||||
print $langs->trans("AddPhoto").'</a>';
|
||||
}
|
||||
}
|
||||
|
||||
print "\n</div>\n";
|
||||
print '</div>'."\n";
|
||||
|
||||
/*
|
||||
* Ajouter une photo
|
||||
|
||||
@ -1,34 +1,34 @@
|
||||
<?php
|
||||
/* Copyright (C) 2003-2006 Rodolphe Quiedeville <rodolphe@quiedeville.org>
|
||||
* Copyright (C) 2004-2013 Laurent Destailleur <eldy@users.sourceforge.net>
|
||||
* Copyright (C) 2005 Marc Barilley / Ocebo <marc@ocebo.com>
|
||||
* Copyright (C) 2005-2012 Regis Houssin <regis.houssin@capnetworks.com>
|
||||
* Copyright (C) 2006 Andre Cianfarani <acianfa@free.fr>
|
||||
* Copyright (C) 2010-2013 Juanjo Menent <jmenent@2byte.es>
|
||||
* Copyright (C) 2011 Philippe Grand <philippe.grand@atoo-net.com>
|
||||
* Copyright (C) 2012 Christophe Battarel <christophe.battarel@altairis.fr>
|
||||
* Copyright (C) 2012 Marcos García <marcosgdf@gmail.com>
|
||||
* Copyright (C) 2013 Florian Henry <florian.henry@open-concept.pro>
|
||||
*
|
||||
* 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
|
||||
* the Free Software Foundation; either version 3 of the License, or
|
||||
* (at your option) any later version.
|
||||
*
|
||||
* This program is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
* GNU General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU General Public License
|
||||
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
/* Copyright (C) 2003-2006 Rodolphe Quiedeville <rodolphe@quiedeville.org>
|
||||
* Copyright (C) 2004-2013 Laurent Destailleur <eldy@users.sourceforge.net>
|
||||
* Copyright (C) 2005 Marc Barilley / Ocebo <marc@ocebo.com>
|
||||
* Copyright (C) 2005-2013 Regis Houssin <regis.houssin@capnetworks.com>
|
||||
* Copyright (C) 2006 Andre Cianfarani <acianfa@free.fr>
|
||||
* Copyright (C) 2010-2013 Juanjo Menent <jmenent@2byte.es>
|
||||
* Copyright (C) 2011 Philippe Grand <philippe.grand@atoo-net.com>
|
||||
* Copyright (C) 2012 Christophe Battarel <christophe.battarel@altairis.fr>
|
||||
* Copyright (C) 2012 Marcos García <marcosgdf@gmail.com>
|
||||
* Copyright (C) 2013 Florian Henry <florian.henry@open-concept.pro>
|
||||
*
|
||||
* 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
|
||||
* the Free Software Foundation; either version 3 of the License, or
|
||||
* (at your option) any later version.
|
||||
*
|
||||
* This program is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
* GNU General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU General Public License
|
||||
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
/**
|
||||
* \file htdocs/commande/fiche.php
|
||||
* \ingroup commande
|
||||
* \brief Page to show customer order
|
||||
*/
|
||||
* \ingroup commande
|
||||
* \brief Page to show customer order
|
||||
*/
|
||||
|
||||
require '../main.inc.php';
|
||||
require_once DOL_DOCUMENT_ROOT.'/core/class/html.formfile.class.php';
|
||||
@ -2201,7 +2201,7 @@ else
|
||||
|
||||
// Total HT
|
||||
print '<tr><td>'.$langs->trans('AmountHT').'</td>';
|
||||
print '<td align="right">'.price($object->total_ht,'',$langs,'','',0,$conf->currency).'</td>';
|
||||
print '<td align="right">'.price($object->total_ht,1,'',1,-1,-1,$conf->currency).'</td>';
|
||||
|
||||
// Margin Infos
|
||||
if (! empty($conf->margin->enabled))
|
||||
@ -2215,22 +2215,22 @@ else
|
||||
print '</tr>';
|
||||
|
||||
// Total TVA
|
||||
print '<tr><td>'.$langs->trans('AmountVAT').'</td><td align="right">'.price($object->total_tva,'',$langs,'','',0,$conf->currency).'</td></tr>';
|
||||
print '<tr><td>'.$langs->trans('AmountVAT').'</td><td align="right">'.price($object->total_tva,1,'',1,-1,-1,$conf->currency).'</td></tr>';
|
||||
|
||||
// Amount Local Taxes
|
||||
if ($mysoc->localtax1_assuj=="1") //Localtax1 RE
|
||||
{
|
||||
print '<tr><td>'.$langs->transcountry("AmountLT1",$mysoc->country_code).'</td>';
|
||||
print '<td align="right">'.price($object->total_localtax1,'',$langs,'','',0,$conf->currency).'</td></tr>';
|
||||
print '<td align="right">'.price($object->total_localtax1,1,'',1,-1,-1,$conf->currency).'</td></tr>';
|
||||
}
|
||||
if ($mysoc->localtax2_assuj=="1") //Localtax2 IRPF
|
||||
{
|
||||
print '<tr><td>'.$langs->transcountry("AmountLT2",$mysoc->country_code).'</td>';
|
||||
print '<td align="right">'.price($object->total_localtax2,'',$langs,'','',0,$conf->currency).'</td></tr>';
|
||||
print '<td align="right">'.price($object->total_localtax2,1,'',1,-1,-1,$conf->currency).'</td></tr>';
|
||||
}
|
||||
|
||||
// Total TTC
|
||||
print '<tr><td>'.$langs->trans('AmountTTC').'</td><td align="right">'.price($object->total_ttc,'',$langs,'','',0,$conf->currency).'</td></tr>';
|
||||
print '<tr><td>'.$langs->trans('AmountTTC').'</td><td align="right">'.price($object->total_ttc,1,'',1,-1,-1,$conf->currency).'</td></tr>';
|
||||
|
||||
// Statut
|
||||
print '<tr><td>'.$langs->trans('Status').'</td><td>'.$object->getLibStatut(4).'</td></tr>';
|
||||
|
||||
@ -30,6 +30,9 @@ require_once DOL_DOCUMENT_ROOT.'/core/class/dolgraph.class.php';
|
||||
|
||||
$langs->load("banks");
|
||||
|
||||
$WIDTH=DolGraph::getDefaultGraphSizeForStats('width',768);
|
||||
$HEIGHT=DolGraph::getDefaultGraphSizeForStats('height',200);
|
||||
|
||||
// Security check
|
||||
if (isset($_GET["account"]) || isset($_GET["ref"]))
|
||||
{
|
||||
@ -82,11 +85,7 @@ if ($result < 0)
|
||||
}
|
||||
else
|
||||
{
|
||||
// Definition de $width et $height
|
||||
$width = 768;
|
||||
$height = 200;
|
||||
|
||||
// Calcul de $min et $max
|
||||
// Calcul $min and $max
|
||||
$sql = "SELECT MIN(b.datev) as min, MAX(b.datev) as max";
|
||||
$sql.= " FROM ".MAIN_DB_PREFIX."bank as b";
|
||||
$sql.= ", ".MAIN_DB_PREFIX."bank_account as ba";
|
||||
@ -239,8 +238,8 @@ else
|
||||
$px1->SetMaxValue($px1->GetCeilMaxValue()<0?0:$px1->GetCeilMaxValue());
|
||||
$px1->SetMinValue($px1->GetFloorMinValue()>0?0:$px1->GetFloorMinValue());
|
||||
$px1->SetTitle($title);
|
||||
$px1->SetWidth($width);
|
||||
$px1->SetHeight($height);
|
||||
$px1->SetWidth($WIDTH);
|
||||
$px1->SetHeight($HEIGHT);
|
||||
$px1->SetType(array('lines','lines'));
|
||||
$px1->setBgColor('onglet');
|
||||
$px1->setBgColorGrid(array(255,255,255));
|
||||
@ -369,8 +368,8 @@ else
|
||||
$px2->SetMaxValue($px2->GetCeilMaxValue()<0?0:$px2->GetCeilMaxValue());
|
||||
$px2->SetMinValue($px2->GetFloorMinValue()>0?0:$px2->GetFloorMinValue());
|
||||
$px2->SetTitle($title);
|
||||
$px2->SetWidth($width);
|
||||
$px2->SetHeight($height);
|
||||
$px2->SetWidth($WIDTH);
|
||||
$px2->SetHeight($HEIGHT);
|
||||
$px2->SetType(array('lines','lines'));
|
||||
$px2->setBgColor('onglet');
|
||||
$px2->setBgColorGrid(array(255,255,255));
|
||||
@ -478,8 +477,8 @@ else
|
||||
$px3->SetMaxValue($px3->GetCeilMaxValue()<0?0:$px3->GetCeilMaxValue());
|
||||
$px3->SetMinValue($px3->GetFloorMinValue()>0?0:$px3->GetFloorMinValue());
|
||||
$px3->SetTitle($title);
|
||||
$px3->SetWidth($width);
|
||||
$px3->SetHeight($height);
|
||||
$px3->SetWidth($WIDTH);
|
||||
$px3->SetHeight($HEIGHT);
|
||||
$px3->SetType(array('lines','lines'));
|
||||
$px3->setBgColor('onglet');
|
||||
$px3->setBgColorGrid(array(255,255,255));
|
||||
@ -605,8 +604,8 @@ else
|
||||
$px4->SetMaxValue($px4->GetCeilMaxValue()<0?0:$px4->GetCeilMaxValue());
|
||||
$px4->SetMinValue($px4->GetFloorMinValue()>0?0:$px4->GetFloorMinValue());
|
||||
$px4->SetTitle($title);
|
||||
$px4->SetWidth($width);
|
||||
$px4->SetHeight($height);
|
||||
$px4->SetWidth($WIDTH);
|
||||
$px4->SetHeight($HEIGHT);
|
||||
$px4->SetType(array('bars','bars'));
|
||||
$px4->SetShading(3);
|
||||
$px4->setBgColor('onglet');
|
||||
@ -714,8 +713,8 @@ else
|
||||
$px5->SetMaxValue($px5->GetCeilMaxValue()<0?0:$px5->GetCeilMaxValue());
|
||||
$px5->SetMinValue($px5->GetFloorMinValue()>0?0:$px5->GetFloorMinValue());
|
||||
$px5->SetTitle($title);
|
||||
$px5->SetWidth($width);
|
||||
$px5->SetHeight($height);
|
||||
$px5->SetWidth($WIDTH);
|
||||
$px5->SetHeight($HEIGHT);
|
||||
$px5->SetType(array('bars','bars'));
|
||||
$px5->SetShading(3);
|
||||
$px5->setBgColor('onglet');
|
||||
|
||||
@ -8,7 +8,7 @@
|
||||
* Copyright (C) 2010-2013 Juanjo Menent <jmenent@2byte.es>
|
||||
* Copyright (C) 2012 Christophe Battarel <christophe.battarel@altairis.fr>
|
||||
* Copyright (C) 2013 Jean-Francois FERRY <jfefe@aternatik.fr>
|
||||
* Copyright (C) 2013 Florian Henry <florian.henry@open-concept.pro>
|
||||
* Copyright (C) 2013 Florian Henry <florian.henry@open-concept.pro>
|
||||
*
|
||||
* 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
|
||||
|
||||
@ -104,10 +104,10 @@ llxHeader("",$langs->trans("AccountancyTreasuryArea"));
|
||||
|
||||
print_fiche_titre($langs->trans("AccountancyTreasuryArea"));
|
||||
|
||||
//print '<table border="0" width="100%" class="notopnoleftnoright">';
|
||||
//print '<tr><td valign="top" width="30%" class="notopnoleft">';
|
||||
|
||||
print '<div class="fichecenter"><div class="fichethirdleft">';
|
||||
|
||||
|
||||
$max=3;
|
||||
|
||||
|
||||
@ -323,7 +323,6 @@ if (! empty($conf->fournisseur->enabled) && $user->rights->fournisseur->facture-
|
||||
}
|
||||
|
||||
|
||||
//print '</td><td valign="top" width="70%" class="notopnoleftnoright">';
|
||||
print '</div><div class="fichetwothirdright"><div class="ficheaddleft">';
|
||||
|
||||
|
||||
@ -1032,9 +1031,10 @@ if ($resql)
|
||||
print "</table><br>";
|
||||
}
|
||||
|
||||
//print '</td></tr></table>';
|
||||
|
||||
print '</div></div></div>';
|
||||
|
||||
|
||||
llxFooter();
|
||||
|
||||
$db->close();
|
||||
|
||||
@ -898,14 +898,15 @@ class DolGraph
|
||||
* getDefaultGraphSizeForStats
|
||||
*
|
||||
* @param string $direction 'width' or 'height'
|
||||
* @param string $defaultsize Value we want as default size
|
||||
* @return int Value of width or height to use by default
|
||||
*/
|
||||
static function getDefaultGraphSizeForStats($direction)
|
||||
static function getDefaultGraphSizeForStats($direction,$defaultsize='')
|
||||
{
|
||||
global $conf;
|
||||
|
||||
if ($direction == 'width') return ($conf->dol_optimize_smallscreen?'400':'500');
|
||||
if ($direction == 'height') return ($conf->dol_optimize_smallscreen?'160':'200');
|
||||
if ($direction == 'width') return ($conf->dol_optimize_smallscreen?'400':($defaultsize?$defaultsize:'500'));
|
||||
if ($direction == 'height') return ($conf->dol_optimize_smallscreen?'160':($defaultsize?$defaultsize:'200'));
|
||||
return 0;
|
||||
}
|
||||
}
|
||||
|
||||
@ -128,10 +128,10 @@ class HookManager
|
||||
$parameters['context']=join(':',$this->contextarray);
|
||||
dol_syslog(get_class($this).'::executeHooks method='.$method." action=".$action." context=".$parameters['context']);
|
||||
|
||||
// Define type of hook ('output', 'returnvalue' or 'addreplace')
|
||||
// Define type of hook ('output', 'returnvalue' or 'addreplace'). 'addreplace' should be type for all hooks. 'output' and 'returnvalue' are deprecated.
|
||||
$hooktype='output';
|
||||
if (preg_match('/^pdf_/',$method)) $hooktype='returnvalue'; // pdf_xxx except pdf_writelinedesc are returnvalue hooks. When there is 2 hooks of this type, only last one win.
|
||||
if (in_array($method,array('doActions','formObjectOptions','pdf_writelinedesc','paymentsupplierinvoices'))) $hooktype='addreplace';
|
||||
if (in_array($method,array('doActions','formObjectOptions','moveUploadedFile','pdf_writelinedesc','paymentsupplierinvoices'))) $hooktype='addreplace';
|
||||
|
||||
// Loop on each hook to qualify modules that declared context
|
||||
$modulealreadyexecuted=array();
|
||||
@ -166,8 +166,11 @@ class HookManager
|
||||
if ($action=='update') $action='edit';
|
||||
}
|
||||
}
|
||||
|
||||
if (is_array($actionclassinstance->results)) $this->resArray =array_merge($this->resArray, $actionclassinstance->results);
|
||||
if (! empty($actionclassinstance->resprints)) $this->resPrint.=$actionclassinstance->resprints;
|
||||
}
|
||||
// Generic hooks that return a string (printSearchForm, printLeftBlock, printTopRightMenu, formAddObjectLine, formBuilddocOptions, ...)
|
||||
// Generic hooks that return a string or array (printSearchForm, printLeftBlock, printTopRightMenu, formAddObjectLine, formBuilddocOptions, ...)
|
||||
else
|
||||
{
|
||||
// TODO. this should be done into the method of hook by returning nothing
|
||||
|
||||
@ -433,7 +433,7 @@ class FormFile
|
||||
$out.= ' type="submit" value="'.$buttonlabel.'"';
|
||||
if (! $allowgenifempty && ! is_array($modellist) && empty($modellist)) $out.= ' disabled="disabled"';
|
||||
$out.= '>';
|
||||
if ($allowgenifempty && ! is_array($modellist) && empty($modellist) && $modulepart != 'unpaid')
|
||||
if ($allowgenifempty && ! is_array($modellist) && empty($modellist) && empty($conf->dol_no_mouse_hover) && $modulepart != 'unpaid')
|
||||
{
|
||||
$langs->load("errors");
|
||||
$out.= ' '.img_warning($langs->transnoentitiesnoconv("WarningNoDocumentModelActivated"));
|
||||
|
||||
@ -1,7 +1,7 @@
|
||||
<?php
|
||||
/* Copyright (C) 2008-2012 Laurent Destailleur <eldy@users.sourceforge.net>
|
||||
* Copyright (C) 2012 Regis Houssin <regis.houssin@capnetworks.com>
|
||||
* Copyright (C) 2012 Juanjo Menent <jmenent@2byte.es>
|
||||
/* Copyright (C) 2008-2012 Laurent Destailleur <eldy@users.sourceforge.net>
|
||||
* Copyright (C) 2012-2013 Regis Houssin <regis.houssin@capnetworks.com>
|
||||
* Copyright (C) 2012 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
|
||||
@ -647,7 +647,7 @@ function dol_move_uploaded_file($src_file, $dest_file, $allowoverwrite, $disable
|
||||
return -2;
|
||||
}
|
||||
|
||||
$hookmanager->initHooks(array('fileslib'));
|
||||
$reshook=$hookmanager->initHooks(array('fileslib'));
|
||||
|
||||
$parameters=array('dest_file' => $dest_file, 'src_file' => $src_file, 'file_name' => $file_name, 'varfiles' => $varfiles, 'allowoverwrite' => $allowoverwrite);
|
||||
$reshook=$hookmanager->executeHooks('moveUploadedFile', $parameters, $object);
|
||||
@ -686,6 +686,8 @@ function dol_move_uploaded_file($src_file, $dest_file, $allowoverwrite, $disable
|
||||
return -3; // Unknown error
|
||||
}
|
||||
}
|
||||
else
|
||||
return $reshook;
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
@ -2588,7 +2588,7 @@ function vatrate($rate,$addpercent=false,$info_bits=0,$usestarfornpr=0)
|
||||
* @param Translate $outlangs Object langs for output
|
||||
* @param int $trunc 1=Truncate if there is too much decimals (default), 0=Does not truncate
|
||||
* @param int $rounding Minimum number of decimal to show. If not defined we use min($conf->global->MAIN_MAX_DECIMALS_UNIT,$conf->global->MAIN_MAX_DECIMALS_TOTAL)
|
||||
* @param int $forcerounding Force the number of decimal
|
||||
* @param int $forcerounding Force the number of decimal fo forcerounding decimal (-1=do not force)
|
||||
* @param string $currency_code To add currency symbol (''=add nothing, 'XXX'=add currency symbols for XXX currency)
|
||||
* @return string Chaine avec montant formate
|
||||
*
|
||||
|
||||
@ -188,11 +188,11 @@ function dol_print_object_info($object)
|
||||
//print "x".$deltadateforserver." - ".$deltadateforclient." - ".$deltadateforuser;
|
||||
|
||||
// Import key
|
||||
if (isset($object->import_key))
|
||||
if (! empty($object->import_key))
|
||||
print $langs->trans("ImportedWithSet").': '.$object->import_key.'<br>';
|
||||
|
||||
// User creation
|
||||
if (isset($object->user_creation))
|
||||
if (! empty($object->user_creation))
|
||||
{
|
||||
print $langs->trans("CreatedBy").': ';
|
||||
if (is_object($object->user_creation))
|
||||
@ -209,7 +209,7 @@ function dol_print_object_info($object)
|
||||
}
|
||||
|
||||
// Date creation
|
||||
if (isset($object->date_creation))
|
||||
if (! empty($object->date_creation))
|
||||
{
|
||||
print $langs->trans("DateCreation").': '.dol_print_date($object->date_creation, 'dayhour');
|
||||
if ($deltadateforuser) print ' '.$langs->trans("CurrentHour").' / '.dol_print_date($object->date_creation+($deltadateforuser*3600),"dayhour").' '.$langs->trans("ClientHour");
|
||||
@ -217,7 +217,7 @@ function dol_print_object_info($object)
|
||||
}
|
||||
|
||||
// User change
|
||||
if (isset($object->user_modification))
|
||||
if (! empty($object->user_modification))
|
||||
{
|
||||
print $langs->trans("ModifiedBy").': ';
|
||||
if (is_object($object->user_modification))
|
||||
@ -234,7 +234,7 @@ function dol_print_object_info($object)
|
||||
}
|
||||
|
||||
// Date change
|
||||
if (isset($object->date_modification))
|
||||
if (! empty($object->date_modification))
|
||||
{
|
||||
print $langs->trans("DateLastModification").': '.dol_print_date($object->date_modification, 'dayhour');
|
||||
if ($deltadateforuser) print ' '.$langs->trans("CurrentHour").' / '.dol_print_date($object->date_modification+($deltadateforuser*3600),"dayhour").' '.$langs->trans("ClientHour");
|
||||
@ -242,7 +242,7 @@ function dol_print_object_info($object)
|
||||
}
|
||||
|
||||
// User validation
|
||||
if (isset($object->user_validation))
|
||||
if (! empty($object->user_validation))
|
||||
{
|
||||
print $langs->trans("ValidatedBy").': ';
|
||||
if (is_object($object->user_validation))
|
||||
@ -259,7 +259,7 @@ function dol_print_object_info($object)
|
||||
}
|
||||
|
||||
// Date validation
|
||||
if (isset($object->date_validation))
|
||||
if (! empty($object->date_validation))
|
||||
{
|
||||
print $langs->trans("DateValidation").': '.dol_print_date($object->date_validation, 'dayhour');
|
||||
if ($deltadateforuser) print ' '.$langs->trans("CurrentHour").' / '.dol_print_date($object->date_validation+($deltadateforuser*3600),"dayhour").' '.$langs->trans("ClientHour");
|
||||
@ -267,7 +267,7 @@ function dol_print_object_info($object)
|
||||
}
|
||||
|
||||
// User approve
|
||||
if (isset($object->user_approve))
|
||||
if (! empty($object->user_approve))
|
||||
{
|
||||
print $langs->trans("ApprovedBy").': ';
|
||||
if (is_object($object->user_approve))
|
||||
@ -284,7 +284,7 @@ function dol_print_object_info($object)
|
||||
}
|
||||
|
||||
// Date approve
|
||||
if (isset($object->date_approve))
|
||||
if (! empty($object->date_approve))
|
||||
{
|
||||
print $langs->trans("DateApprove").': '.dol_print_date($object->date_approve, 'dayhour');
|
||||
if ($deltadateforuser) print ' '.$langs->trans("CurrentHour").' / '.dol_print_date($object->date_approve+($deltadateforuser*3600),"dayhour").' '.$langs->trans("ClientHour");
|
||||
@ -292,7 +292,7 @@ function dol_print_object_info($object)
|
||||
}
|
||||
|
||||
// User close
|
||||
if (isset($object->user_cloture))
|
||||
if (! empty($object->user_cloture))
|
||||
{
|
||||
print $langs->trans("ClosedBy").': ';
|
||||
if (is_object($object->user_cloture))
|
||||
@ -309,7 +309,7 @@ function dol_print_object_info($object)
|
||||
}
|
||||
|
||||
// Date close
|
||||
if (isset($object->date_cloture))
|
||||
if (! empty($object->date_cloture))
|
||||
{
|
||||
print $langs->trans("DateClosing").': '.dol_print_date($object->date_cloture, 'dayhour');
|
||||
if ($deltadateforuser) print ' '.$langs->trans("CurrentHour").' / '.dol_print_date($object->date_cloture+($deltadateforuser*3600),"dayhour").' '.$langs->trans("ClientHour");
|
||||
@ -317,7 +317,7 @@ function dol_print_object_info($object)
|
||||
}
|
||||
|
||||
// User conciliate
|
||||
if (isset($object->user_rappro))
|
||||
if (! empty($object->user_rappro))
|
||||
{
|
||||
print $langs->trans("ConciliatedBy").': ';
|
||||
if (is_object($object->user_rappro))
|
||||
@ -334,7 +334,7 @@ function dol_print_object_info($object)
|
||||
}
|
||||
|
||||
// Date conciliate
|
||||
if (isset($object->date_rappro))
|
||||
if (! empty($object->date_rappro))
|
||||
{
|
||||
print $langs->trans("DateConciliating").': '.dol_print_date($object->date_rappro, 'dayhour');
|
||||
if ($deltadateforuser) print ' '.$langs->trans("CurrentHour").' / '.dol_print_date($object->date_rappro+($deltadateforuser*3600),"dayhour").' '.$langs->trans("ClientHour");
|
||||
@ -342,7 +342,7 @@ function dol_print_object_info($object)
|
||||
}
|
||||
|
||||
// Date send
|
||||
if (isset($object->date_envoi))
|
||||
if (! empty($object->date_envoi))
|
||||
{
|
||||
print $langs->trans("DateLastSend").': '.dol_print_date($object->date_envoi, 'dayhour');
|
||||
if ($deltadateforuser) print ' '.$langs->trans("CurrentHour").' / '.dol_print_date($object->date_envoi+($deltadateforuser*3600),"dayhour").' '.$langs->trans("ClientHour");
|
||||
|
||||
@ -55,8 +55,8 @@ top_htmlhead($head, $title, $disablejs, $disablehead, $arrayofjs, $arrayofcss);
|
||||
|
||||
|
||||
|
||||
print '<body style="margin: 40px; text-align: center">'."\n";
|
||||
print '<center>';
|
||||
print '<body style="margin: 10px; text-align: center">'."\n";
|
||||
print '<center><br>';
|
||||
|
||||
// Define $searchform
|
||||
if (! empty($conf->societe->enabled) && ! empty($conf->global->MAIN_SEARCHFORM_SOCIETE) && $user->rights->societe->lire)
|
||||
|
||||
@ -100,7 +100,7 @@ if (! empty($conf->margin->enabled) && ! empty($object->element) && in_array($ob
|
||||
<td align="right"><input type="text" size="5" name="price_ht" value="<?php echo (isset($_POST["price_ht"])?$_POST["price_ht"]:''); ?>">
|
||||
</td>
|
||||
<td align="right"><input type="text" size="2" name="qty" value="<?php echo (isset($_POST["qty"])?$_POST["qty"]:1); ?>"></td>
|
||||
<td align="right" nowrap><input type="text" size="1" value="<?php echo $buyer->remise_client; ?>" name="remise_percent">%</td>
|
||||
<td align="right" nowrap="nowrap"><input type="text" size="1" value="<?php echo $buyer->remise_client; ?>" name="remise_percent"><span class="hideonsmartphone">%</span></td>
|
||||
<?php
|
||||
$colspan = 4;
|
||||
if (! empty($usemargins))
|
||||
|
||||
@ -106,7 +106,7 @@ jQuery(document).ready(function() {
|
||||
?>
|
||||
</td>
|
||||
<td align="right"><input type="text" size="2" name="qty" value="1"></td>
|
||||
<td align="right" nowrap><input type="text" size="1" name="remise_percent" value="<?php echo $buyer->remise_client; ?>">%</td>
|
||||
<td align="right" nowrap><input type="text" size="1" name="remise_percent" value="<?php echo $buyer->remise_client; ?>"><span class="hideonsmartphone">%</span></td>
|
||||
<?php
|
||||
$colspan = 4;
|
||||
if (! empty($usemargins))
|
||||
|
||||
@ -1528,7 +1528,7 @@ elseif (! empty($object->id))
|
||||
print '</td>';
|
||||
print '<td align="right"><input size="5" type="text" name="pu" value="'.price($line->subprice).'"></td>';
|
||||
print '<td align="right"><input size="2" type="text" name="qty" value="'.$line->qty.'"></td>';
|
||||
print '<td align="right" nowrap="nowrap"><input size="1" type="text" name="remise_percent" value="'.$line->remise_percent.'">%</td>';
|
||||
print '<td align="right" nowrap="nowrap"><input size="1" type="text" name="remise_percent" value="'.$line->remise_percent.'"><span class="hideonsmartphone">%</span></td>';
|
||||
print '<td align="center" colspan="4"><input type="submit" class="button" name="save" value="'.$langs->trans("Save").'">';
|
||||
print '<br><input type="submit" class="button" name="cancel" value="'.$langs->trans('Cancel').'"></td>';
|
||||
print '</tr>' . "\n";
|
||||
@ -1596,7 +1596,7 @@ elseif (! empty($object->id))
|
||||
print '</td>';
|
||||
print '<td align="right"><input type="text" name="pu" size="5" value="'.GETPOST('pu').'"></td>';
|
||||
print '<td align="right"><input type="text" name="qty" value="'.(GETPOST('qty')?GETPOST('qty'):'1').'" size="2"></td>';
|
||||
print '<td align="right" nowrap="nowrap"><input type="text" name="remise_percent" size="1" value="'.(GETPOST('remise_percent')?GETPOST('remise_percent'):$object->thirdparty->remise_client).'">%</td>';
|
||||
print '<td align="right" nowrap="nowrap"><input type="text" name="remise_percent" size="1" value="'.(GETPOST('remise_percent')?GETPOST('remise_percent'):$object->thirdparty->remise_client).'"><span class="hideonsmartphone">%</span></td>';
|
||||
print '<td align="center" colspan="4"><input type="submit" class="button" value="'.$langs->trans('Add').'"></td>';
|
||||
print '</tr>';
|
||||
|
||||
@ -1653,7 +1653,7 @@ elseif (! empty($object->id))
|
||||
|
||||
print '</td>';
|
||||
print '<td align="right"><input type="text" size="2" id="pqty" name="pqty" value="'.(GETPOST('pqty')?GETPOST('pqty'):'1').'"></td>';
|
||||
print '<td align="right" nowrap="nowrap"><input type="text" size="1" id="p_remise_percent" name="p_remise_percent" value="'.(GETPOST('p_remise_percent')?GETPOST('p_remise_percent'):$object->thirdparty->remise_client).'">%</td>';
|
||||
print '<td align="right" nowrap="nowrap"><input type="text" size="1" id="p_remise_percent" name="p_remise_percent" value="'.(GETPOST('p_remise_percent')?GETPOST('p_remise_percent'):$object->thirdparty->remise_client).'"><span class="hideonsmartphone">%</span></td>';
|
||||
print '<td align="center" colspan="4"><input type="submit" id="addPredefinedProductButton" class="button" value="'.$langs->trans('Add').'"></td>';
|
||||
print '</tr>';
|
||||
|
||||
|
||||
@ -1746,7 +1746,7 @@ else
|
||||
|
||||
print '<td align="right"><input size="1" name="qty" type="text" value="'.$object->lines[$i]->qty.'"></td>';
|
||||
|
||||
print '<td align="right" nowrap="nowrap"><input size="1" name="remise_percent" type="text" value="'.$object->lines[$i]->remise_percent.'">%</td>';
|
||||
print '<td align="right" nowrap="nowrap"><input size="1" name="remise_percent" type="text" value="'.$object->lines[$i]->remise_percent.'"><span class="hideonsmartphone">%</span></td>';
|
||||
|
||||
print '<td align="right" nowrap="nowrap"> </td>';
|
||||
|
||||
@ -1891,7 +1891,7 @@ else
|
||||
print '<td align="right">';
|
||||
print '<input size="1" name="qty" type="text" value="1">';
|
||||
print '</td>';
|
||||
print '<td align="right" nowrap="nowrap"><input size="1" name="remise_percent" type="text" value="'.(GETPOST('remise_percent')?GETPOST('remise_percent'):'0').'">%</td>';
|
||||
print '<td align="right" nowrap="nowrap"><input size="1" name="remise_percent" type="text" value="'.(GETPOST('remise_percent')?GETPOST('remise_percent'):'0').'"><span class="hideonsmartphone">%</span></td>';
|
||||
print '<td> </td>';
|
||||
print '<td> </td>';
|
||||
print '<td align="center" valign="middle" colspan="2"><input type="submit" class="button" value="'.$langs->trans('Add').'"></td></tr>';
|
||||
@ -1958,7 +1958,7 @@ else
|
||||
|
||||
print '</td>';
|
||||
print '<td align="right"><input type="text" id="pqty" name="qty" value="1" size="1"></td>';
|
||||
print '<td align="right" nowrap="nowrap"><input size="1" id="p_remise_percent" name="remise_percent" type="text" value="'.(GETPOST('remise_percent')?GETPOST('remise_percent'):'0').'">%</td>';
|
||||
print '<td align="right" nowrap="nowrap"><input size="1" id="p_remise_percent" name="remise_percent" type="text" value="'.(GETPOST('remise_percent')?GETPOST('remise_percent'):'0').'"><span class="hideonsmartphone">%</span></td>';
|
||||
print '<td> </td>';
|
||||
print '<td> </td>';
|
||||
print '<td align="center" valign="middle" colspan="2"><input type="submit" id="addPredefinedProductButton" class="button" value="'.$langs->trans("Add").'"></td>';
|
||||
|
||||
@ -349,20 +349,27 @@ Int=numèric enter
|
||||
Float=Decimal
|
||||
DateAndTime=Data i hora
|
||||
Unique=Unic
|
||||
Boolean=Boleano (Checkbox)
|
||||
Boolean=Boleano (Casella de verificació)
|
||||
ExtrafieldPhone=Telèfon
|
||||
ExtrafieldPrice=Preu
|
||||
ExtrafieldMail=Correu
|
||||
ExtrafieldSelect=Llista de selecció
|
||||
ExtrafieldSeparator=Separator
|
||||
ExtrafieldCheckBox=Casilla
|
||||
ExtrafieldRadio=Opción
|
||||
ExtrafieldParamHelp=Optiones Lista esta llave,valor<br><br> para exemplo : <br>1,texto1<br>2,texto2<br>3,texto3<br>...
|
||||
ExtrafieldSeparator=Separador
|
||||
ExtrafieldCheckBox=Casella de verificació
|
||||
ExtrafieldRadio=Botó de selecció excloent
|
||||
ExtrafieldParamHelp=La llista ha de ser en forma clau, valor<br><br> per exemple : <br>1,text1<br>2,text2<br>3,text3<br>...
|
||||
LibraryToBuildPDF=Llibreria usada per a la creació d'arxius PDF
|
||||
WarningUsingFPDF=Atenció: El seu arxiu <b>conf.php</b> conté la directiva <b>dolibarr_pdf_force_fpdf=1</b>. Això fa que s'usi la llibreria FPDF per generar els seus arxius PDF. Aquesta llibreria és antiga i no cobreix algunes funcionalitats (Unicode, transparència d'imatges, idiomes ciríl · lics, àrabs o asiàtics, etc.), Pel que pot tenir problemes en la generació dels PDF.<br> Per resoldre-ho, i disposar d'un suport complet de PDF, pot descarregar la <a href="http://www.tcpdf.org/" target="_blank"> llibreria TCPDF </a>, i a continuació comentar o eliminar la línia <b>$dolibarr_pdf_force_fpdf=1</b>, i afegir al seu lloc <b>$dolibarr_lib_TCPDF_PATH='ruta_a_TCPDF'</b>
|
||||
LocalTaxDesc=Alguns països apliquen 2 o 3 taxes a cada línia de factura. Si és el cas, escolliu el tipus de la segona i tercera taxa i el seu valor. Els possibles tipus són: <br> 1: taxa local aplicable a productes i serveis sense IVA (IVA no s'aplica a la taxa local) <br> 2: taxa local s'aplica a productes i serveis abans de l'IVA (IVA es calcula sobre import + taxa local) <br> 3: taxa local s'aplica a productes sense IVA (IVA no s'aplica a la taxa local) <br> 4: taxa local s'aplica a productes abans de l'IVA (IVA es calcula sobre l'import + taxa local) <br> 5: taxa local s'aplica a serveis sense IVA (IVA no s'aplica a la taxa local) <br> 6: taxa local s'aplica a serveis abans de l'IVA (IVA es calcula sobre import + taxa local)
|
||||
SuhosinSessionEncrypt=Emmagatzematge de sessions xifrades per Suhosin
|
||||
# Modules
|
||||
SMS=SMS
|
||||
LinkToTestClickToDial=Introduïu un número de telèfon que voleu marcar per provar l'enllaç de crida ClickToDial per a l'usuari <strong>%s</strong>
|
||||
RefreshPhoneLink=Refrescar enllaç
|
||||
LinkToTest=Enllaç seleccionable per l'usuari <strong>%s</strong> (feu clic al número per provar)
|
||||
KeepEmptyToUseDefault=Deixeu aquest camp buit per usar el valor per defecte
|
||||
DefaultLink=Enllaç per defecte
|
||||
ValueOverwrittenByUserSetup=Atenció: Aquest valor pot ser sobreescrit per un valor específic de la configuració de l'usuari (cada usuari pot tenir la seva pròpia url clicktodial)
|
||||
# Modules= undefined==
|
||||
Module0Name=Usuaris y grups
|
||||
Module0Desc=Gestió d'usuaris i grups
|
||||
Module1Name=Tercers
|
||||
@ -945,6 +952,8 @@ ExtraFieldsContacts=Atributs adicionals (contactes/adreçes)
|
||||
ExtraFieldsMember=Atributs complementaris (membres)
|
||||
ExtraFieldsMemberType=Atributs complementaris (tipus de membres)
|
||||
ExtraFieldsCustomerInvoices=Atributs complementaris (factures a clients)
|
||||
ExtraFieldsSupplierOrders=Atributs complementaris (comandes)
|
||||
ExtraFieldsSupplierInvoices=AAtributs complementaris (factures)
|
||||
ExtraFieldHasWrongValue=L'atribut %s te un valor incorrecte.
|
||||
AlphaNumOnlyCharsAndNoSpace=només carateres alfanumèrics sense espais
|
||||
SendingMailSetup=Configuració de l'enviament per mail
|
||||
@ -957,7 +966,7 @@ TranslationDesc=L'elecció de l'idioma mostrat en pantalla es modifica:<br>* A n
|
||||
ClassNotFoundIntoPathWarning=No s'ha trobat la classe %s en el seu path PHP
|
||||
YesInSummer=Sí a l'estiu
|
||||
OnlyFollowingModulesAreOpenedToExternalUsers=Recordeu que només els mòduls següents estan oberts a usuaris externs (siguin quins siguin els permisos dels usuaris):
|
||||
##### Module password generation
|
||||
##### Module password generation= undefined==
|
||||
PasswordGenerationStandard=Retorna una contrasenya generada per l'algoritme intern Dolibarr: 8 caràcters, números i caràcters en minúscules barrejades.
|
||||
PasswordGenerationNone=No ofereix contrasenyes. La contrasenya s'introdueix manualment.
|
||||
##### Users setup #####
|
||||
|
||||
@ -116,6 +116,7 @@ ErrorFileMustBeADolibarrPackage=El fitxer %s ha de ser un paquet Dolibarr en for
|
||||
ErrorFileRequired=Es requereix un fitxer de paquet Dolibarr en format zip
|
||||
ErrorPhpCurlNotInstalled=L'extensió PHP CURL no es troba instal·lada, és indispensable per dialogar amb Paypal.
|
||||
ErrorFailedToAddToMailmanList=S'ha produït un error en intentar afegir un registre a la llista Mailman o base de dades SPIP
|
||||
ErrorFailedToRemoveToMailmanList=Error en l'eliminació de %s de la llista Mailmain %s o base SPIP
|
||||
ErrorNewValueCantMatchOldValue=El Nou valor no pot ser igual al antic
|
||||
ErrorFailedToValidatePasswordReset=No s'ha pogut restablir la contrasenya. És possible que aquest enllaç ja s'hagi utilitzat (aquest enllaç només es pot utilitzar una vegada). Si no és el cas prova de reiniciar el procés de restabliment de contrasenya des del principi.
|
||||
|
||||
@ -133,3 +134,4 @@ WarningLockFileDoesNotExists=Atenció: Un cop acabada l'instal·lació, han de d
|
||||
WarningUntilDirRemoved=Aquesta alerta seguirà activa mentre la carpeta existeixi (alerta visible per als usuaris admin solament).
|
||||
WarningCloseAlways=Avís, el tancament és realitzat encara que la quantitat total difereixi entre els elements d'origen i destí. Activi aquesta funcionalitat amb precaució.
|
||||
WarningUsingThisBoxSlowDown=Atenció, l'ús d'aquest panell provoca serioses alentiments en les pàgines que mostren aquest panell.
|
||||
WarningClickToDialUserSetupNotComplete=La configuració de ClickToDial per al compte d'usuari no està completa (vegeu la pestanya ClickToDial en la seva fitxa d'usuari)
|
||||
|
||||
@ -95,7 +95,7 @@ MailSelectedRecipients=Destinataris seleccionats
|
||||
MailingArea=Àrea E-Mailings
|
||||
LastMailings=Els %s darrers E-Mailings
|
||||
TargetsStatistics=Estadístiques destinataris
|
||||
NbOfCompaniesContacts=Contactes únics d'empreses
|
||||
NbOfCompaniesContacts=Contactes/adreces únics
|
||||
MailNoChangePossible=Destinataris d'un E-Mailing validat no modificables
|
||||
SearchAMailing=Cercar un E-Mailing
|
||||
SendMailing=Enviar E-Mailing
|
||||
|
||||
@ -206,3 +206,5 @@ MembersStatisticsByProperties=Estadístiques dels membres per característiques
|
||||
MembersByNature=Membres per naturalesa
|
||||
VATToUseForSubscriptions=Taxa d'IVA per les afiliacions
|
||||
NoVatOnSubscription=Sense IVA per a les afiliacions
|
||||
|
||||
MEMBER_PAYONLINE_SENDEMAIL=E-Mail per advertir en cas de recepció de confirmació d'un pagament validat d'una afiliació
|
||||
|
||||
@ -5,6 +5,7 @@ Supplier=Proveïdor
|
||||
AddSupplier=Afegir proveïdor
|
||||
SupplierRemoved=Proveïdor eliminat
|
||||
SuppliersInvoice=Factura proveïdor
|
||||
SuppliersInvoices=Factures proveïdors
|
||||
NewSupplier=Nou proveïdor
|
||||
History=Històric
|
||||
ListOfSuppliers=Llistat de proveïdors
|
||||
|
||||
@ -349,20 +349,27 @@ Int=Numérico entero
|
||||
Float=Decimal
|
||||
DateAndTime=Fecha y hora
|
||||
Unique=Único
|
||||
Boolean=Boleano (Casilla unico)
|
||||
Boolean=Boleano (Casilla de verificación)
|
||||
ExtrafieldPhone=Teléfono
|
||||
ExtrafieldPrice=Precio
|
||||
ExtrafieldMail=Correo
|
||||
ExtrafieldSelect=Lista de selección
|
||||
ExtrafieldSeparator=Separator
|
||||
ExtrafieldCheckBox=Casilla
|
||||
ExtrafieldRadio=Opción
|
||||
ExtrafieldParamHelp=Optiones Lista esta llave,valor<br><br> para exemplo : <br>1,texto1<br>2,texto2<br>3,texto3<br>...
|
||||
ExtrafieldSeparator=Separador
|
||||
ExtrafieldCheckBox=Casilla de verificación
|
||||
ExtrafieldRadio=Botón de selección excluyente
|
||||
ExtrafieldParamHelp=La lista debe ser en forma llave,valor<br><br> por ejemplo : <br>1,texto1<br>2,texto2<br>3,texto3<br>...
|
||||
LibraryToBuildPDF=Librería usada para la creación de archivos PDF
|
||||
WarningUsingFPDF=Atención: Su archivo <b>conf.php</b> contiene la directiva <b>dolibarr_pdf_force_fpdf=1</b>. Esto hace que se use la librería FPDF para generar sus archivos PDF. Esta librería es antigua y no cubre algunas funcionalidades (Unicode, transparencia de imágenes, idiomas cirílicos, árabes o asiáticos, etc.), por lo que puede tener problemas en la generación de los PDF.<br>Para resolverlo, y disponer de un soporte completo de PDF, puede descargar la <a href="http://www.tcpdf.org/" target="_blank">librería TCPDF</a> , y a continuación comentar o eliminar la línea <b>$dolibarr_pdf_force_fpdf=1</b>, y añadir en su lugar <b>$dolibarr_lib_TCPDF_PATH='ruta_a_TCPDF'</b>
|
||||
LocalTaxDesc=Algunos países aplican 2 o 3 tasas a cada línea de factura. Si es el caso, escoja el tipo de la segunda y tercera tasa y su valor. Los posibles tipos son:<br>1 : tasa local aplicable a productos y servicios sin IVA (IVA no se aplica en la tasa local)<br>2 : tasa local se aplica a productos y servicios antes del IVA (IVA se calcula sobre importe+tasa local)<br>3 : tasa local se aplica a productos sin IVA (IVA no se aplica en la tasa local)<br>4 : tasa local se aplica a productos antes del IVA (IVA se calcula sobre el importe+tasa local)<br>5 : tasa local se aplica a servicios sin IVA (IVA no se aplica a la tasa local)<br>6 : tasa local se aplica a servicios antes del IVA (IVA se calcula sobre importe + tasa local)
|
||||
SuhosinSessionEncrypt=Almacenamiento de sesiones cifradas por Suhosin
|
||||
# Modules
|
||||
SMS=SMS
|
||||
LinkToTestClickToDial=Introduzca un número de teléfono al que llamar para probar el enlace de llamada ClickToDial para el usuario <strong>%s</strong>
|
||||
RefreshPhoneLink=Refrescar enlace
|
||||
LinkToTest=Enlace seleccionable para el usuario <strong>%s</strong> (haga clic en el número para probar)
|
||||
KeepEmptyToUseDefault=Deje este campo vacío para usar el valor por defecto
|
||||
DefaultLink=Enlace por defecto
|
||||
ValueOverwrittenByUserSetup=Atención: Este valor puede ser sobreescrito por un valor específico de la configuración del usuario (cada usuario puede tener su propia url clicktodial)
|
||||
# Modules= undefined=
|
||||
Module0Name=Usuarios y grupos
|
||||
Module0Desc=Gestión de usuarios y grupos
|
||||
Module1Name=Terceros
|
||||
@ -680,10 +687,10 @@ Permission1411=Leer los movimientos contables
|
||||
Permission1412=Crear/modificar/anular movimientos contables
|
||||
Permission1415=Leer Balances, informes, diarios, libros maestros
|
||||
Permission1421=Exportar pedidos de clientes y atributos
|
||||
Permission23001 = Ver tareas programadas
|
||||
Permission23002 = Crear/actualizar tareas programadas
|
||||
Permission23003 = Borrar tareas programadas
|
||||
Permission23004 = Ejecutar tareas programadas
|
||||
Permission23001=Ver tareas programadas
|
||||
Permission23002=Crear/actualizar tareas programadas
|
||||
Permission23003=Borrar tareas programadas
|
||||
Permission23004=Ejecutar tareas programadas
|
||||
Permission2401=Leer acciones (eventos o tareas) vinculadas a su cuenta
|
||||
Permission2402=Crear/eliminar acciones (eventos o tareas) vinculadas a su cuenta
|
||||
Permission2403=Modificar acciones (eventos o tareas) vinculadas a su cuenta
|
||||
@ -945,6 +952,8 @@ ExtraFieldsContacts=Atributos adicionales (contactos/direcciones)
|
||||
ExtraFieldsMember=Atributos complementarios (miembros)
|
||||
ExtraFieldsMemberType=Atributos complementarios (tipos de miembros)
|
||||
ExtraFieldsCustomerInvoices=Atributos complementarios (facturas a clientes)
|
||||
ExtraFieldsSupplierOrders=Atributos complementarios (pedidos)
|
||||
ExtraFieldsSupplierInvoices=Atributos complementarios (facturas)
|
||||
ExtraFieldHasWrongValue=El atributo %s tiene un valor incorrecto.
|
||||
AlphaNumOnlyCharsAndNoSpace=solamente caracteres alfanuméricos sin espacios
|
||||
SendingMailSetup=Configuración del envío por mail
|
||||
@ -957,7 +966,7 @@ TranslationDesc=La elección del idioma mostrado en pantalla se modifica:<br>* A
|
||||
ClassNotFoundIntoPathWarning=No se ha encontrado la clase %s en su path PHP
|
||||
YesInSummer=Sí en verano
|
||||
OnlyFollowingModulesAreOpenedToExternalUsers=Tenga en cuenta que sólo los módulos siguientes están abiertos a usuarios externos (sean cuales sean los permisos de los usuarios):
|
||||
##### Module password generation
|
||||
##### Module password generation= undefined=
|
||||
PasswordGenerationStandard=Devuelve una contraseña generada por el algoritmo interno Dolibarr: 8 caracteres, números y caracteres en minúsculas mezcladas.
|
||||
PasswordGenerationNone=No ofrece contraseñas. La contraseña se introduce manualmente.
|
||||
##### Users setup #####
|
||||
|
||||
@ -119,6 +119,7 @@ ErrorFileMustBeADolibarrPackage=El archivo %s debe ser un paquete Dolibarr en fo
|
||||
ErrorFileRequired=Se requiere un archivo de paquete Dolibarr en formato zip
|
||||
ErrorPhpCurlNotInstalled=La extensión PHP CURL no se encuentra instalada, es indispensable para dialogar con Paypal.
|
||||
ErrorFailedToAddToMailmanList=Ha ocurrido un error al intentar añadir un registro a la lista Mailman o base de datos SPIP
|
||||
ErrorFailedToRemoveToMailmanList=Error en la eliminación de %s de la lista Mailmain %s o base SPIP
|
||||
ErrorNewValueCantMatchOldValue=El nuevo valor no puede ser igual al antiguo
|
||||
ErrorFailedToValidatePasswordReset=No se ha podido restablecer la contraseña. Es posible que este enlace ya se haya utilizado (este enlace sólo puede usarse una vez). Si no es el caso, trate de reiniciar el proceso de restablecimiento de contraseña desde el principio.
|
||||
|
||||
@ -136,3 +137,4 @@ WarningLockFileDoesNotExists=Atención: Una vez terminada la instalación, deben
|
||||
WarningUntilDirRemoved=Las alertas de seguridad sólo son visibles a los administradores y permanecen activas hasta que el problema sea resuelto (o si la constante MAIN_REMOVE_INSTALL_WARNING es definida en Configuración->Varios)
|
||||
WarningCloseAlways=Aviso, el cierre es realizado aunque la cantidad total difiera entre los elementos de origen y destino. Active esta funcionalidad con precaución.
|
||||
WarningUsingThisBoxSlowDown=Atención, el uso de este panel provoca serias ralentizaciones en las páginas que muestran este panel.
|
||||
WarningClickToDialUserSetupNotComplete=La configuración de ClickToDial para su cuenta de usuario no está completa (vea la pestaña ClickToDial en su ficha de usuario)
|
||||
|
||||
@ -97,7 +97,7 @@ MailSelectedRecipients=Destinatarios seleccionados
|
||||
MailingArea=Área E-Mailings
|
||||
LastMailings=Los %s últimos E-Mailings
|
||||
TargetsStatistics=Estadísticas destinatarios
|
||||
NbOfCompaniesContacts=Contactos únicos de empresas
|
||||
NbOfCompaniesContacts=Contactos/direcciones únicos
|
||||
MailNoChangePossible=Destinatarios de un E-Mailing validado no modificables
|
||||
SearchAMailing=Buscar un E-Mailing
|
||||
SendMailing=Enviar E-Mailing
|
||||
|
||||
@ -206,3 +206,5 @@ MembersStatisticsByProperties=Estadísticas de los miembros por características
|
||||
MembersByNature=Miembros por naturaleza
|
||||
VATToUseForSubscriptions=Tasa de IVA para las afiliaciones
|
||||
NoVatOnSubscription=Sin IVA para en las afiliaciones
|
||||
|
||||
MEMBER_PAYONLINE_SENDEMAIL=E-Mail para advertir en caso de recepción de confirmación de un pago validado de una afiliación
|
||||
|
||||
@ -5,6 +5,7 @@ Supplier=Proveedor
|
||||
AddSupplier=Añadir proveedor
|
||||
SupplierRemoved=Proveedor eliminado
|
||||
SuppliersInvoice=Factura proveedor
|
||||
SuppliersInvoices=Facturas proveedores
|
||||
NewSupplier=Nuevo proveedor
|
||||
History=Histórico
|
||||
ListOfSuppliers=Listado de proveedores
|
||||
|
||||
@ -1719,7 +1719,7 @@ function printSearchForm($urlaction,$urlobject,$title,$htmlmodesearch,$htmlinput
|
||||
$ret.='<input type="text" class="flat" ';
|
||||
if (! empty($conf->global->MAIN_HTML5_PLACEHOLDER)) $ret.=' placeholder="'.$langs->trans("SearchOf").''.strip_tags($title).'"';
|
||||
else $ret.=' title="'.$langs->trans("SearchOf").''.strip_tags($title).'"';
|
||||
$ret.=' name="'.$htmlinputname.'" size="10" /> ';
|
||||
$ret.=' name="'.$htmlinputname.'" size="10" />';
|
||||
$ret.='<input type="submit" class="button" value="'.$langs->trans("Go").'">';
|
||||
$ret.="</form>\n";
|
||||
return $ret;
|
||||
|
||||
@ -65,8 +65,9 @@ else
|
||||
else print $langs->trans("TasksPublicDesc").'<br><br>';
|
||||
}
|
||||
|
||||
print '<table border="0" width="100%" class="notopnoleftnoright">';
|
||||
print '<tr><td width="30%" valign="top" class="notopnoleft">';
|
||||
|
||||
print '<div class="fichecenter"><div class="fichethirdleft">';
|
||||
|
||||
|
||||
print_projecttasks_array($db,$socid,$projectsListId,$mine);
|
||||
|
||||
@ -180,7 +181,8 @@ print "</table>";
|
||||
}
|
||||
|
||||
|
||||
print '</td><td width="70%" valign="top" class="notopnoleftright">';
|
||||
print '</div><div class="fichetwothirdright"><div class="ficheaddleft">';
|
||||
|
||||
|
||||
// TODO Do not use week function to be compatible with all database
|
||||
if ($db->type != 'pgsql')
|
||||
@ -326,7 +328,9 @@ else
|
||||
}
|
||||
print "</table>";
|
||||
|
||||
print '</td></tr></table>';
|
||||
|
||||
print '</div></div></div>';
|
||||
|
||||
|
||||
llxFooter();
|
||||
|
||||
|
||||
@ -68,12 +68,16 @@ else
|
||||
else print $langs->trans("ProjectsPublicDesc").'<br><br>';
|
||||
}
|
||||
|
||||
print '<table border="0" width="100%" class="notopnoleftnoright">';
|
||||
print '<tr><td width="30%" valign="top" class="notopnoleft">';
|
||||
|
||||
|
||||
print '<div class="fichecenter"><div class="fichethirdleft">';
|
||||
|
||||
|
||||
print_projecttasks_array($db,$socid,$projectsListId);
|
||||
|
||||
print '</td><td width="70%" valign="top" class="notopnoleftnoright">';
|
||||
|
||||
print '</div><div class="fichetwothirdright"><div class="ficheaddleft">';
|
||||
|
||||
|
||||
print '<table class="noborder" width="100%">';
|
||||
print '<tr class="liste_titre">';
|
||||
@ -128,7 +132,9 @@ else
|
||||
}
|
||||
print "</table>";
|
||||
|
||||
print '</td></tr></table>';
|
||||
|
||||
print '</div></div></div>';
|
||||
|
||||
|
||||
llxFooter();
|
||||
|
||||
|
||||
@ -83,6 +83,7 @@ if ($action == 'addrights' && $caneditperms)
|
||||
{
|
||||
$user->clearrights();
|
||||
$user->getrights();
|
||||
$menumanager->loadMenu();
|
||||
}
|
||||
}
|
||||
|
||||
@ -98,6 +99,7 @@ if ($action == 'delrights' && $caneditperms)
|
||||
{
|
||||
$user->clearrights();
|
||||
$user->getrights();
|
||||
$menumanager->loadMenu();
|
||||
}
|
||||
}
|
||||
|
||||
@ -185,6 +187,7 @@ if (! empty($conf->multicompany->enabled)) {
|
||||
}
|
||||
$sql.= " AND ur.fk_user = ".$fuser->id;
|
||||
|
||||
dol_syslog("get user perms sql=".$sql);
|
||||
$result=$db->query($sql);
|
||||
if ($result)
|
||||
{
|
||||
@ -220,6 +223,7 @@ if (! empty($conf->multicompany->enabled) && ! empty($conf->multicompany->transv
|
||||
$sql.= " AND gr.fk_usergroup = gu.fk_usergroup";
|
||||
$sql.= " AND gu.fk_user = ".$fuser->id;
|
||||
|
||||
dol_syslog("get user perms sql=".$sql);
|
||||
$result=$db->query($sql);
|
||||
if ($result)
|
||||
{
|
||||
|
||||
Loading…
Reference in New Issue
Block a user