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:
parent
2176518345
commit
3b7bf97dd8
@ -79,7 +79,7 @@ trait DesignHelpers
|
||||
$document->importNode($element, true)
|
||||
);
|
||||
|
||||
$html = $this->document->saveHTML();
|
||||
$html = $document->saveHTML();
|
||||
|
||||
return str_replace('%24', '$', $html);
|
||||
}
|
||||
|
@ -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.')];
|
||||
|
Loading…
Reference in New Issue
Block a user