Merge remote-tracking branch 'origin/3.7' into develop
Conflicts: htdocs/compta/facture/impayees.php htdocs/compta/index.php htdocs/core/boxes/box_prospect.php htdocs/includes/tcpdf/fonts/dejavusanscondensed.ctg.z htdocs/includes/tcpdf/fonts/dejavusanscondensed.z htdocs/includes/tcpdf/fonts/dejavusanscondensedb.ctg.z htdocs/includes/tcpdf/fonts/dejavusanscondensedb.z htdocs/includes/tcpdf/fonts/dejavusanscondensedbi.ctg.z htdocs/includes/tcpdf/fonts/dejavusanscondensedbi.z htdocs/includes/tcpdf/fonts/dejavusanscondensedi.ctg.z htdocs/includes/tcpdf/fonts/dejavusanscondensedi.z htdocs/includes/tcpdf/fonts/dejavusansextralight.ctg.z htdocs/includes/tcpdf/fonts/dejavusansextralight.z htdocs/includes/tcpdf/fonts/dejavusansmono.ctg.z htdocs/includes/tcpdf/fonts/dejavusansmono.z htdocs/includes/tcpdf/fonts/dejavusansmonob.ctg.z htdocs/includes/tcpdf/fonts/dejavusansmonob.z htdocs/includes/tcpdf/fonts/dejavusansmonobi.ctg.z htdocs/includes/tcpdf/fonts/dejavusansmonobi.z htdocs/includes/tcpdf/fonts/dejavusansmonoi.ctg.z htdocs/includes/tcpdf/fonts/dejavusansmonoi.z
This commit is contained in:
commit
19ac160696
@ -4,6 +4,7 @@
|
||||
* Copyright (C) 2005-2012 Regis Houssin <regis.houssin@capnetworks.com>
|
||||
* Copyright (C) 2015 Juanjo Menent <jmenent@2byte.es>
|
||||
* Copyright (C) 2015 Jean-François Ferry <jfefe@aternatik.fr>
|
||||
* Copyright (C) 2015 Raphaël Doursenaud <rdoursenaud@gpcsolutions.fr>
|
||||
*
|
||||
* 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
|
||||
@ -606,7 +607,7 @@ if (! empty($conf->tax->enabled) && $user->rights->tax->charges->lire)
|
||||
$chargestatic->lib=$obj->libelle;
|
||||
$chargestatic->paye=$obj->paye;
|
||||
print '<td>'.$chargestatic->getNomUrl(1).'</td>';
|
||||
print '<td align="center">'.dol_print_date($obj->date_ech,'day').'</td>';
|
||||
print '<td align="center">'.dol_print_date($db->jdate($obj->date_ech),'day').'</td>';
|
||||
print '<td align="right">'.price($obj->amount).'</td>';
|
||||
print '<td align="right">'.price($obj->sumpaid).'</td>';
|
||||
print '<td align="center">'.$chargestatic->getLibStatut(3).'</td>';
|
||||
@ -966,7 +967,7 @@ if ($resql)
|
||||
$obj = $db->fetch_object($resql);
|
||||
$var=!$var;
|
||||
|
||||
print "<tr ".$bc[$var]."><td>".dol_print_date($obj->da,"day")."</td>";
|
||||
print "<tr ".$bc[$var]."><td>".dol_print_date($db->jdate($obj->da),"day")."</td>";
|
||||
print '<td><a href="action/card.php">'.$obj->libelle.' '.$obj->label.'</a></td></tr>';
|
||||
$i++;
|
||||
}
|
||||
|
||||
@ -155,7 +155,6 @@ class box_prospect extends ModeleBoxes
|
||||
);
|
||||
}
|
||||
} else {
|
||||
dol_syslog("box_prospect::loadBox not allowed de read this box content",LOG_ERR);
|
||||
$this->info_box_contents[0][0] = array(
|
||||
'td' => 'align="left"',
|
||||
'text' => $langs->trans("ReadPermissionNotAllowed"),
|
||||
|
||||
@ -51,7 +51,9 @@ class mod_syslog_chromephp extends LogHandler implements LogHandlerInterface
|
||||
global $conf;
|
||||
try
|
||||
{
|
||||
if (empty($conf->global->SYSLOG_CHROMEPHP_INCLUDEPATH)) $conf->global->SYSLOG_CHROMEPHP_INCLUDEPATH='/usr/share/php';
|
||||
if (empty($conf->global->SYSLOG_CHROMEPHP_INCLUDEPATH)) {
|
||||
$conf->global->SYSLOG_CHROMEPHP_INCLUDEPATH=DOL_DOCUMENT_ROOT . '/includes/chromephp/';
|
||||
}
|
||||
set_include_path($conf->global->SYSLOG_CHROMEPHP_INCLUDEPATH);
|
||||
|
||||
//print 'rrrrr'.get_include_path();
|
||||
@ -86,9 +88,9 @@ class mod_syslog_chromephp extends LogHandler implements LogHandlerInterface
|
||||
array(
|
||||
'name' => $langs->trans('IncludePath','SYSLOG_CHROMEPHP_INCLUDEPATH'),
|
||||
'constant' => 'SYSLOG_CHROMEPHP_INCLUDEPATH',
|
||||
'default' => '/usr/share/php',
|
||||
'default' => DOL_DOCUMENT_ROOT . '/includes/chromephp/',
|
||||
'attr' => 'size="60"',
|
||||
'example' => DOL_DOCUMENT_ROOT.'/includes/chromephp'
|
||||
'example' =>'/usr/share/php'
|
||||
)
|
||||
);
|
||||
}
|
||||
|
||||
@ -50,9 +50,9 @@ $pagenext = $page + 1;
|
||||
$startdate=$enddate='';
|
||||
|
||||
if (!empty($_POST['startdatemonth']))
|
||||
$startdate = dol_mktime(12, 0, 0, $_POST['startdatemonth'], $_POST['startdateday'], $_POST['startdateyear']);
|
||||
$startdate = dol_mktime(0, 0, 0, $_POST['startdatemonth'], $_POST['startdateday'], $_POST['startdateyear']);
|
||||
if (!empty($_POST['enddatemonth']))
|
||||
$enddate = dol_mktime(12, 0, 0, $_POST['enddatemonth'], $_POST['enddateday'], $_POST['enddateyear']);
|
||||
$enddate = dol_mktime(23, 59, 59, $_POST['enddatemonth'], $_POST['enddateday'], $_POST['enddateyear']);
|
||||
|
||||
/*
|
||||
* View
|
||||
|
||||
@ -72,9 +72,9 @@ $pagenext = $page + 1;
|
||||
$startdate=$enddate='';
|
||||
|
||||
if (!empty($_POST['startdatemonth']))
|
||||
$startdate = dol_mktime(12, 0, 0, $_POST['startdatemonth'], $_POST['startdateday'], $_POST['startdateyear']);
|
||||
$startdate = dol_mktime(0, 0, 0, $_POST['startdatemonth'], $_POST['startdateday'], $_POST['startdateyear']);
|
||||
if (!empty($_POST['enddatemonth']))
|
||||
$enddate = dol_mktime(12, 0, 0, $_POST['enddatemonth'], $_POST['enddateday'], $_POST['enddateyear']);
|
||||
$enddate = dol_mktime(23, 59, 59, $_POST['enddatemonth'], $_POST['enddateday'], $_POST['enddateyear']);
|
||||
|
||||
|
||||
/*
|
||||
|
||||
Loading…
Reference in New Issue
Block a user