;examples:invoicing: cleanups
This commit is contained in:
parent
735fbaef42
commit
840b8ba67d
@ -1,9 +1,9 @@
|
|||||||
Example files related to invoicing and billing:
|
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)
|
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)
|
based on SM's previous setup (2021)
|
||||||
|
|
||||||
- some examples of invoicing-related journal entries
|
- some examples of invoicing-related journal entries
|
||||||
|
|||||||
@ -2,9 +2,9 @@
|
|||||||
# Generates HTML/PDF invoices from a markdown template
|
# Generates HTML/PDF invoices from a markdown template
|
||||||
|
|
||||||
help:
|
help:
|
||||||
@echo "make copy # copy last invoice to YYYYMMab.md, open in emacs"
|
@echo "1. make copy # copy last invoice to YYYYMMab.md, open in emacs"
|
||||||
@echo "(edit)"
|
@echo "2. (edit)"
|
||||||
@echo "make invoice # make YYYYMMab.pdf and YYYYMMab.html, git commit, add invoice transaction to journal"
|
@echo "3. make invoice # make YYYYMMab.pdf and YYYYMMab.html, git commit, add invoice transaction to journal"
|
||||||
|
|
||||||
CSS=invoice.css
|
CSS=invoice.css
|
||||||
LAST=`ls -t 2*md | head -1`
|
LAST=`ls -t 2*md | head -1`
|
||||||
|
|||||||
@ -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)
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user