5
5
< meta charset ="UTF-8 ">
6
6
< title > Invoice Template Form</ title >
7
7
< link rel ="stylesheet " href ="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css " crossorigin ="anonymous ">
8
- < link rel ="stylesheet " href ="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap-theme.min.css " crossorigin ="anonymous ">
8
+ <!--< link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap-theme.min.css" crossorigin="anonymous">-- >
9
9
< script src ="https://ajax.googleapis.com/ajax/libs/jquery/1.11.3/jquery.min.js "> </ script >
10
10
< script src ="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/js/bootstrap.min.js " crossorigin ="anonymous "> </ script >
11
11
< script src ="https://cdnjs.cloudflare.com/ajax/libs/mustache.js/2.2.1/mustache.min.js "> </ script >
15
15
< link rel ="stylesheet " href ="https://cdnjs.cloudflare.com/ajax/libs/bootstrap-datetimepicker/4.17.37/css/bootstrap-datetimepicker.css ">
16
16
< link rel ="stylesheet " href ="css/pdf_styles.css ">
17
17
< link rel ="stylesheet " href ="css/pdf_preview_styles.css ">
18
+ < link rel ="stylesheet " href ="css/modal.css ">
18
19
</ head >
19
20
20
21
< body >
23
24
24
25
<!-- Buttons -->
25
26
26
- < div id ="buttons ">
27
- < button id ="button-trigger " type ="button " class ="btn btn-primary btn-lg " data-toggle ="modal " data-target ="#myModal ">
27
+ < div id ="buttons " class ="text-center ">
28
+ < p > < h1 > TutorCruncher Invoice Template</ h1 > </ p >
29
+ < button id ="button-trigger " type ="button " class ="btn btn-default btn-lg " data-toggle ="modal " data-target ="#myModal ">
28
30
Edit
29
31
</ button >
30
- < button type ="button " class ="btn btn-success btn-lg " onclick ="savePDF() ">
31
- Save
32
+ < button type ="button " class ="btn btn-primary btn-lg " onclick ="savePDF() ">
33
+ Save and Generate Invoice
32
34
</ button >
33
35
</ div >
34
36
39
41
< div class ="modal-content ">
40
42
< div class ="modal-header ">
41
43
< button type ="button " class ="close " data-dismiss ="modal " aria-label ="Close "> < span aria-hidden ="true "> ×</ span > </ button >
42
- < h3 class ="modal-title " id ="myModalLabel "> Invoice Generation </ h3 >
44
+ < h3 class ="modal-title " id ="myModalLabel "> Invoice Template </ h3 >
43
45
</ div >
44
46
< div class ="modal-body ">
45
47
< form >
@@ -129,9 +131,6 @@ <h3>Branch Details</h3>
129
131
</ div >
130
132
</ div >
131
133
132
-
133
-
134
-
135
134
< h3 > Payment Details</ h3 >
136
135
137
136
< div class ="row ">
@@ -147,7 +146,7 @@ <h3>Payment Details</h3>
147
146
148
147
< div class ="row ">
149
148
< div class ="form-group col-md-6 ">
150
- < label for ="iban " class ="control-label "> Account Number </ label >
149
+ < label for ="iban " class ="control-label "> IBAN </ label >
151
150
< input type ="text " class ="form-control " placeholder ="IBAN " name ="iban " id ="iban ">
152
151
</ div >
153
152
< div class ="form-group col-md-6 ">
@@ -159,6 +158,9 @@ <h3>Payment Details</h3>
159
158
< div class ="form-group ">
160
159
< input type ="text " class ="form-control " placeholder ="Bank Address " name ="bank_address " id ="bank_address ">
161
160
</ div >
161
+ < div class ="form-group ">
162
+ < textarea class ="form-control " placeholder ="Custom Message " name ="custom_message " id ="custom_message "> </ textarea >
163
+ </ div >
162
164
163
165
< div id ="items ">
164
166
< div id ="item_1 ">
@@ -197,14 +199,14 @@ <h3>Item 1</h3>
197
199
</ div >
198
200
199
201
< div class ="modal-footer ">
200
- < button type ="button " class ="btn btn-primary " onclick ="addItem(); "> Add Item</ button >
201
- < button type ="button " id ="remove_button " class ="btn btn-danger " onclick ="removeItem(); "> Remove Item</ button >
202
+ < button type ="button " class ="btn btn-default " onclick ="addItem(); "> Add Item</ button >
203
+ < button type ="button " id ="remove_button " class ="btn btn-default " onclick ="removeItem(); "> Remove Item</ button >
202
204
</ div >
203
205
204
206
</ form >
205
207
</ div >
206
208
< div class ="modal-footer ">
207
- < button type ="button " class ="btn btn-default " data-dismiss ="modal "> OK</ button >
209
+ < button type ="button " class ="btn btn-primary " data-dismiss ="modal "> OK</ button >
208
210
</ div >
209
211
</ div >
210
212
</ div >
@@ -221,17 +223,18 @@ <h1 style="margin-bottom: 5px">
221
223
Summary
222
224
</ h1 >
223
225
< h3 >
224
- < small > Invoice ID: {{{ invoice_label } }}</ small > < br >
225
- < small > {{{ date_sent } }}</ small >
226
+ < small > Invoice ID: {{ invoice_label }}</ small > < br >
227
+ < small > {{ date_sent }}</ small >
226
228
</ h3 >
227
229
</ div >
228
230
< div class ="col-xs-7 ">
229
231
< img class ="logo " src ="" alt ="your logo ">
230
232
</ div >
231
233
</ div >
234
+
232
235
< div class ="row addresses ">
233
236
< div class ="col-xs-5 ">
234
- < strong > {{ client_name }}</ strong > < br >
237
+ < strong > {{ client_first_name }} {{ client_last_name }}</ strong > < br >
235
238
{{ client_first_line }}< br >
236
239
{{ client_second_line }}< br >
237
240
{{ client_town }}< br >
250
253
251
254
< div class ="row " style ="margin-top: 10px; ">
252
255
< div class ="col-xs-12 ">
253
- < p style ="text-align: justify; ">
254
- {{{ branch_statement_prefix }}}
255
- </ p >
256
256
< strong > Summary of invoices payable for the period</ strong >
257
257
</ div >
258
258
</ div >
@@ -277,15 +277,21 @@ <h3>
277
277
278
278
< div class ="row " style ="margin-top: 5px ">
279
279
< p class ="col-xs-12 ">
280
- This is a summary. For invoice breakdown please see individual PDFs also attached.
280
+ {{ custom_message }}
281
281
</ p >
282
282
</ div >
283
283
< div class ="row text-right " style ="padding-top: 20px; ">
284
284
< div class ="col-xs-12 ">
285
285
< h4 > {{ please_quote }}</ h4 >
286
286
287
287
< div class ="small-para-gap ">
288
- {{ company_name }}< br /> Account Number - {{ account_number }}< br /> Sort Code - {{ sort_code }}< br /> {{ bank_address }}< br /> {{ bank_city }}< br /> {{ bank_postcode }}< br />
288
+ {{ company_name }}< br />
289
+ Account Number - {{ account_number }}< br />
290
+ Sort Code - {{ sort_code }}< br />
291
+ IBAN - {{ iban }}< br />
292
+ {{ bank_address }}< br />
293
+ {{ bank_city }}< br />
294
+ {{ bank_postcode }}< br />
289
295
</ div >
290
296
</ div >
291
297
</ div >
@@ -300,7 +306,6 @@ <h1 style="margin-bottom: 5px">
300
306
</ h1 >
301
307
302
308
< h3 style ="margin-top: 5px ">
303
- < small > {{ page_subtitle }}</ small >
304
309
< br >
305
310
< small > {{{ date_sent }}}</ small >
306
311
</ h3 >
@@ -312,7 +317,12 @@ <h3 style="margin-top: 5px">
312
317
313
318
< div class ="row addresses ">
314
319
< div class ="col-xs-5 ">
315
- < strong > {{ client_name }}</ strong > < br > {{ client_first_line }}< br > {{ client_town }}< br > {{ client_country }}< br > {{ client_postcode }}< br > {{ client_phone }}
320
+ < strong > {{ client_first_name }} {{ client_last_name }}</ strong > < br >
321
+ {{ client_first_line }}< br >
322
+ {{ client_town }}< br >
323
+ {{ client_country }}< br >
324
+ {{ client_postcode }}< br >
325
+ {{ client_phone }}
316
326
</ div >
317
327
< div class ="col-xs-5 col-xs-offset-2 text-right ">
318
328
< strong > {{ payee_name }}</ strong > < br > {{ payee_street }}< br > {{ payee_town }}< br > {{ payee_country }}< br > {{ payee_postcode }}
@@ -366,13 +376,6 @@ <h3 style="margin-top: 5px">
366
376
< p > £{{ gross_amount }}</ p >
367
377
</ strong >
368
378
</ div >
369
-
370
- </ div >
371
-
372
- < div class ="row text-right info-block ">
373
- < div class ="col-xs-12 small-para-gap ">
374
- {{{ page_suffix }}}
375
- </ div >
376
379
</ div >
377
380
</ page >
378
381
</ div >
0 commit comments