{% block subject %}[{{ guest.system_company.name }}] Payment Received{% endblock %}
{% block content %}
<!DOCTYPE html>
<html>
<head>
	<meta charset="utf-8">
	<style type="text/css">
		body {
			font-family: Arial, sans-serif;
			font-size: 14px;
			color: #333333;
		}

		h1 {
			font-size: 24px;
			font-weight: bold;
			margin: 0 0 20px;
		}

		p {
			margin: 0 0 10px;
		}

		strong {
			font-weight: bold;
		}

		.signature {
			font-style: italic;
			color: #999999;
			margin-top: 20px;
			border-top: 1px solid #cccccc;
			padding-top: 10px;
		}
	</style>
</head>
<body>
	<h1>Invoice paid</h1>
	<p>Hello {{ c.first_name }} {{ c.last_name }},</p>
	<p>This is a payment receipt for invoice <strong>{{ invoice.serie_nr }}</strong> issued on {{ invoice.created_at|format_date }}</p>
    <ul>
        <li><strong>Total Paid:</strong> {{ invoice.total|money(invoice.currency) }}</li>
        <li><strong>Date Paid:</strong>  {{ invoice.paid_at|format_date }}</li>
    </ul>

    <p>You may view the invoice <a href="{{'invoice'|link}}/{{invoice.hash}}" target="_blank">here.</a>
    <p>You may also <a href="{{'login'|link({'email' : c.email }) }}" target="_blank">login</a> or <a href="{{'client/profile'|link}}" target="_blank">edit your profile.</a>

	<p class="signature">{{ guest.system_company.signature }}</p>
</body>
</html>
{% endblock %}
