Include or exclude OVERDUE and PAID IN FULL stamps on sales invoices

Sales invoices displayed using the built-in, Plain, theme display colored “stamps” at the bottom when paid in full or overdue:

07%20AM 29%20AM

Other built-in themes do not include these stamps, regardless of sales invoice status.

One or both stamps can be included on other built-in themes or excluded from the Plain theme by creating a custom theme and modifying a few lines of computer code. The only programming skills needed are the ability to copy, paste, and delete. Before starting, however, read and understand this Guide.

Find the code

To include or exclude the stamps, first find the computer code that generates them. Go to the Settings tab and select Themes:

45%20AM 05%20AM

Click View beside the Plain theme, then Copy to and select New Theme:

18%20AM

When the computer code for the theme appears, locate these lines near the bottom:

{% if emphasis.text != null and emphasis.positive %}
<tr><td colspan="99"><div style="text-align: center; margin-top: 40px"><span style="color: #006400; border-width: 5px; border-color: #006400; padding: 10px; font-size: 20px">{{ emphasis.text | upcase }}</span></div></td></tr>
{% endif %}

{% if emphasis.text != null and emphasis.negative %}
<tr><td colspan="99"><div style="text-align: center; margin-top: 40px"><span style="color: #FF0000; border-width: 5px; border-color: #FF0000; padding: 10px; font-size: 20px">{{ emphasis.text | upcase }}</span></div></td></tr>
{% endif %}

The first three lines control appearance of the green PAID IN FULL stamp. The last three lines control appearance of the red OVERDUE stamp.

Use or modify the code

To add either or both stamps to another custom theme, copy the appropriate lines of code from this source theme and paste them into the other destination theme. Normally, these lines should be pasted into a theme just before the </tbody> tag. Characteristics of the stamps, such as font color or size, can be edited.

There is no need to Create the source theme once you have copied the code from it, because the Plain theme already exists in every version of Manager.

To eliminate either or both stamps from the Plain theme, delete the relevant lines of code. Modify the new theme’s name so you can distinguish it from the default, Plain, theme and click Create.

Shortcut for the OVERDUE stamp

Another way to eliminate only the OVERDUE stamp is to suppress the sales invoice due date. When creating or editing a sales invoice, check the box to Hide due date, and the OVERDUE stamp will not appear:

50%20AM

The due date also will not appear on the completed sales invoice. But the PAID IN FULL stamp will appear when the invoice amount has been received.

Get Involved
Subscribe to Updates

Subscribe to our newsletter and get exclusive product updates you won't find anywhere else straight to your inbox.

Manager is rated 5 out of 5 by 42 reviewers
© 2019 — Based in Sydney, Australia but providing goodness globally