Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Catalog · How the catalog works
Anything · Lazarus or Delphi
Random projectRandom project

ledger

generic ledger implementation for basic accounting

View on GitHub

Member rating

No ratings yet.

Sign in to rate this project.

README

ledger

generic ledger implementation for basic accounting

To request features or report a bug, open a github issue with details/steps to reproduce

How To Use

  1. download and install lazarus if you don't already have it (http://www.lazarus-ide.orgg
  2. git clone this repo
  3. open ledger_test.lpr and attempt to compile/run (F9 Key)
    • this project shows some basic usage of the library
    • also, by going to Toolbar -> Project\Project Options\Paths you can copy the other units text to include in your own project
  4. add .\src path to your project other units

Custom Processing

There are some protected virtual methods that can be overridden

pascal
procedure DoBeforeRecord(Const AEntry:T;Const AType:TLedgerType);virtual;
procedure DoAfterRecord(Const AEntry:T;Const AType:TLedgerType;
  Const ABalance:T;Const AID:String);virtual;
procedure DoBeforeClear(Const AType:TLedgerType);virtual;
procedure DoAfterClear(Const AType:TLedgerType);virtual;

Tip Jar

  • :dollar: BTC - bc1q55qh7xptfgkp087sfr5ppfkqe2jpaa59s8u2lz
  • :euro: LTC - LPbvTsFDZ6EdaLRhsvwbxcSfeUv1eZWGP6