Add tabs in bank card

This commit is contained in:
aspangaro 2014-04-12 10:00:28 +02:00
parent bae2fe0921
commit 79d8ce9d1d

View File

@ -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;
}