Additional defaults for primary colors

This commit is contained in:
David Bomba 2023-03-13 14:36:57 +11:00
parent 6ad7e29944
commit a3c03039b7

View File

@ -271,7 +271,7 @@ class PdfMock
'$task.line_total' => '', '$task.line_total' => '',
'$line_tax_labels' => '', '$line_tax_labels' => '',
'$line_tax_values' => '', '$line_tax_values' => '',
'$secondary_color' => $this->settings->secondary_color, '$secondary_color' => isset($this->settings->secondary_color) ? $this->settings->secondary_color : '#3d3d3d;',
'$invoice.balance' => '$0.00', '$invoice.balance' => '$0.00',
'$invoice.custom1' => 'custom value', '$invoice.custom1' => 'custom value',
'$invoice.custom2' => 'custom value', '$invoice.custom2' => 'custom value',
@ -325,7 +325,7 @@ class PdfMock
'$entity_images' => '', '$entity_images' => '',
'$task.discount' => '', '$task.discount' => '',
'$contact.email' => 'bob@gmail.com', '$contact.email' => 'bob@gmail.com',
'$primary_color' => $this->settings->primary_color, '$primary_color' => isset($this->settings->primary_color) ? $this->settings->primary_color : '#4e4e4e',
'$credit_amount' => '$0.00', '$credit_amount' => '$0.00',
'$invoice.total' => '$0.00', '$invoice.total' => '$0.00',
'$invoice.taxes' => '$0.00', '$invoice.taxes' => '$0.00',