Last active
December 21, 2015 04:39
-
-
Save jshawl/6251145 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
layout: invoice | |
status: paid | unpaid | late | |
deliverables: | |
item: | |
description: made site responsive | |
price: $1,000 | |
item: | |
description: changed logo color | |
price: $300 | |
notes: you can add some notes here. | |
--- |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# things that are automatically generated: | |
Invoice number #maybe index of post + some random number | |
Date # today's date | |
Due Date # 3 weeks (or whatever) from today's date. | |
Invoice to: | |
^ I'm thinking there are two ways to do this: | |
1. have a client:{clientname} in the YAML | |
2. OR have a layout specific to one client | |
- e.g. the apple-inc.html extends invoice.html | |
- all the contact info will be in markup | |
Invoice from# just something in markup in a layout | |
Total # loops through deliverables and adds the price | |
Default notes and information. # just taken from markup plus the individual notes in yaml |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment