From: Arjen Baart Date: Mon, 27 Dec 2010 15:40:51 +0000 (+0100) Subject: Added experimental cashflow analysis stylesheet. X-Git-Url: http://www.andromeda.nl/gitweb/?p=account.git;a=commitdiff_plain;h=0eacf91d3826fe95c66a1b5e57bdadede7d2fba6 Added experimental cashflow analysis stylesheet. --- diff --git a/account.cpp b/account.cpp index 2ed692c..39e9031 100644 --- a/account.cpp +++ b/account.cpp @@ -59,7 +59,7 @@ std::ostream &operator<<(std::ostream &s, amount a) else { //s << form("%8d.%02d",a / 100, a % 100); - s << std::setw(8) << a / 100 << "."; + s << std::setw(8) << std::setfill(' ') << a / 100 << "."; s << std::setw(2) << std::setfill('0') << a % 100; s << std::setw(0) << std::setfill(' '); } diff --git a/account_main.cpp b/account_main.cpp index fe69b86..84c1e8c 100644 --- a/account_main.cpp +++ b/account_main.cpp @@ -50,7 +50,7 @@ main(int argc, char *argv[]) break; case 'V': - std::cout << "account version 1.3.3\n"; + std::cout << "account version 1.3.4\n"; exit(0); break; diff --git a/cashflow.xsl b/cashflow.xsl new file mode 100644 index 0000000..5d6c7f3 --- /dev/null +++ b/cashflow.xsl @@ -0,0 +1,62 @@ + + + + + + + + + http://www.w3.org/1999/xhtml + + + +

Cashflow Analyze voor

+

Periode van tot

+ + + + + + + + + + +
RekeningKosten
DEBETCREDIT
TOTAAL
+ + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
diff --git a/makefile b/makefile index 5c78f0c..90bf27b 100644 --- a/makefile +++ b/makefile @@ -21,7 +21,7 @@ postscript.o : postscript.h install : account bank cp account bank /usr/local/bin mkdir -p /usr/local/xslt - cp balans.xsl profit.xsl saldibalans.xsl /usr/local/xslt + cp balans.xsl profit.xsl saldibalans.xsl cashflow.xsl /usr/local/xslt mkdir -p /usr/local/share/afm cp Courier.afm /usr/local/share/afm