diff --git a/htdocs/core/lib/bank.lib.php b/htdocs/core/lib/bank.lib.php index 9716939337665cb8c73f9f05fbcbed4da7f8c872..1d669503f0d7d558f6e44e5d010dd9c5e5f02d89 100644 --- a/htdocs/core/lib/bank.lib.php +++ b/htdocs/core/lib/bank.lib.php @@ -78,6 +78,14 @@ function bank_prepare_head($object) $head[$h][2] = 'statement'; $h++; } + + // Show more tabs from modules + // Entries must be declared in modules descriptor with line + // $this->tabs = array('entity:+tabname:Title:@mymodule:/mymodule/mypage.php?id=__ID__'); to add new tab + // $this->tabs = array('entity:-tabname); to remove a tab + complete_head_from_modules($conf,$langs,$object,$head,$h,'bank'); + + complete_head_from_modules($conf,$langs,$object,$head,$h,'bank','remove'); return $head; }