-
Notifications
You must be signed in to change notification settings - Fork 131
Expand file tree
/
Copy pathinvoices.php
More file actions
128 lines (109 loc) · 3.89 KB
/
Copy pathinvoices.php
File metadata and controls
128 lines (109 loc) · 3.89 KB
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
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
<?php
return [
/*
|--------------------------------------------------------------------------
| Default Currency
|--------------------------------------------------------------------------
|
| This value is the default currency that is going to be used in invoices.
| You can change it on each invoice individually.
*/
'currency' => 'EUR',
/*
|--------------------------------------------------------------------------
| Default Decimal Precision
|--------------------------------------------------------------------------
|
| This value is the default decimal precision that is going to be used
| to perform all the calculations.
*/
'decimals' => 2,
/*
|--------------------------------------------------------------------------
| Default Invoice Logo
|--------------------------------------------------------------------------
|
| This value is the default invoice logo that is going to be used in invoices.
| You can change it on each invoice individually.
*/
'logo' => 'http://i.imgur.com/t9G3rFM.png',
/*
|--------------------------------------------------------------------------
| Default Invoice Logo Height
|--------------------------------------------------------------------------
|
| This value is the default invoice logo height that is going to be used in invoices.
| You can change it on each invoice individually.
*/
'logo_height' => 60,
/*
|--------------------------------------------------------------------------
| Default Invoice Buissness Details
|--------------------------------------------------------------------------
|
| This value is going to be the default attribute displayed in
| the customer model.
*/
'business_details' => [
'name' => env('APP_NAME', 'My Company'),
'id' => '1234567890',
'phone' => '+34 123 456 789',
'location' => 'Main Street 1st',
'zip' => '08241',
'city' => 'Barcelona',
'country' => 'Spain',
],
/*
|--------------------------------------------------------------------------
| Default Invoice Footnote
|--------------------------------------------------------------------------
|
| This value is going to be at the end of the document, sometimes telling you
| some copyright message or simple legal terms.
*/
'footnote' => '',
/*
|--------------------------------------------------------------------------
| Default Tax Rates
|--------------------------------------------------------------------------
|
| This array group multiple tax rates.
|
| The tax type accepted values are: 'percentage' and 'fixed'.
| The percentage type calculates the tax depending on the invoice price, and
| the fixed type simply adds a fixed amount to the total price.
| You can't mix percentage and fixed tax rates.
*/
'tax_rates' => [
[
'name' => '',
'tax' => 0,
'tax_type' => 'percentage',
],
],
/*
| Default Invoice Due Date
|--------------------------------------------------------------------------
|
| This value is the default due date that is going to be used in invoices.
| You can change it on each invoice individually.
| You can set it null to remove the due date on all invoices.
*/
'due_date' => date('M dS ,Y',strtotime('+3 months')),
/*
| Default pagination parameter
|--------------------------------------------------------------------------
|
| This value is the default pagination parameter.
| If true and page count are higher than 1, pagination will show at the bottom.
*/
'with_pagination' => true,
/*
| Duplicate header parameter
|--------------------------------------------------------------------------
|
| This value is the default header parameter.
| If true header will be duplicated on each page.
*/
'duplicate_header' => false,
];