From 851cb8b26470e4dc34ac389fe2c64538fa43a348 Mon Sep 17 00:00:00 2001 From: unknown Date: Tue, 15 Nov 2011 04:29:41 -0500 Subject: [PATCH] invoice template done --- .../formaprint/templatetags/__init__.py | 0 printaform/formaprint/templatetags/random.py | 0 printaform/templates/types/amc.html | 17 +++- printaform/templates/types/invoice.html | 95 +++++++++++++++---- 4 files changed, 90 insertions(+), 22 deletions(-) mode change 100644 => 100755 printaform/formaprint/templatetags/__init__.py mode change 100644 => 100755 printaform/formaprint/templatetags/random.py diff --git a/printaform/formaprint/templatetags/__init__.py b/printaform/formaprint/templatetags/__init__.py old mode 100644 new mode 100755 diff --git a/printaform/formaprint/templatetags/random.py b/printaform/formaprint/templatetags/random.py old mode 100644 new mode 100755 diff --git a/printaform/templates/types/amc.html b/printaform/templates/types/amc.html index 6126536..82ee5c2 100755 --- a/printaform/templates/types/amc.html +++ b/printaform/templates/types/amc.html @@ -17,6 +17,7 @@ html, body { body { font-family:Helvetica, Arial, sans-serif; + font-size:12px; } @@ -31,7 +32,7 @@ display:block; page-break-before:always; table { margin:0 auto; -} + font-size:12px;} th { text-align:left; @@ -42,6 +43,12 @@ td { width: 40%; } +#tableAMC td { + width:75%; +} + + + @@ -57,7 +64,7 @@ td { - +
@@ -91,9 +98,6 @@ td { -

Parties

{{ company_name }}

- - +

Considerations

@@ -105,6 +109,9 @@ td {
+ +

Payment Schedule

diff --git a/printaform/templates/types/invoice.html b/printaform/templates/types/invoice.html index 945c4db..041d116 100755 --- a/printaform/templates/types/invoice.html +++ b/printaform/templates/types/invoice.html @@ -11,7 +11,16 @@ html, body { width:100%; height:100%; - font-size:14px; + +} + +body { + font-size:12px; + font-family:Helvetica, Arial, sans-serif; +} + +table { + font-size:12px; } .clear { @@ -22,8 +31,12 @@ html, body { text-align:center; } +#companyAddress { + font-size:10px; +} + hr { - width:70%; + width:90%; } #companyTitle { @@ -31,14 +44,19 @@ hr { font-size:120%; } -#clientAddress { +td { +width:75%; +} + + +/*#clientAddress { float:left; } #date { float:right; } - +*/ @@ -48,32 +66,75 @@ hr {
-
{{ client_address|markdown }} -

Tel No: {{ company_tel }}

-

Email: {{ company_email }}

+
To:{{ client_address|markdown }} +

Tel No: {{ client_tel }}

+

Email: {{ client_email }}

-
{{ date }}
+
Invoice Date{{ date }}
+
Invoice Number: {{ invoice_no }}
+
-
Attn: {{ client_rep_name }}
- -
Invoice #: {{ invoice_no }}
- +
-

Dear Sir,

-

The following are my professional charges for Web Design and Development work done on your website {{ website_name }}.

+

Dear {{ sir_or_madam }},

+

Below is a statement of professional fees for {{ website_name }}.

-
+
+ + + + + + + + + + + + + + + + + + + +
ParticularsAmount
{{ particulars }};{{ amount }}
  
Total Amount +

In words: {{ amount_words }}

+
{{ amount_final }}
+
+
+ +
Payment to: {{ company_name }}
+ +
+

{{ bank_name }}:

+

{{ ifsc_code }}

+

{{ account_number }}

+

{{ account_branch }}

+ +
+
+
+
+
+
+

{{ client_name }}

+