From 4aa47d14b41f5d30a127e4ed4b23c971d824937f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fr=C3=A9d=C3=A9ric=20FRANCE?= Date: Sun, 4 Oct 2020 20:29:57 +0200 Subject: [PATCH] Update bookkeeping.class.php --- htdocs/accountancy/class/bookkeeping.class.php | 18 ++++++++++++++++-- 1 file changed, 16 insertions(+), 2 deletions(-) diff --git a/htdocs/accountancy/class/bookkeeping.class.php b/htdocs/accountancy/class/bookkeeping.class.php index 1e1e42a6047..790aba68203 100644 --- a/htdocs/accountancy/class/bookkeeping.class.php +++ b/htdocs/accountancy/class/bookkeeping.class.php @@ -2,7 +2,7 @@ /* Copyright (C) 2014-2017 Olivier Geffroy * Copyright (C) 2015-2017 Alexandre Spangaro * Copyright (C) 2015-2017 Florian Henry - * Copyright (C) 2018-2019 Frédéric France + * Copyright (C) 2018-2020 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 @@ -2006,8 +2006,22 @@ class BookKeepingLine public $label_operation; public $debit; public $credit; + + /** + * @var float Amount + * @deprecated see $amount + */ public $montant; - public $sens; + + /** + * @var float Amount + */ + public $amount; + + /** + * @var string Sens + */ + public $sens; public $lettering_code; /**