From 5920a9ec0a86db5f4db6379af282867abe54397f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fr=C3=A9d=C3=A9ric=20FRANCE?= Date: Mon, 6 Feb 2023 11:57:41 +0100 Subject: [PATCH 1/2] colspan --- htdocs/compta/index.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/htdocs/compta/index.php b/htdocs/compta/index.php index 9cb32aa428e..8a8e4245005 100644 --- a/htdocs/compta/index.php +++ b/htdocs/compta/index.php @@ -9,7 +9,7 @@ * Copyright (C) 2019 Nicolas ZABOURI * Copyright (C) 2020 Tobias Sekan * Copyright (C) 2020 Josep Lluís Amador - * Copyright (C) 2021 Frédéric France + * Copyright (C) 2021-2023 Frédéric France * * 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 @@ -487,7 +487,7 @@ if (isModEnabled('don') && !empty($user->rights->don->lire)) { print "\n"; } } else { - print ''.$langs->trans("None").''; + print ''.$langs->trans("None").''; } print '
'; } else { From 9b0dfffe06485af60df6ebabcea81a4b9a5cec1f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fr=C3=A9d=C3=A9ric=20FRANCE?= Date: Mon, 6 Feb 2023 14:12:06 +0100 Subject: [PATCH 2/2] doc --- htdocs/compta/bank/class/bankcateg.class.php | 22 +++++++++++++++++++- 1 file changed, 21 insertions(+), 1 deletion(-) diff --git a/htdocs/compta/bank/class/bankcateg.class.php b/htdocs/compta/bank/class/bankcateg.class.php index 581bc5fd1da..9ee8bb66a05 100644 --- a/htdocs/compta/bank/class/bankcateg.class.php +++ b/htdocs/compta/bank/class/bankcateg.class.php @@ -45,6 +45,26 @@ class BankCateg // extends CommonObject */ public $label; + /** + * @var DoliDB + */ + protected $db; + + /** + * @var string error + */ + public $error; + + /** + * @var array errors + */ + public $errors; + + /** + * @var array context + */ + public $context; + /** * Constructor @@ -278,7 +298,7 @@ class BankCateg // extends CommonObject // Load source object $object->fetch($fromid); $object->id = 0; - $object->statut = 0; + // $object->statut = 0; // Create clone $object->context['createfromclone'] = 'createfromclone';