mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-07-09 03:14:30 -04:00
Improve paddings & margins: Modern
This commit is contained in:
parent
cd2ce9ffe2
commit
b44d8eb62b
@ -249,6 +249,17 @@
|
|||||||
<div class="footer-content">
|
<div class="footer-content">
|
||||||
<div>
|
<div>
|
||||||
<p data-ref="total_table-footer">$entity_footer</p>
|
<p data-ref="total_table-footer">$entity_footer</p>
|
||||||
|
|
||||||
|
<script>
|
||||||
|
// Clear up space a bit, if [product-table, tasks-table, delivery-note-table] isn't present.
|
||||||
|
document.addEventListener('DOMContentLoaded', () => {
|
||||||
|
['product-table', 'task-table', 'delivery-note-table'].forEach((tableIdentifier) => {
|
||||||
|
document.getElementById(tableIdentifier).childElementCount === 0
|
||||||
|
? document.getElementById(tableIdentifier).style.display = 'none'
|
||||||
|
: '';
|
||||||
|
});
|
||||||
|
});
|
||||||
|
</script>
|
||||||
</div>
|
</div>
|
||||||
<div id="company-details"></div>
|
<div id="company-details"></div>
|
||||||
<div id="company-address"></div>
|
<div id="company-address"></div>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user