mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-07-09 03:14:30 -04:00
Fixes for statement designs
This commit is contained in:
parent
74ea46b0b2
commit
34e170f7a3
@ -241,7 +241,7 @@ trait DesignHelpers
|
|||||||
{
|
{
|
||||||
// We want to show headers for statements, no exceptions.
|
// We want to show headers for statements, no exceptions.
|
||||||
$statements = "
|
$statements = "
|
||||||
document.querySelectorAll('#statement-invoice-table > thead > tr > th, #statement-payment-table > thead > tr > th, #statement-aging-table > thead > tr > th').forEach(t => {
|
document.querySelectorAll('#statement-credit-table > thead > tr > th, #statement-invoice-table > thead > tr > th, #statement-payment-table > thead > tr > th, #statement-aging-table > thead > tr > th').forEach(t => {
|
||||||
t.hidden = false;
|
t.hidden = false;
|
||||||
});
|
});
|
||||||
";
|
";
|
||||||
|
@ -388,7 +388,7 @@ $entity_images
|
|||||||
];
|
];
|
||||||
|
|
||||||
tables.forEach((tableIdentifier) => {
|
tables.forEach((tableIdentifier) => {
|
||||||
document.getElementById(tableIdentifier).childElementCount === 0
|
document.getElementById(tableIdentifier) && document.getElementById(tableIdentifier).childElementCount === 0
|
||||||
? document.getElementById(tableIdentifier).style.display = 'none'
|
? document.getElementById(tableIdentifier).style.display = 'none'
|
||||||
: '';
|
: '';
|
||||||
});
|
});
|
||||||
|
Loading…
x
Reference in New Issue
Block a user