From 3026a390e9ee896928b7e2a3b68ab994f1c85e56 Mon Sep 17 00:00:00 2001 From: skyanth Date: Mon, 27 Feb 2017 14:21:35 +0100 Subject: [PATCH] Optional extra field for customer data in invoice --- xml/dtd/common.xsd | 2 + xml/source/client_info.xml | 10 +- xml/xslt/generate_invoice.xsl | 323 +++++++++++++++++++++++++--------- 3 files changed, 246 insertions(+), 89 deletions(-) diff --git a/xml/dtd/common.xsd b/xml/dtd/common.xsd index e16abb7..44071e2 100644 --- a/xml/dtd/common.xsd +++ b/xml/dtd/common.xsd @@ -97,6 +97,7 @@ + @@ -128,6 +129,7 @@ + diff --git a/xml/source/client_info.xml b/xml/source/client_info.xml index cfadfff..c09af69 100644 --- a/xml/source/client_info.xml +++ b/xml/source/client_info.xml @@ -1,5 +1,10 @@ - + + Sitting Duck B.V. @@ -18,7 +23,8 @@ Amazonia 9999999 - D. Ollars + freemoney@sittingduck.com + 0000000000B01 diff --git a/xml/xslt/generate_invoice.xsl b/xml/xslt/generate_invoice.xsl index b9e8954..1a7a991 100644 --- a/xml/xslt/generate_invoice.xsl +++ b/xml/xslt/generate_invoice.xsl @@ -19,10 +19,10 @@ --> - + - + @@ -53,9 +53,9 @@ - + - + @@ -69,41 +69,79 @@ - + - + - -    +    -  .-- +  .-- - 21% + + 21% -  .-- +  .-- - + + + + + -  .-- +  .-- + + + + + + + + + + + + + + + + @@ -122,7 +160,8 @@ - + @@ -130,17 +169,26 @@ - + + + -  .-- +  .-- - + + + + +   @@ -151,57 +199,101 @@ - + + + -  .-- +  .-- - + - + - + - 21% - + 21% + -  .-- - +  .-- + - - + + + + + + -  .-- +  .-- - + + + + + + + + + + + + + + + + + + -   + + + + +   + + -   + + + + +   + + @@ -220,31 +312,53 @@ - + + + + + - - -   - - - + + + + +   + + + + + + + + + + + + + + + + : + : + + + , + + + + + - - : - : - - - , - - - - - - + + @@ -264,56 +378,91 @@ - + - - - - - - - - - - -   - - - - - - - - - - -   -   - - - - - - + + + + + + + + + + + + + + +   + + + + + + + + + + + + + + + + + + + + + + +   + + + + + + +   + + + + + + + + - + - + + + + + - + + + + + -