FinanceBuddy: show the money badge on the opened card; v1.0.0

This commit is contained in:
2026-07-07 17:47:50 -03:00
parent 0833c4a1c0
commit 974a3ae8bd
3 changed files with 54 additions and 19 deletions

View File

@@ -36,6 +36,11 @@ class Plugin extends Base
// Per-column net total (credits - debits) in the column header.
$this->template->hook->attach('template:board:column:header', 'financeBuddy:board/column_total');
// The same money badge at the top of the opened card (task view), under the title, so a
// card shows its money whether you are on the board or reading the card. Reuses the board
// badge template (both hooks pass $task).
$this->template->hook->attach('template:task:details:top', 'financeBuddy:board/task_money');
}
public function getHelpers()
@@ -62,7 +67,7 @@ class Plugin extends Base
public function getPluginVersion()
{
return '0.4.1';
return '1.0.0';
}
public function getPluginHomepage()