Commit Graph
37 Commits
Author SHA1 Message Date
Chris Lowis be00aefb4c Don't generate invoice if file already exists 2022-05-25 11:43:09 +01:00
Chris Lowis 798c769ddf Generate an invoice for media co-op 2022-05-20 15:48:59 +01:00
Chris Lowis 00f0258d0f Update Agile's member count and address 2022-05-06 10:02:49 +01:00
Chris Lowis 200a7aab90 Hardcode invoice date
To stop it changing for all the invoices when I update a single member
count or address.
2022-05-06 10:02:23 +01:00
Chris Lowis 526b9ef436 Update autonomic members count
Email from Kaeden:

> We now have the equivalent of 4 full-time members instead of 3.
> Please send a revised invoice and we'll be happy to pay again this year.
2022-05-05 11:59:42 +01:00
Chris Lowis 187d084aff Update billing address for Outlandish 2022-05-03 16:33:35 +01:00
Chris Lowis 215a57d45d Update members count for Dot Project 2022-05-03 16:33:14 +01:00
Chris Lowis c3bde23552 Update number of members in code-operative. 2022-05-03 14:51:21 +01:00
Chris Lowis 67b9dba6d5 Added email addresses to members.csv
These are not used in the template, but handy for knowing who to send
invoices to.
2022-05-03 14:50:55 +01:00
Chris Lowis dea88cb4f2 Generate invoices for 2022/23
These invoices are based on the data in members.csv which in turn was
added based on the invoices we sent last year. If member co-ops get
back to us and say their details have changed or they're not able to
contribute this year, we can update the CSV and re-generate the
invoices.

I've decided to commit the generated HTML rather than the PDF, as the
latter changes when I re-run the script even if the data hasn't
changed. If we need to update any data, this should make the diffs
more obvious, but of course it'll make it harder for anyone to just
grab the PDFs from the repo without installing the toolchain. For now,
it's me doing it so we can cross that bridge at a later date.
2022-05-03 11:57:10 +01:00
Chris Lowis 455306a0a6 Generate invocies from the members.csv
This commit updates the previous template to inline the two images as
data URIs and embed ERB template markers for the data. The ruby script
added in this commit interpolates the data from the members.csv file
into the template and generates PDFs using wkhtmltopdf.
2022-05-03 11:44:36 +01:00
Chris Lowis 08dd95f3a2 Add a CSV file of fund members and their contributions
This is based on the members we sent invoices to in 2021.
2022-05-03 11:43:43 +01:00
Chris Lowis 3d8ece1d9f Update ledger to 2021-12-31 2022-01-18 14:30:03 +00:00
Chris Lowis c28dd68376 Add statements up to 2021-12-31 2022-01-18 11:32:34 +00:00
Chris Lowis 8db73427fc Add some recent invoices 2021-07-21 13:10:11 +01:00
Chris Lowis 61379fd9a9 Update ledger with transactions through 2021-03-31 2021-05-14 14:07:30 +01:00
Chris Lowis 7772a153d0 Add recent statements 2021-05-14 14:01:21 +01:00
Chris Lowis a0509eed1d Add Luke Murphy invoice (newsletter) 2021-05-14 13:42:55 +01:00
Chris Lowis 5ffbb1a9c4 Add Webarchitects invoice 2021-05-14 13:42:44 +01:00
Chris Lowis 627f85f5bd Normalise whitespace in ledger 2021-02-15 09:44:43 +00:00
Chris Lowis 4864836a59 More detail in the ledger transactions 2021-02-09 20:34:24 +00:00
Chris Lowis 36ae6bccb1 Add hledger journal file
This file format is used by the hledger[1] tool (a plain text
accounting system). I've added all of the transactions in our unity
trust bank account to-date.

I hope to use this file to more easily generate reports to share with
the rest of CoTech.

[1] https://hledger.org
2021-01-31 22:34:58 +00:00
Chris Lowis b91e866c57 Add transactions from February 2020 2021-01-31 15:47:16 +00:00
Chris Lowis f1905096b9 Move administration section to its own file 2020-04-04 07:22:04 +01:00
Chris Lowis f1bcad363a Add missing link 2020-04-04 07:21:30 +01:00
Chris Lowis 3da777b712 Some information about the fund 2020-04-04 07:18:49 +01:00
Chris Lowis ad75085ccf Add transaction history up to 2020-02-20 2020-02-20 21:08:28 +00:00
Chris Lowis 4f0143cc32 Add two received invoices 2020-02-10 13:04:19 +00:00
Chris Lowis 0db7e4a373 Move sent invoices to own folder 2020-02-10 13:01:56 +00:00
Chris Lowis 18f1efadf3 Add outlandish invoice 2019-08-12 19:52:13 +01:00
Chris Lowis b348836599 Invoice Code-Operative 2019-08-06 20:31:36 +01:00
Chris Lowis e5ccfeebbd Add an invoice for Co-operative Web 2019-08-06 20:27:56 +01:00
Chris Lowis cf97ddcac5 Receipt for We Are Open 2019-20 2019-08-06 20:08:12 +01:00
Chris Lowis 7906b043ce Receipt for The Dot Project 2019-20 2019-08-06 20:08:05 +01:00
Chris Lowis 6ba3ba357c Add most recent statement 2019-08-06 19:59:47 +01:00
Chris Lowis 90db2499d0 Generate receipts for contributions
I based the pandoc stuff on a blog post[1] I found. I've generated 4
receipts for the contributions in
`statements/statement_2019-04-17_2019-06-03.pdf`.

[1] https://medium.com/@martin_betz/generate-pdf-invoices-from-markdown-using-pandoc-5cb3fe84ba3a
2019-06-13 21:08:15 +01:00
Chris Lowis d34714012f Add latest statement to 2019-06-03 2019-06-13 20:34:26 +01:00