Rest of invoice designs (#3341)
* Invoice designs * Fix template formatting * Fix templates & variables passed
This commit is contained in:
parent
f57339f185
commit
be4cacf198
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
|
|
@ -47,6 +47,7 @@ trait MakesInvoiceValues
|
||||||
* @var array
|
* @var array
|
||||||
*/
|
*/
|
||||||
private static $labels = [
|
private static $labels = [
|
||||||
|
'invoice',
|
||||||
'date',
|
'date',
|
||||||
'due_date',
|
'due_date',
|
||||||
'invoice_number',
|
'invoice_number',
|
||||||
|
|
@ -250,7 +251,7 @@ trait MakesInvoiceValues
|
||||||
public function makeValues($contact = null) :array
|
public function makeValues($contact = null) :array
|
||||||
{
|
{
|
||||||
if (!$this->client->currency() || !$this->client) {
|
if (!$this->client->currency() || !$this->client) {
|
||||||
throw new Exception(debug_backtrace()[1]['function'], 1);
|
throw new \Exception(debug_backtrace()[1]['function'], 1);
|
||||||
exit;
|
exit;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue