-
-
Notifications
You must be signed in to change notification settings - Fork 56
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(invoices): use different wording for quotes
- Loading branch information
Showing
2 changed files
with
36 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,20 +3,26 @@ | |
<head> | ||
<meta charset="utf-8"> | ||
<link href="invoices:invoice.css" media="print" rel="stylesheet"> | ||
<title>Invoice {{ invoice.number }}</title> | ||
<title>{{ invoice.get_kind_display }} {{ invoice.number }}</title> | ||
<meta name="description" content="Weblate invoice"> | ||
</head> | ||
|
||
<body> | ||
<header> | ||
<img class="logo" src="invoices:invoice-logo.svg" alt="Weblate"> | ||
<h1>Invoice number {{ invoice.number }}</h1> | ||
<h1>{{ invoice.get_kind_display }} number {{ invoice.number }}</h1> | ||
<p>{{ invoice.issue_date|date }}</p> | ||
</header> | ||
|
||
<div id="contacts" class="fullwidth"> | ||
<address id="to"> | ||
<h2>Invoice to</h2> | ||
<h2> | ||
{% if invoice.is_draft %} | ||
Quote for | ||
{% else %} | ||
Invoice to | ||
{% endif %} | ||
</h2> | ||
{{ invoice.customer.name }} | ||
<br /> | ||
{{ invoice.customer.address }} | ||
|
@@ -123,8 +129,20 @@ <h2>Issued by</h2> | |
<table id="total" class="fullwidth"> | ||
<thead> | ||
<tr> | ||
<th>Total due</th> | ||
<th>Due by</th> | ||
<th> | ||
{% if invoice.is_draft %} | ||
Quote amount | ||
{% else %} | ||
Total due | ||
{% endif %} | ||
</th> | ||
<th> | ||
{% if invoice.is_draft %} | ||
Valid until | ||
{% else %} | ||
Due by | ||
{% endif %} | ||
</th> | ||
<th>Payment</th> | ||
</tr> | ||
</thead> | ||
|
@@ -135,7 +153,9 @@ <h2>Issued by</h2> | |
</td> | ||
<td>{{ invoice.due_date|date }}</td> | ||
<td> | ||
{% if invoice.prepaid %} | ||
{% if invoice.is_draft %} | ||
Bank transfer od card payments are available | ||
{% elif invoice.prepaid %} | ||
Do not pay, already paid | ||
{% else %} | ||
Bank transfer | ||
|
@@ -149,6 +169,9 @@ <h2>Issued by</h2> | |
</tr> | ||
</tbody> | ||
</table> | ||
{% if invoice.is_draft %} | ||
<p>Should you have any questions concerning this quotation, please contact us at [email protected].</p> | ||
{% endif %} | ||
{% if invoice.vat_rate == 0 %} | ||
<p> | ||
The place of supply is considered to be in your country pursuant to Section 9 (1) Value Added Tax Act No. 235/2004 Coll. The person to whom the service is rendered is liable to declare and pay VAT in his country (reverse charge) according to European Directive 206/112/ES. | ||
|