Merge pull request #19307 from fmarcet/develop
Qual: If hidden option BANK_CAN_RECONCILIATE_CASHACCOUNT is activated
This commit is contained in:
commit
58abcf7e5a
@ -4,6 +4,7 @@
|
||||
* Copyright (C) 2015 Alexandre Spangaro <aspangaro@open-dsi.fr>
|
||||
* Copyright (C) 2016 Juanjo Menent <jmenent@2byte.es>
|
||||
* Copyright (C) 2019 Nicolas ZABOURI <info@inovea-conseil.com>
|
||||
* Copyright (C) 2021 Ferran Marcet <fmarcet@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
|
||||
@ -66,7 +67,7 @@ function bank_prepare_head(Account $object)
|
||||
$head[$h][2] = 'graph';
|
||||
$h++;
|
||||
|
||||
if ($object->courant != Account::TYPE_CASH) {
|
||||
if ($object->courant != Account::TYPE_CASH || !empty($conf->global->BANK_CAN_RECONCILIATE_CASHACCOUNT)) {
|
||||
$nbReceipts = 0;
|
||||
|
||||
// List of all standing receipts
|
||||
|
||||
Loading…
Reference in New Issue
Block a user