Rest of invoice designs (#3341)

* Invoice designs

* Fix template formatting

* Fix templates & variables passed
This commit is contained in:
Benjamin Beganović 2020-02-17 19:05:11 +01:00 committed by GitHub
parent f57339f185
commit be4cacf198
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
9 changed files with 1149 additions and 16 deletions

File diff suppressed because one or more lines are too long

154
app/Designs/Business.php Normal file

File diff suppressed because one or more lines are too long

147
app/Designs/Clean.php Normal file

File diff suppressed because one or more lines are too long

157
app/Designs/Creative.php Normal file

File diff suppressed because one or more lines are too long

150
app/Designs/CreativeRed.php Normal file

File diff suppressed because one or more lines are too long

144
app/Designs/Hipster.php Normal file

File diff suppressed because one or more lines are too long

146
app/Designs/Photo.php Normal file

File diff suppressed because one or more lines are too long

135
app/Designs/Plain.php Normal file

File diff suppressed because one or more lines are too long

View File

@ -47,6 +47,7 @@ trait MakesInvoiceValues
* @var array
*/
private static $labels = [
'invoice',
'date',
'due_date',
'invoice_number',
@ -250,7 +251,7 @@ trait MakesInvoiceValues
public function makeValues($contact = null) :array
{
if (!$this->client->currency() || !$this->client) {
throw new Exception(debug_backtrace()[1]['function'], 1);
throw new \Exception(debug_backtrace()[1]['function'], 1);
exit;
}