;examples:invoicing: cleanups

This commit is contained in:
Simon Michael 2024-01-05 09:17:29 -10:00
parent 735fbaef42
commit 840b8ba67d
3 changed files with 11 additions and 6 deletions

View File

@ -1,9 +1,9 @@
Example files related to invoicing and billing:
- **pandoc-bash-hledger-invoice** - a somewhat flexible bash/pandoc script for generating HTML and PDF invoices from hledger data,
- **pandoc-bash-hledger-invoice** - a somewhat flexible bash script using pandoc and unix tools to generate HTML and PDF invoices from hledger data,
based on SM's invoicing setup (2022)
- **pandoc-make-invoice** - a simpler make/pandoc script for generating HTML and PDF invoices, with less hledger integration,
- **pandoc-make-invoice** - a simpler make file using pandoc to generate HTML and PDF invoices,
based on SM's previous setup (2021)
- some examples of invoicing-related journal entries

View File

@ -2,9 +2,9 @@
# Generates HTML/PDF invoices from a markdown template
help:
@echo "make copy # copy last invoice to YYYYMMab.md, open in emacs"
@echo "(edit)"
@echo "make invoice # make YYYYMMab.pdf and YYYYMMab.html, git commit, add invoice transaction to journal"
@echo "1. make copy # copy last invoice to YYYYMMab.md, open in emacs"
@echo "2. (edit)"
@echo "3. make invoice # make YYYYMMab.pdf and YYYYMMab.html, git commit, add invoice transaction to journal"
CSS=invoice.css
LAST=`ls -t 2*md | head -1`

View File

@ -1 +1,6 @@
Scripts adapted from a real-world setup, not guaranteed to be current or working.
Scripts adapted from a real-world setup, not guaranteed to be current or working. Normal usage:
1. `make copy` (copy last invoice to YYYYMMab.md, open in emacs)
2. edit the md file, pasting in appropriate numbers
3. `make invoice` (make YYYYMMab.pdf and YYYYMMab.html; git commit; print invoice journal entry)