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:
parent
88a1fda199
commit
c17893f9a8
@ -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);
|
||||
|
||||
|
@ -14,6 +14,7 @@
|
||||
|
||||
@page {
|
||||
margin: -0.25cm !important;
|
||||
size: $page_size $page_layout;
|
||||
}
|
||||
|
||||
p {
|
||||
|
@ -14,6 +14,7 @@
|
||||
|
||||
@page {
|
||||
margin: $global_margin;
|
||||
size: $page_size $page_layout;
|
||||
}
|
||||
|
||||
p {
|
||||
|
@ -14,6 +14,7 @@
|
||||
|
||||
@page {
|
||||
margin: $global_margin;
|
||||
size: $page_size $page_layout;
|
||||
}
|
||||
|
||||
p {
|
||||
|
@ -14,6 +14,7 @@
|
||||
|
||||
@page {
|
||||
margin: $global_margin;
|
||||
size: $page_size $page_layout;
|
||||
}
|
||||
|
||||
p {
|
||||
|
@ -14,6 +14,7 @@
|
||||
|
||||
@page {
|
||||
margin: $global_margin;
|
||||
size: $page_size $page_layout;
|
||||
}
|
||||
|
||||
p {
|
||||
|
@ -14,6 +14,7 @@
|
||||
|
||||
@page {
|
||||
margin: $global_margin;
|
||||
size: $page_size $page_layout;
|
||||
}
|
||||
|
||||
p {
|
||||
|
@ -16,6 +16,7 @@
|
||||
|
||||
@page {
|
||||
margin: -0.22cm;
|
||||
size: $page_size $page_layout;
|
||||
}
|
||||
|
||||
p {
|
||||
|
@ -14,6 +14,7 @@
|
||||
|
||||
@page {
|
||||
margin: $global_margin;
|
||||
size: $page_size $page_layout;
|
||||
}
|
||||
|
||||
p {
|
||||
|
@ -14,6 +14,7 @@
|
||||
|
||||
@page {
|
||||
margin: -0.25cm !important;
|
||||
size: $page_size $page_layout;
|
||||
}
|
||||
|
||||
p {
|
||||
|
Loading…
Reference in New Issue
Block a user