forked from fakturownia/Szablony
-
Notifications
You must be signed in to change notification settings - Fork 8
/
standard1_gauche.handlebars
80 lines (63 loc) · 2.26 KB
/
standard1_gauche.handlebars
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
<div class="invoice_outline standard1_gauche" {{#if status_paid}}{{#if show_paid_logo}}{{#not_in kind "proforma,estimate"}}style="background:transparent url('{{paid_mark_url}}') no-repeat 50% bottom;"{{/not_in}}{{/if}}{{/if}} >
{{#if canceled }}
<div style="text-align: center; font-size: 12px;">
<h3>{{ tt "invoice.kind_options.canceled" }}</h3>
{{ tt "invoice.cancel_reason" }} : {{ cancel_reason }}
<br><br>
</div>
{{/if}}
{{>buttons}}
<section id="invoice_header">
<div id="logo">
<div id="logo_place">
{{#if logo_url}}
<img src="{{logo_url}}" alt="logo" />
{{/if}}
</div>
</div>
<div id="info" style="text-align:right;">
<p id="document_id">
<span id="document_type">{{document_type}} {{tt "invoice.number"}}</span>
<span id="document_number">{{number}}</span>
</p>
{{#if correction}}
<p class="document_extra">{{ correction }}</p>
{{else if receipt}}
<p class="document_extra">{{ receipt }}</p>
{{else if proforma}}
<p class="document_extra">{{ proforma }}</p>
{{/if}}
<p>
{{#if print_option}}
<p class="document_extra">{{print_option}}</p>
{{/if}}
{{#if issue_place}}
<p id="document_date"><span>{{tt "invoice.place"}} :</span> {{issue_place}}, {{tt "invoice.on_date"}} {{issue_date}}</p>
{{else}}
<p id="document_date"><span>{{tt "invoice.issue_date"}} :</span> {{issue_date}}</p>
{{/if}}
{{#and show_sell_date sell_date}}
<p id="document_selldate"><span>{{{sell_date_kind}}} :</span> {{sell_date}}</p>
{{/and}}
{{#if oid}}
<p id="document_oid"><span>{{tt 'invoice.oid'}} :</span> {{oid}}</p>
{{/if}}
</p>
</div>
</section>
<!-- personnalisation: https://github.com/vosfactures/Formats/blob/master/partials/standard1.handlebars -->
{{> standard1}}
</div> <!-- invoice_outline -->
{{#if department.name}}
<section id="description_footer">
<div id="company_info_footer">
<span>{{>company_info_footer}}</span>
</div>
</section>
{{/if}}<!-- #company_info_footer -->
{{#if description_long}}
<hr class="noprint" style="margin-top:0px;" />
<div class="invoice_outline" id="extra_page" style="page-break-before:always !important;">
<div id="extra_page_content">{{{description_long}}}</div>
</div>
{{/if}}