lubos
March 31, 2024, 11:02pm
1
The latest version (24.4.1) adds ability to use merge tags in footers.
When you are in Edit
screen of footer, you will see list of available merge tags in the bottom:
For example, here are the merge tags for sales invoices:
You can use any of these merge tags in your footer. For example:
When this footer is used on the invoice, you will see:
Footers also support custom fields which allow you to display contents of custom fields your own way.
Merge tags for custom fields have slightly different format:
But they work the same way and the main benefit is that now you can show contents of your custom fields in more compact way.
7 Likes
Footers span is reduced. Is this a bug or its going to be like this from now on?
looks good here.
There is one problem, how to display the image?
Yes somewhat fixed in new version 1388. Still text align etc is not working.
Shan
April 1, 2024, 3:25am
5
After the recent changes in the footer,
my this footer:
become like this:
I tried to bring apart by editing the html, but no success
lubos
April 1, 2024, 3:33am
6
@Shan can you share your HTML?
Patch
April 1, 2024, 3:45am
7
Shan
April 1, 2024, 3:48am
8
<table style="width:100%">
<tr>
<td style="text-align: left;"><div style="position:relative;text-align:center;border-bottom:1px solid black; width:150px; height:100px; ">
<div style="position: absolute; bottom: -20%;right:0; left:0;"><i>Received by</i></div>
</div></td>
<td style="text-align: center;"><div style="position:relative;text-align:center;border-bottom:1px solid black; width:150px; margin: auto; height:100px; ">
<div style="position: absolute; bottom: -20%;right:0; left:0;"><i>Prepared by</i></div>
</div></td>
<td style="text-align: right;"><div style="position:relative;text-align:center;border-bottom:1px solid black; width:150px; float:right; height:100px; ">
<div style="position: absolute; bottom: -20%;right:0; left:0;"><i>Approved by</i></div>
</div></td>
</tr>
</table>
Shan
April 1, 2024, 3:49am
9
Just now I tried this one too, but the result is same:
<div style="display: flex; justify-content: space-between; width: 100%;">
<div style="text-align: left; flex: 1;"><div style="position:relative;text-align:center;border-bottom:1px solid black; width:150px; height:100px; ">
<div style="position: absolute; bottom: -20%;right:0; left:0;"><i>Received by</i></div>
</div></div>
<div style="text-align: center; flex: 1;"><div style="position:relative;text-align:center;border-bottom:1px solid black; width:150px; margin: auto; height:100px; ">
<div style="position: absolute; bottom: -20%;right:0; left:0;"><i>Prepared by</i></div>
</div></div>
<div style="text-align: right; flex: 1;"><div style="position:relative;text-align:center;border-bottom:1px solid black; width:150px; float:right; height:100px; ">
<div style="position: absolute; bottom: -20%;right:0; left:0;"><i>Approved by</i></div>
</div></div>
</div>
Shan
April 1, 2024, 4:38am
10
Temporally solved by adding some padding on the left for center and right s
1 Like
this code work fine here
I also tried it on a custom theme, results looked good.
mam970
April 1, 2024, 8:10am
12
I have the same issue here
@shan you are right, the results I got from your code were good because I had another <div>
element above your code.
Update :
@lubos , I see the footer problem is caused by this element:
<div class="prose max-w-max text-black prose-hr:hidden" style="font-size: 12px">
...footer code...
</div>
The footer appears as it should if I remove class="prose max-w-max text-black prose-hr:hidden"
1 Like
Dear all
could please give us full code that works no one of all of these work exactly
Kind Regards
Patch
April 14, 2024, 12:24am
16
Given that is what you want you must employ a programmer.
Forum rules prohibit doing that on this forum.
Rabie
April 23, 2024, 12:58pm
17
How to add images to footers?
eko
April 23, 2024, 2:06pm
18
Rabie
April 24, 2024, 7:57am
19
link is not valid , why don’t MANAGER have a file to upload some images and we can use inside the system , why do i need to relate to imagur or others ?
eko
April 24, 2024, 8:09am
20
Rabie:
link is not valid
THe link I gave works perfectly well. The URL is https://forum.manager.io/t/how-i-can-add-footer-picture-in-to-sales-quotes/47742/8