Add tables for monthly income + expenses

This commit is contained in:
teutat3s 2024-10-28 22:46:29 +01:00
parent 1ab0bc30bb
commit 4df505c1a3
Signed by: teutat3s
GPG key ID: 4FA1D3FA524F22C1

View file

@ -4,7 +4,7 @@ This repository is used to track the finances of pub.solar transparently.
We use [hledger](https://hledger.org/) to create finance report in a minimalistic, terminal friendly
way.
### Finances report table
### Finances report tables
<style>
td { padding:0 0.5em; }
@ -12,6 +12,23 @@ td:nth-child(1) { white-space:nowrap; }
tr:nth-child(even) td { background-color:#eee; }
</style><link rel="stylesheet" href="hledger.css"><table><tr><th colspan="5" style="text-align:left"><h2>Income Statement 2023-01-01..2024-10-28</h2></th></tr><tr><th></th><th>Commodity</th><th>2023</th><th>2024</th><th>Total</th></tr><tr><td colspan="5">&nbsp;</td></tr><tr><th colspan="5" style="text-align:left">Revenues</th></tr><tr><td class="account" style="text-align:left">bank:interest</td><td class="amount" style="text-align:right"></td><td class="amount" style="text-align:right">0</td><td class="amount" style="text-align:right">1.20</td><td class="amount rowtotal" style="text-align:right">1.20</td></tr><tr><td class="account" style="text-align:left">donations:member</td><td class="amount" style="text-align:right"></td><td class="amount" style="text-align:right">415.00</td><td class="amount" style="text-align:right">1097.87</td><td class="amount rowtotal" style="text-align:right">1512.87</td></tr><tr><td class="account" style="text-align:left">donations:non-member</td><td class="amount" style="text-align:right"></td><td class="amount" style="text-align:right">87.00</td><td class="amount" style="text-align:right">313.43</td><td class="amount rowtotal" style="text-align:right">400.43</td></tr><tr><th style="text-align:left">total</th><th class="amount coltotal" style="text-align:right"></th><th class="amount coltotal" style="text-align:right">502.00</th><th class="amount coltotal" style="text-align:right">1412.50</th><th class="amount coltotal" style="text-align:right">1914.50</th></tr><tr><td colspan="5">&nbsp;</td></tr><tr><th colspan="5" style="text-align:left">Expenses</th></tr><tr><td class="account" style="text-align:left">infra:domain</td><td class="amount" style="text-align:right"></td><td class="amount" style="text-align:right">52.40</td><td class="amount" style="text-align:right">0</td><td class="amount rowtotal" style="text-align:right">52.40</td></tr><tr><td class="account" style="text-align:left">infra:file-storage</td><td class="amount" style="text-align:right"></td><td class="amount" style="text-align:right">26.02</td><td class="amount" style="text-align:right">48.24</td><td class="amount rowtotal" style="text-align:right">74.26</td></tr><tr><td class="account" style="text-align:left">infra:server</td><td class="amount" style="text-align:right"></td><td class="amount" style="text-align:right">124.47</td><td class="amount" style="text-align:right">460.54</td><td class="amount rowtotal" style="text-align:right">585.01</td></tr><tr><th style="text-align:left">total</th><th class="amount coltotal" style="text-align:right"></th><th class="amount coltotal" style="text-align:right">202.89</th><th class="amount coltotal" style="text-align:right">508.78</th><th class="amount coltotal" style="text-align:right">711.67</th></tr><tr><td colspan="5">&nbsp;</td></tr><tr><th style="text-align:left">Net:</th><th class="amount coltotal" style="text-align:right"></th><th class="amount coltotal" style="text-align:right">299.11</th><th class="amount coltotal" style="text-align:right">903.72</th><th class="amount coltotal" style="text-align:right">1202.83</th></tr></table>
Monthly income in 2023-01-01..2024-10-31:
|| 2023-01 2023-02 2023-03 2023-04 2023-05 2023-06 2023-07 2023-08 2023-09 2023-10 2023-11 2023-12 2024-01 2024-02 2024-03 2024-04 2024-05 2024-06 2024-07 2024-08 2024-09 2024-10
========++======================================================================================================================================================================================================
income || €20.00 0 0 0 €12.00 0 €10.00 €55.00 €5.00 €205.00 €75.00 €120.00 €120.00 €110.00 €154.43 €97.36 €142.51 €114.61 €162.00 €105.39 €241.20 €165.00
--------++------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
|| €20.00 0 0 0 €12.00 0 €10.00 €55.00 €5.00 €205.00 €75.00 €120.00 €120.00 €110.00 €154.43 €97.36 €142.51 €114.61 €162.00 €105.39 €241.20 €165.00
Monthly expenses in 2023-01-01..2024-10-31:
|| 2023-01 2023-02 2023-03 2023-04 2023-05 2023-06 2023-07 2023-08 2023-09 2023-10 2023-11 2023-12 2024-01 2024-02 2024-03 2024-04 2024-05 2024-06 2024-07 2024-08 2024-09 2024-10
==========++======================================================================================================================================================================================================
expenses || €-2.22 0 0 0 €-1.22 €-3.36 €-4.01 €-3.99 €-5.25 €-98.59 €-40.22 €-44.03 €-46.27 €-48.73 €-8.64 €-31.86 €-50.14 €-51.73 €-54.65 €-76.93 €-76.01 €-63.82
----------++------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
|| €-2.22 0 0 0 €-1.22 €-3.36 €-4.01 €-3.99 €-5.25 €-98.59 €-40.22 €-44.03 €-46.27 €-48.73 €-8.64 €-31.86 €-50.14 €-51.73 €-54.65 €-76.93 €-76.01 €-63.82
### Import new statements
* place csv file into import directory