summaryrefslogtreecommitdiff
path: root/app/templates/modules/invoice-preview.html
blob: f86f9a29187ed8c7985f00758d29c1f89c5d00db (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
{# -*- mode: web; -*- #}

<!doctype html>

<html lang="en">
    <head>
	<meta charset="utf-8">
	<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to">
	<title>Invoice preview for {{ invoice.customer.name }}</title>
	<meta name="author" content="Marius Peter">
	<meta name="description" content="A new invoice for your project.">
	<!-- <link rel="icon" href="{{ url_for('static', filename='img/favicon.png') }}"> -->
	<link rel="stylesheet" href="{{ url_for('static', filename='styles/invoice.css') }}">
    </head>
    <body>
	<div id="content">
	    <header class="clearfix">
		<div id="logo">
		    <img src="{{ url_for('static', filename='img/logo.png') }}">
		</div>
		<div id="company">
		    <h2 class="name">FAPG</h2>
		    <div>Route de Versonnex</div>
		    <div>(602) 519-0450</div>
		    <div><a href="mailto:company@example.com">company@example.com</a></div>
		</div>

	    </header>
	    <main>
		<div id="details" class="clearfix">
		    <div id="client">
			<div class="to">INVOICE TO:</div>
			<h2 class="name">{{ invoice.customer.name }}</h2>
			<div class="address">{{ invoice.customer.address }}</div>
			{% if invoice.customer.email %}
			<div class="email"><a href="mailto:{{ invoice.customer.email }}">{{ invoice.customer.email }}</a></div>
			{% endif %}
		    </div>
		    <div id="invoice">
			<h1>INVOICE {{ invoice.invoice_id_alt }}</h1>
			<div class="date">Date of Invoice: {{ invoice.date_billed }}</div>
			<div class="date">Due Date: {{ invoice.date_due }}</div>
		    </div>
		</div>
		<table cellspacing="0" cellpadding="0" border="0">
		    <thead>
			<tr>
			    <th class="no">#</th>
			    <th class="desc">DESCRIPTION</th>
			    <th class="unit">UNIT PRICE</th>
			    <th class="qty">QUANTITY</th>
			    <th class="total">TOTAL</th>
			</tr>
		    </thead>
		    <tbody>
			<tr>
			    <td class="no">01</td>
			    <td class="desc"><h3>Website Design</h3>Creating a recognizable design solution based on the company's existing visual identity</td>
			    <td class="unit">$40.00</td>
			    <td class="qty">30</td>
			    <td class="total">$1,200.00</td>
			</tr>
			<tr>
			    <td class="no">02</td>
			    <td class="desc"><h3>Website Development</h3>Developing a Content Management System-based Website</td>
			    <td class="unit">$40.00</td>
			    <td class="qty">80</td>
			    <td class="total">$3,200.00</td>
			</tr>
			<tr>
			    <td class="no">03</td>
			    <td class="desc"><h3>Search Engines Optimization</h3>Optimize the site for search engines (SEO)</td>
			    <td class="unit">$40.00</td>
			    <td class="qty">20</td>
			    <td class="total">$800.00</td>
			</tr>
		    </tbody>
		    <tfoot>
			<tr>
			    <td colspan="2"></td>
			    <td colspan="2">SUBTOTAL</td>
			    <td>$5,200.00</td>
			</tr>
			<tr>
			    <td colspan="2"></td>
			    <td colspan="2">TAX 25%</td>
			    <td>$1,300.00</td>
			</tr>
			<tr>
			    <td colspan="2"></td>
			    <td colspan="2">GRAND TOTAL</td>
			    <td>$6,500.00</td>
			</tr>
		    </tfoot>
		</table>
		<div id="thanks">Thank you!</div>
		<div id="notices">
		    <div>NOTICE:</div>
		    <div class="notice">A finance charge of 1.5% will be made on unpaid balances after 30 days.</div>
		</div>
	    </main>
	    <footer>
		Invoice was created on a computer and is valid without the signature and seal.
	    </footer>

	</div>
    </body>
</html>
Copyright 2019--2024 Marius PETER