From 78cfa76a6deab21bcbdd0344450a50c9cb833322 Mon Sep 17 00:00:00 2001 From: Kumi Date: Sat, 25 May 2024 21:33:30 +0200 Subject: [PATCH] feat(membership report): enhance crypto visibility This update introduces additional columns in the membership financial report to separately list cryptocurrency incomes such as Bitcoin (BTC), Ethereum (ETH), and Monero (XMR). A new CSS class, `currency-col`, ensures these columns maintain a consistent and readable width without wrapping, improving the overall clarity and usability of the report. This change addresses a growing need to track and report digital currency transactions distinctly from traditional currency, reflecting the organization's evolving financial landscape and responding to the increasing relevance of cryptocurrencies in its operations. --- assets/css/base.css | 5 ++++ templates/membership.html | 56 ++++++++++++++++++++++++++++++--------- 2 files changed, 48 insertions(+), 13 deletions(-) diff --git a/assets/css/base.css b/assets/css/base.css index 94aa844..0238be0 100644 --- a/assets/css/base.css +++ b/assets/css/base.css @@ -85,6 +85,11 @@ h5 { margin-top: 10px; } +.currency-col { + width: 150px; + white-space: nowrap; +} + /* Responsive Styles */ @media (max-width: 768px) { .navbar .container { diff --git a/templates/membership.html b/templates/membership.html index 4724b42..e77fc66 100644 --- a/templates/membership.html +++ b/templates/membership.html @@ -74,50 +74,80 @@ income and expenses for the last month.

+ - + + + + - + + + + - - - - - + + + + - + + + + - + + + + - + + + + + + + + + + + - + + + + + + + - - + + + +
CategoryAmount (€)Euros (€)Bitcoin (BTC)Ethereum (ETH)Monero (XMR)
Membership Fees€390+ €5,000
Donations€0
Crypto DonationsBTC 0 / XMR 0 / ETH 0+ €3,200+ 500 BTC+ 700 ETH+ 300 XMR
Server Costs€2,800- €2,800
Domain Names€400- €400
Operating Expenses€1,200- €1,200
Conversions
Total Income€390€9,700500 BTC700 ETH300 XMR
Total Expenses €4,400---
Account Balance (end of month)€-5,300 / 0 BTC / 0 XMR / 0 BTC
€5,300500 BTC700 ETH300 XMR