sample.ledger for easy start
This commit is contained in:
		
							parent
							
								
									cfd0bc4940
								
							
						
					
					
						commit
						7780c5c561
					
				| @ -7,13 +7,14 @@ Description:    This is a minimal haskell clone of John Wiegley's ledger | ||||
|                 register & balance reporting from a plain text ledger file, and  | ||||
|                 demonstrates a (naive) purely functional implementation of ledger. | ||||
| License:        GPL | ||||
| License-File:   LICENSE | ||||
| Stability:      alpha | ||||
| Author:         Simon Michael <simon@joyful.com> | ||||
| Maintainer:     Simon Michael <simon@joyful.com> | ||||
| Homepage:       http://joyful.com/Ledger#hledger | ||||
| Tested-With:    GHC | ||||
| Build-Type:     Simple | ||||
| Extra-Source-Files:  | ||||
| License-File:   LICENSE | ||||
| Extra-Source-Files: sample.ledger | ||||
| Extra-Tmp-Files:  | ||||
| Cabal-Version:  >= 1.2 | ||||
| 
 | ||||
|  | ||||
							
								
								
									
										35
									
								
								sample.ledger
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										35
									
								
								sample.ledger
									
									
									
									
									
										Normal file
									
								
							| @ -0,0 +1,35 @@ | ||||
| ; A sample ledger file. | ||||
| ; | ||||
| ; Sets up this account tree: | ||||
| ; assets | ||||
| ;   cash | ||||
| ;   checking | ||||
| ;   saving | ||||
| ; expenses | ||||
| ;   banking | ||||
| ;   food | ||||
| ;   supplies | ||||
| ; income | ||||
| ;   salary | ||||
| ; liabilities | ||||
| ;   debts | ||||
| 
 | ||||
| 2007/01/01 save | ||||
|     assets:saving  $1000 | ||||
|     income:salary | ||||
| 
 | ||||
| 2007/01/01 * eat & shop | ||||
|     expenses:food      $1 | ||||
|     expenses:supplies  $1 | ||||
|     assets:cash | ||||
| 
 | ||||
| 2008/1/1 * pay off | ||||
|     liabilities:debts  $0.99 | ||||
|     assets:checking | ||||
| 
 | ||||
| 2008/01/21 atm | ||||
|     assets:cash                               $40.00 | ||||
|     expenses:banking                           $2.00 | ||||
|     expenses:banking                           $2.00 | ||||
|     assets:checking                          $-44.00 | ||||
| 
 | ||||
		Loading…
	
		Reference in New Issue
	
	Block a user