From 975c5b8c2cf2d3c3dd5f9dd36556566eb31d1e69 Mon Sep 17 00:00:00 2001 From: Faheedkhan Date: Sun, 15 Jun 2025 18:28:31 +0300 Subject: [PATCH] font awessome icons --- static/js/tours/help-button.js | 5 +++-- templates/ledger/reports/cash_flow_statement.html | 2 +- templates/ledger/reports/income_statement.html | 2 +- 3 files changed, 5 insertions(+), 4 deletions(-) diff --git a/static/js/tours/help-button.js b/static/js/tours/help-button.js index 9081f7a7..0a8c323a 100644 --- a/static/js/tours/help-button.js +++ b/static/js/tours/help-button.js @@ -30,10 +30,11 @@ class HelpButton { const button = document.createElement('div'); button.className = `help-button ${this.options.position}`; button.innerHTML = ` - `; diff --git a/templates/ledger/reports/cash_flow_statement.html b/templates/ledger/reports/cash_flow_statement.html index d01add2b..c0de2bc6 100644 --- a/templates/ledger/reports/cash_flow_statement.html +++ b/templates/ledger/reports/cash_flow_statement.html @@ -46,7 +46,7 @@ {% cash_flow_statement io_model=object %} {% trans 'Download PDF' %} + href="{{ request.path }}?format=pdf">{% trans 'Download PDF' %} {% endblock %} \ No newline at end of file diff --git a/templates/ledger/reports/income_statement.html b/templates/ledger/reports/income_statement.html index 130fa19a..50aa5e3b 100644 --- a/templates/ledger/reports/income_statement.html +++ b/templates/ledger/reports/income_statement.html @@ -44,7 +44,7 @@ {% income_statement_table io_model=object %} {% trans 'Download PDF' %} + href="{{ request.path }}?format=pdf">{% trans 'Download PDF' %}