Nouvelle version beta8.
On approche de la finale, je suis presque prêt à basculer Garradin.eu,
probablement la semaine prochaine.
https://fossil.kd2.org/garradin/uv/garradin-1.0.0-beta8.tar.bz2
Changements :
* Ajout colonne "projet" dans suivi des écritures et journaux
(contribution de @zou)
* Ajout possibilité d'affecter plusieurs écritures à un projet depuis
journal et suivi (contribution de @zou)
* Possibilité de rechercher dans la compta sur le n° de compte et le n°
de projet (permettant ainsi de lister les écritures qui n'ont pas de
projet affecté)
* Ajout d'un type de compte favori "résultat excédentaire" et
"résultat
déficitaire" pour pouvoir affecter le résultat lors de la balance
d'ouverture
Correctifs :
* Ne pas permettre de restaurer une sauvegarde d'une version antérieure
à 0.9.8 (sinon on resterait bloqué !)
* Ne pas reprendre les soldes des comptes de charges et produit dans la
balance d'ouverture (merci @herve)
* Correction des cases à cocher à divers endrois (merci @grd)
* Corrections sur l'image de fond dans certains cas spécifiques (merci
@Fred)
PHP error: Call to a member function format() on null [Code: 0]
.../include/lib/Garradin/Utils.php:64
/60/ $format = 'd/m/Y à H:i';
/61/ }
/62/
/63/ $date = self::get_datetime($ts);
*/64/ $date = $date->format($format);*
/65/
/66/ $date = strtr($date, self::FRENCH_DATE_NAMES);
/67/ $date = strtolower($date);
/68/ return $date;
Garradin\Utils::date_fr
$ts NULL
$format string(5) "d/m/Y"
.../include/lib/Garradin/Template.php:94
/90/ $this->register_modifier('date_fr', [Utils::class,
'date_fr']);
/91/ $this->register_modifier('date_long', [Utils::class,
'date_fr']);
/92/
/93/ $this->register_modifier('date_short', function ($dt) {
*/94/ return Utils::date_fr($dt, 'd/m/Y');*
/95/ });
/96/
/97/ $this->register_modifier('html_money', [$this,
'htmlMoney']);
/98/ $this->register_modifier('money_currency', [$this,
'htmlMoneyCurrency']);
Garradin\Template->Garradin\{closure}
0 NULL
.../cache/compiled/4677af4bcf67af2df8bd9d209858d4ed732c7df2.tpl.php:36
/32/ <dd class="radio-btn">
/33/ <?php echo $this->functions['input'](['type' =>
'radio', 'name' => 'id_service', 'value' =>
$this->_magicVar($service, array (
/34/ 0 => 'id',
/35/ )), 'data-expiry' =>
$this->modifiers['date_short']($this->_magicVar($service, array (
*/36/ 0 => 'expiry_date',*
/37/ ))), 'label' => null, ], $this); //#24?>
/38/
/39/ <label for="f_id_service_<?php echo
self::escape($this->_magicVar($service, array (
/40/ 0 => 'id',
include
0 string(67)
".../cache/compiled/4677af4bcf67af2df8bd9d209858d4ed732c7df2.tpl.php"
.../include/lib/KD2/Smartyer.php:402
/398/ extract($this->variables, EXTR_REFS);
/399/
/400/ ob_start();
/401/
*/402/ include $this->compiled_template_path;*
/403/
/404/ return ob_get_clean();
/405/ }
/406/
KD2\Smartyer->fetch
.../include/lib/KD2/Smartyer.php:350
/346/ {
/347/ // Compatibility with legacy Smarty calls
/348/ if (!is_null($template))
/349/ {
*/350/ return (new Smartyer($template, $this))->fetch();*
/351/ }
/352/
/353/ if (is_null($this->compiled_dir))
/354/ {
KD2\Smartyer->fetch
$template string(17) "services/save.tpl"
.../include/lib/KD2/Smartyer.php:334
/330/ * @return Smartyer
/331/ */
/332/ public function display($template = null)
/333/ {
*/334/ echo $this->fetch($template);*
/335/ return $this;
/336/ }
/337/
/338/ /**
KD2\Smartyer->display
$template string(17) "services/save.tpl"
.../www/admin/services/save.php:53
/49/ $today = new \DateTime;
/50/
/51/ $tpl->assign(compact('today', 'grouped_services',
'csrf_key', 'selected_user', 'account_targets',
'user_name', 'user_id'));
/52/
*/53/ $tpl->display('services/save.tpl');*
/54/
Occurence du 25/11/2020 à 19:42
id cu75z3nw
date 25/11/2020 à 19:42
os Linux
language PHP 7.3.24
environment development
php_sapi cgi-fcgi
remote_ip 2a01:e0a:2b1:68a0:178e:fec3:1f0d:2a59
http_method POST
files_sent array(0) { }
rootDirectory /home/spipfactory/www/garradin
garradin_data_root /home/spipfactory/www/garradin
garradin_version 1.0.0-beta8
url http://spipfactory.alwaysdata.net/admin/services/save.php
Occurence du 25/11/2020 à 19:36
id cu75z3nw
date 25/11/2020 à 19:36
os Linux
language PHP 7.3.24
environment development
php_sapi cgi-fcgi
remote_ip 2a01:e0a:2b1:68a0:178e:fec3:1f0d:2a59
http_method POST
files_sent array(0) { }
rootDirectory /home/spipfactory/www/garradin
garradin_data_root /home/spipfactory/www/garradin
garradin_version 1.0.0-beta8
url http://spipfactory.alwaysdata.net/admin/services/save.php
Occurence du 25/11/2020 à 19:35
id cu75z3nw
date 25/11/2020 à 19:35
os Linux
language PHP 7.3.24
environment development
php_sapi cgi-fcgi
remote_ip 2a01:e0a:2b1:68a0:178e:fec3:1f0d:2a59
http_method POST
files_sent array(0) { }
rootDirectory /home/spipfactory/www/garradin
garradin_data_root /home/spipfactory/www/garradin
garradin_version 1.0.0-beta8
url http://spipfactory.alwaysdata.net/admin/services/save.php