Skip to content

Instantly share code, notes, and snippets.

@afh
Created April 24, 2015 08:25
Show Gist options
  • Save afh/b1cf9cc38450721546a7 to your computer and use it in GitHub Desktop.
Save afh/b1cf9cc38450721546a7 to your computer and use it in GitHub Desktop.
Project estimates using ledger
--decimal-comma
--time-colon
--sort=date
C 1d = 8h
D € 00.000,00
define rate=€70
define discount=0%
define vat=19%
define hour=(60*60)
;define days=8h
= /^client/
(Billable:$account) (rate * (amount/hour) * ((-(quantity(discount)) /100)+1))
= /^Asset:Bank:Account/
(Billed:client) (-(amount / ((quantity(vat)/100)+1)))
2015/04/24 * Projectcost
Equity:Effort
(Billable:client) € 00.000,00
; Concept
client:concept 4d ; Payee: Detailed concept
; Backend
client:backend:db 3d ; Payee: Datamodeling
client:backend:db 1d ; Payee: Add data
; Frontend
client:frontend:ui 2d ; Payee: Implement MVC
client:frontend:ui 4d ; Payee: Synchronise with backend
; include timelog.ledger
i 2015-04-26 09:00:00 client:concept Specify application architecture
o 2015-04-26 12:30:00
i 2015-04-26 13:30:00 client:concept Specify application architecture
o 2015-04-26 17:30:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment