1
0
mirror of https://github.com/invoiceninja/invoiceninja.git synced 2024-11-10 13:12:50 +01:00

Add $font-size variable & fix insert of designs

This commit is contained in:
Benjamin Beganović 2020-09-09 17:14:55 +02:00
parent 2176518345
commit 3b7bf97dd8
2 changed files with 3 additions and 1 deletions

View File

@ -79,7 +79,7 @@ trait DesignHelpers
$document->importNode($element, true)
);
$html = $this->document->saveHTML();
$html = $document->saveHTML();
return str_replace('%24', '$', $html);
}

View File

@ -315,6 +315,8 @@ class HtmlEngine
$data['_rate2'] = ['value' => '', 'label' => ctrans('texts.tax')];
$data['_rate3'] = ['value' => '', 'label' => ctrans('texts.tax')];
$data['$font-size'] = ['value' => $this->settings->font_size . 'px', 'label' => ''];
// $data['custom_label1'] = ['value' => '', 'label' => ctrans('texts.')];
// $data['custom_label2'] = ['value' => '', 'label' => ctrans('texts.')];
// $data['custom_label3'] = ['value' => '', 'label' => ctrans('texts.')];