From 542c76516135a98fb8ed4b302d7ad7cb7478d637 Mon Sep 17 00:00:00 2001 From: Jonas Smedegaard Date: Tue, 2 Dec 2008 17:04:49 +0100 Subject: Add custom templates. --- templates/spiff/invoice.html.diff | 521 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 521 insertions(+) create mode 100644 templates/spiff/invoice.html.diff (limited to 'templates/spiff/invoice.html.diff') diff --git a/templates/spiff/invoice.html.diff b/templates/spiff/invoice.html.diff new file mode 100644 index 00000000..fd963752 --- /dev/null +++ b/templates/spiff/invoice.html.diff @@ -0,0 +1,521 @@ +--- invoice.html.orig 2005-08-14 13:53:10.000000000 +0200 ++++ invoice.html 2002-06-15 17:59:45.000000000 +0200 +@@ -1,282 +1,276 @@ ++ ++ ++ ++ ++ + +
  ++ + +- ++ ++ ++ + ++
++ ++ ++ <%if shiptoname%> ++ ++ + + +-<%foreach tax%> +- +- +- +-<%end tax%> ++ ++ ++ + +-<%if taxincluded%> +- +- +- +-<%end taxincluded%> ++ ++ ++ + +- ++ ++ ++ + +- +- ++ +
++ <%end shiptoname%> ++ <%if not shiptoname%> ++ ++ <%end shiptoname%> ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++<%if businessnumber%> ++ ++ ++ ++ ++ ++<%end businessnumber%> ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ + +-
++

FAKTURA

++
Fakturanummer: <%invnumber%>
CVR-nummer: <%businessnumber%>
Fakturadato: <%invdate%>
Forfaldsdato: <%duedate%>
+- +- +- +- +- +- +- +- +- +- +- ++ ++ ++ ++ ++ ++ ++ ++ +- +- +- +- ++ ++ ++ ++ +- +- +- +- +- +- +- +- +- +- +- +- ++ ++
  +- +- +- +- +- +- +- +- +- +- +- +- +-
+-

+- <%company%> +-
<%address%> +-

+-
+-

+- Tlf.: <%tel%> +-
Fax: <%fax%> +-

+-
+-

F A K T U R A

+-
+- +- +- +- +- +- +- +- +- ++ ++ ++ ++ ++ <%if shiptoname%> ++ ++ <%end shiptoname%> ++ + + + +- +- +- +- <%if shiptoname%> +- +- <%end shiptoname%> +- +-
+- +- +- +- +- +- +- +- +- +- +- +- +- + + +- +- +- +- +-
Fakturadato <%invdate%>
Betalingsdato <%duedate%>
Fakturanummer <%invnumber%>
 
+-
+- +- +- +- <%if shiptoname%> +- +- <%end shiptoname%> +- ++ ++ ++ ++
Faktureringsadresse:Leveringsadresse:
 
++
Faktureringsadresse:Leveringsadresse:
<%name%> +-
<%address1%> +- <%if address2%> +-
<%address2%> +-<%end address2%> +-
<%city%> <%state%> <%zipcode%> +- <%if country%> +-<%country%> +-<%end country%> +-
<%shiptoname%> +-
<%shiptoaddress1%> +- <%if shiptoaddress2%> +-
<%shiptoaddress2%> +-<%end shiptoaddress2%> +-
<%shiptocity%> <%shiptostate%> <%shiptozipcode%> +- <%if shiptocountry%> +-<%shiptocountry%> +-<%end shiptocountry%> +-
+-
 
+- +- +- +- +- +- +- +- +- +- +- ++ ++ ++ <%if shiptoname%> ++ ++ <%end shiptoname%> ++ ++
VarenummerBeskrivelseAntal PrisRabatBeløb
<%name%>
++<%addr1%>
++<%addr2%>
++<%addr3%>
++<%addr4%>
<%shiptoname%>
++<%shiptoaddr1%>
++<%shiptoaddr2%>
++<%shiptoaddr3%>
++<%shiptoaddr4%>
++
 
++ ++ ++ ++ ++ ++ ++ ++ ++ ++ + + <%foreach number%> +- +- +- +- +- +- +- +- +- +- +-<%end number%> ++ ++ ++ ++ ++ ++ ++ ++ ++ <%end number%> + + ++ ++ ++ + +- +- +- +- +- ++ + <%if taxincluded%> +- +- ++ ++ + <%end taxincluded%> + <%if not taxincluded%> +- +- +-<%end taxincluded%> +- ++ ++ ++<%end taxincluded%> + + <%foreach tax%> +- +- +- +- ++ ++ ++ ++ + <%end tax%> +- + <%if paid%> +- +- +- +- ++ ++ ++ ++ + <%end paid%> + +- +- +- +- +- +- +- +- +- +- +- +- +- +- +- +-
Varenr.BeskrivelseAntalPrisRabatBeløb
<%number%><%description%><%qty%><%unit%><%sellprice%><%discount%><%linetotal%>
<%number%><%description%><%qty%><%unit%><%sellprice%><%discount%><%linetotal%>
++
++

Total<%invtotal%>Total:<%invtotal%>Subtotal<%subtotal%>
Subtotal:<%subtotal%>
<%taxdescription%> på <%taxbase%> @ <%taxrate%> %<%tax%>
<%taxdescription%> (<%taxrate%>%) af ++<%taxbase%>:<%tax%>
Allerede betalt- <%paid%>
Allerede betalt:- <%paid%>
 
Betalingsfrist <%terms%> dageAt betale<%total%>
 
+-
+- +- ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++
  ++
++
Betalingsfrist <%terms%> dageAt betale:<%total%>
  ++
++
 
++
++ ++ + <%if notes%> +- +- ++ ++ + <%end notes%> +- +- +- +-
Bemærkninger<%notes%>Bemærkninger:<%notes%> +- Alle priser i <%currency%>. +-
<%shippingpoint%> +-
+-
 
+-
Tak for handelen! +-
 
+- +- +- +- +- +-
+- Betalingsfrist <%terms%> dage fra fakturadato. Betaling herefter påregnes +- 1.5% per påbegyndt måned startende <%duedate%> og indtil det fulde beløb +- er betalt. Returnerede varer modregnes 10% i ekspeditionsgebyr. +- Et returnummer skal tildeles af <%company%> før varer returneres. +- Returvarer skal forsendes forudbetalt og forsvarligt forsikret. +- <%company%> kan ikke drages til ansvar for skade under transport. +- +- +- X
+-
+-
++ ++ <%if taxincluded%> ++ ++ ++ ++ <%end taxincluded%> ++ ++ ++ ++ ++ ++
Alle beløb er inklusive moms.
Alle priser i <%currency%>
++<%shippingpoint%>
++
++
<%taxdescription%> noteret som <%taxnumber%>
 
Alle beløb er inklusive moms.
++

++Tak for handelen! ++

++<%company%>
++<%address%>
++<%if tel%> ++Telefon: <%tel%>
++<%end tel%> ++ <%if fax%> ++Fax: <%fax%>
++ <%end fax%> ++

++Indbetaling bedes ske til Merkur Andelskasse på konto 8401-1028192. ++

++
++
++
+
+- + + +- -- cgit v1.2.3