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

Add $page_size & $page_layout

This commit is contained in:
Benjamin Beganović 2021-04-08 17:49:28 +02:00
parent 88a1fda199
commit c17893f9a8
11 changed files with 12 additions and 0 deletions

View File

@ -370,6 +370,9 @@ class HtmlEngine
//$data['$entity_footer'] = ['value' => $this->client->getSetting("{$this->entity_string}_footer"), 'label' => ''];
$data['$entity_footer'] = ['value' => $this->entity->footer, 'label' => ''];
$data['$page_size'] = ['value' => $this->settings->page_size, 'label' => ''];
$data['$page_layout'] = ['value' => $this->settings->page_layout, 'label' => ''];
$arrKeysLength = array_map('strlen', array_keys($data));
array_multisort($arrKeysLength, SORT_DESC, $data);

View File

@ -14,6 +14,7 @@
@page {
margin: -0.25cm !important;
size: $page_size $page_layout;
}
p {

View File

@ -14,6 +14,7 @@
@page {
margin: $global_margin;
size: $page_size $page_layout;
}
p {

View File

@ -14,6 +14,7 @@
@page {
margin: $global_margin;
size: $page_size $page_layout;
}
p {

View File

@ -14,6 +14,7 @@
@page {
margin: $global_margin;
size: $page_size $page_layout;
}
p {

View File

@ -14,6 +14,7 @@
@page {
margin: $global_margin;
size: $page_size $page_layout;
}
p {

View File

@ -14,6 +14,7 @@
@page {
margin: $global_margin;
size: $page_size $page_layout;
}
p {

View File

@ -16,6 +16,7 @@
@page {
margin: -0.22cm;
size: $page_size $page_layout;
}
p {

View File

@ -14,6 +14,7 @@
@page {
margin: $global_margin;
size: $page_size $page_layout;
}
p {

View File

@ -14,6 +14,7 @@
@page {
margin: -0.25cm !important;
size: $page_size $page_layout;
}
p {