Add $primary_color & $seconday_color to variables list

This commit is contained in:
Benjamin Beganović 2020-10-01 13:20:32 +02:00
parent 764fede2eb
commit 5e773a03c8

View File

@ -321,6 +321,9 @@ class HtmlEngine
$data['$invoiceninja.whitelabel'] = ['value' => asset('images/created-by-invoiceninja-new.png'), 'label' => ''];
$data['$primary_color'] = ['value' => $this->settings->primary_color, 'label' => ''];
$data['$secondary_color'] = ['value' => $this->settings->secondary_color, 'label' => ''];
// $data['custom_label1'] = ['value' => '', 'label' => ctrans('texts.')];
// $data['custom_label2'] = ['value' => '', 'label' => ctrans('texts.')];
// $data['custom_label3'] = ['value' => '', 'label' => ctrans('texts.')];