How to change the place of a custom field

Specifically, I need 2 custom fields on a Sales Invoice (Issuer’s Signature and Customer’s Signature) and need them placed left and right at the end of each invoice.

I managed to create the fields but I cannot place them to the correct place.

Any suggestions?

Thanx

1 Like

Currently it’s not possible to control placement of custom fields on printed documents (unless you use custom HTML layout).

However, custom fields on invoices already show at the bottom aligned to the left. So it’s just that one custom field needs to be aligned to the right. Correct?

I do not know much about HTML, but need to replace them at above description row.

below is the extract of my attempt of Trial and Error. It show the Column but do not include the custom field data.

                    <th style="border: 1px solid #000; padding: 5px 10px">Item</th>
                    <th style="border: 1px solid #000; padding: 5px 10px">Agent</th>
                    <th style="border: 1px solid #000; padding: 5px 10px">Driver</th>
                    <th style="border: 1px solid #000; padding: 5px 10px">Description</th>
                    <th style="width: 40px; border: 1px solid #000; padding: 5px 10px; text-align: center">Qty</th>
                    <th style="width: 80px; border: 1px solid #000; padding: 5px 10px; text-align: center">Unit price</th>
                    <th style="width: 60px; border: 1px solid #000; padding: 5px 10px; text-align: center">Discount</th>
                    <th style="width: 100px; border: 1px solid #000; padding: 5px 10px; text-align: center">Amount</th>
                </tr>
                {% for line in lines %}
                <tr>
                    <td style="border: 1px solid #000; padding: 5px 10px; border-bottom: none; border-top: none; vertical-align: top">{{ line.item.name }}</td>
                    <td style="border: 1px solid **#000; padding: 5px 10px; border-bottom: none; border-top: none">{{ line.agent | newline_to_br }}</td>**
                    <td style="border: 1px solid #000; padding: 5px 10px; border-bottom: none; border-top: none">{{ line.driver | newline_to_br }}</td>**
                    <td style="border: 1px solid #000; padding: 5px 10px; border-bottom: none; border-top: none">{{ line.description | newline_to_br }}</td>**
                    <td style="border: 1px solid #000; padding: 5px 10px; border-bottom: none; border-top: none; text-align: center; vertical-align: top">{{ line.qty }}</td>
                    <td style="border: 1px solid #000; padding: 5px 10px; border-bottom: none; border-top: none; text-align: right; vertical-align: top">{{ line.unit_price | money_without_currency }}</td>

This will not work because custom fields are not possible to create on line item level. I do plan to add this feature in future but until then, it’s not possible at all.

Excuse me for replying to this old topic. But is the feature available yet? Just checked the forum but haven’t found any close. I need to move the custom field just above the description.

The feature became available by using custom themes years ago. Custom themes still function, for now, but they have been shifted to the Obsolete Features category of Settings. The Guides on custom themes have been removed and there is no active support.

You are most likely wasting your time trying to implement such a feature through custom themes, because the developer has announced they will be removed when a new display approach development is complete.

Yes and this is becoming every day more urgent as it is a nuisance to have taken away the Custom themes and PDF generator and have to wait and wait for anything @Lubos should put in place that will help us. It is frankly annoying as I also posted elsewhere that features are being removed and just wait and wait for promises that it “soon” will be replaced with something better. So far there has been silence and no improvement on what existed before. So as for 2023 I hope that all these promises will be realized and not defer to further stalling tactics.

As far asI know, you can still use custom themes - they will not be supported at some undisclised future date

1 Like

@Joe91, yes I still use old custom themes but can not use new features such as Footers because of it. Even as soon as you create in a test business a new custom theme it will not accept Footers. As @Lubos explained when making them obsolete he did not use the theme but hardcoded a theme internal to the system so new features such as footers will not render.

You can add “footer” content in the custom theme

No you can not. Try with a test business and ensure you created and selected the custom theme.

  1. Settings → Obsolete Features → Themes → Create a new theme
  2. Settings → Footers → Select PO or anything present → create footer
  3. Create a PO or anything you created the Footer for and select the footer and the new theme

You will see that the view screen will not show the footer.

Using Manager Server Edition v22.12.2.532 on Ubuntu 20.04TLS server and Manager Desktop OSX v22.12.2.532

It will not work as described on these platforms and these versions.

I agree that you can not use the new Footer feature in a custom theme.

But in a custom theme you can put whatever text you want, wherever you want to on a form

Sure, but the argument is that any investment in doing so is in vain and we just need the new features to be able to at least use a business house style (colours and logo) in such documents.

So you will have to wait for future enhancements