Lost custom HTML themes after upgrading version

Hi
I just upgraded Manager desktop to 17.7.88 and seems lost my HTML themes that I had recently modified based on India GST upgrades.

Also it looks like that my logo and all defaults are not showing with new version.
Luckily I had took a back up. Is there a way I can get the HTML code. It is very important.

Thanks,
Hitesh

same issue i am facing amount in words is duplicating. bottom GST message is gone, shipped to is also missing
it seems a mess now

@bhanuhitesh - Search the forum under “India GST”, there have been several topics on implementing Themes for India’s new GST system.

Here is one such topic

sir you dont seem to understand the point we are using the same theme for last 1 month now, all of a sudden we are facing this issue
amount in words is duplicating. bottom GST message is gone, shipped to is also missing. version 17.7.88

what @himayun19 means to say is that he had added a custom theme based on @sharpdrivetek 's post

but then he upgraded to today’s version and lost the theme’s functionality

i havent upgraded, so cannot say whether this is an universal bug.

this problem is because i think you are using the first custom theme provided by me. the theme has already been updated as per the changes to Manager in the new topic @Brucanna pointed to in the previous post.

no idea what this is. you should explain this better.

Shipped to is not a feature of Manager. It was provided as a custom theme along with the proper instructions to implement it. you need to follow the instructions.

spandan888 yes sir you explained it very well thank you

there is a big change in GST custom theme which was provided so please check what has happened.

Maybe you are upgrading from a very old version. There was an update which changed the way themes are selected. In the recent versions you should select the required theme for every document by using the Switch theme button at the top right corner when viewing a document.

Read this topic.

sir i upgraded from a very latest version just today.

i dont think that is the issue, the issue may be in the theme itself.

i will post some custom code based on @sharpdrivetek and can @himayun19 tell me if it works?

<table style="padding: 20px 20px">
<thead>
    <tr>
        <td colspan="99">
            <table style="margin-bottom: 10px"><tr>
                <td style="font-weight: bold; font-size: 32px">{% if title != 'Invoice' %}{{ title }}{% endif %}{% if title == 'Invoice' %}{{ title | replace: "Invoice", "Tax Invoice" }}{% endif %}</td>
                {% if business.logo != null %}<td style="text-align: right"><img src="{{ business.logo }}" style="max-height: 100px; max-width: 300px"></td>{% endif %}
            </tr></table>
            
            <table style="margin-bottom: 20px"><tr>
                <td style="width: 200px; border-left-width: 5px; padding-left: 10px; text-align: left">
                    {% for field in fields %}
                    <div style="font-weight: bold; font-size: 12px">{{ field.label }}</div>
                    <div style="margin-bottom: 10px; font-weight: bold; font-size: 16px">{{ field.text }}</div>
                    {% endfor %}
                </td>
                {% if title == 'Tax Invoice' %}
                <td style="width: 260px; padding-left: 20px; border-color: #000000; border-left-width: 1px">
                {% for field in custom_fields %}
                {% if field.label == "Shipped To:" %}{% continue %}{% endif %}
                {% if field.label == "Notes" %}{% continue %}{% endif %}
                {% if field.label == 'Total in words' %}{% continue %}{% endif %}
                <div style="font-size: 12px; padding-bottom: 10px"><b>{{ field.label }}</b> {{ field.text | newline_to_br }}</div>
                {% endfor %}</td>{% endif %}
                <td style="width: 300px; padding-left: 10px; padding-right: 5px; text-align: left; vertical-align: top; border-top-width: 3px; border-bottom-width: 5px">
                    <div style="text-align:LEFT;font-weight: bold;font-size: 18px">{{ business.name }}</div>
                    <div style="text-align:LEFT;font-size: 12px">{{ business.address | newline_to_br }}</div>
                    <div style="text-align:LEFT;font-weight: bold;font-size: 14px">{{ business.identifier }}</div>
                </td>
            </tr></table>
            <table style="margin-bottom: 20px">
            <td style="width: 380px; text-align: left; border-color: #000000; border-bottom-width: 2px; border-top-width: 2px; border-left-width: 2px; border-right-width: 2px">
                {% if title == 'Tax Invoice' %}<div style="padding-left: 5px; border-bottom-width: 2px; text-align:LEFT;font-weight: bold">Billed To:</div>{% endif %}
                <div style="padding-left: 20px">
                <div><b>{{ recipient.name }}</b> {{ recipient.code }}</div>
                <div>{{ recipient.address | newline_to_br }}</div>
                <div><b>{{ recipient.identifier }}</b></div></div>
            </td>
            {% if title == 'Tax Invoice' %}
                <td style="width: 375px; padding-left: 5px; text-align: left; border-color: #000000; border-bottom-width: 2px; border-top-width: 2px; border-left-width: 0px; border-right-width: 2px">
                    {% for field in custom_fields %}{% if field.label == 'Shipped To:' %}{% assign consignee = field.text %}
                    <div style="padding-left: 5px; border-bottom-width: 2px; text-align:LEFT;font-weight: bold">{{ field.label }}</div>
                    <div style="padding-left: 20px">{{ field.text | newline_to_br }}</div>
                    {% endif %}{% endfor %}
                    {% if consignee == null %}
                    <div style="padding-left: 5px; border-bottom-width: 2px; text-align:LEFT;font-weight: bold">Shipped To:</div>
                    <div style="padding-left: 20px">
                    <div><b>{{ recipient.name }}</b> {{ recipient.code }}</div>
                    <div>{{ recipient.address | newline_to_br }}</div>
                    <div><b>{{ recipient.identifier }}</b></div></div>{% endif %}
                </td>
            {% endif %}
            </table>

            <div style="font-size: 14px; font-weight: bold; margin-bottom: 20px">{{ description }}</div>
        
    </td></tr>
    
    <tr>
        <td style="width: 25px; font-weight: bold; padding: 5px 5px; border-bottom-width: 1px; border-left-width: 1px; border-top-width: 1px; text-align:CENTER">#</td>
        {% for column in table.columns %}            
        <td style="font-weight: bold; padding: 5px 10px; text-align: {{ column.align }}; border-left-width: 1px; border-bottom-width: 1px; border-top-width: 1px{% if forloop.last == true %}; border-right-width: 1px{% endif %}{% if column.nowrap %}; white-space: nowrap; width: 80px{% endif %}">{{ column.label }}</td>
        {% endfor %}
    </tr>
</thead>
<tbody>
    {% assign i = 0 %}
    {% for row in table.rows %}
    {% assign i = i | plus: 1 %}
    <tr>
        <td style="width: 25px; padding: 5px 5px; border-left-width: 1px; text-align:CENTER">{{ i }}</td>
        {% for cell in row.cells %}
        <td style="padding: 5px 10px; text-align: {{ table.columns[forloop.index0].align }}; border-left-width: 1px{% if forloop.last == true %}; border-right-width: 1px{% endif %}{% if table.columns[forloop.index0].nowrap %}; white-space: nowrap; width: 80px{% endif %}">{{ cell.text | newline_to_br }}</td>
        {% endfor %}
    </tr>
    {% endfor %}
    <tr>
    {% for column in table.columns %}            
        <td style="border-bottom-width: 1px; border-left-width: 1px{% if forloop.last == true %}; border-right-width: 1px{% endif %}"></td>
    {% endfor %}
    </tr>
    {% for total in table.totals %}
    <tr>
        <td colspan="{{ table.columns | size }}" style="padding: 5px 10px; text-align: right{% if total.emphasis == true %}; font-weight: bold{% endif %}">{{ total.label }}</td>
        <td style="border-left-width: 1px; white-space: nowrap; border-right-width: 1px; border-bottom-width: 1px; padding: 5px 10px; text-align: right{% if forloop.first == true %}; border-top-width: 1px{% endif %}{% if total.emphasis == true %}; font-weight: bold{% endif %}">{{ total.text }}</td>
    </tr>
    {% endfor %}
    <tr><td colspan="{{ table.columns | size | plus:1 }}" style="border-right-width: 1px; border-top-width: 1px; border-bottom-width: 1px; border-left-width: 1px"><div style="font-size: 12px; padding-left: 10px; padding-right: 10px; font-weight: bold">{% for field in custom_fields %}{% if field.label == 'Total in words' %}{{ field.text }} Only</div>{% endif %}{% endfor %}</td></tr>
    {% for field in custom_fields %}
    {% if title == 'Tax Invoice' %}
    {% if field.label != "Notes" %}{% continue %}{% endif %}
    {% endif %}
    <tr>
        <td colspan="99">
            <div style="font-weight: bold; padding-top: 20px">{{ field.label }}</div>
            <div>{{ field.text | newline_to_br }}</div>
        </td>
    </tr>
    {% endfor %}
</tbody>
<tfoot>
<tr>
    {% if title == 'Tax Invoice' %}
    <td colspan="99">
        <div style="text-align: right; font-weight: bold">We declare that this invoice shows the actual price of the goods or<br>service described and that all particulars are true and correct.<br><br>For {{ business.name }}<br><br><br><br>Authorised Signatory</div></td>
    {% endif %}
</tr>
</tfoot>

i just updated to the latest version and checked. everything is working correct.

The problem was with the word “invoice” in the code, which gets replaced early on by "tax Invoice"
and so i just changed the latter referals to “tax invoice”

the latest changes had already been provided in the below topic.

dont pull all these in the theme, just put what is in a light grey colour

Capture

please check this file lot of things missing

<table style="padding: 20px 20px">
{% if business.logo != null %}{% endif %}
{% if title != 'Invoice' %}{{ title }}{% endif %}{% if title == 'Invoice' %}{{ title | replace: "Invoice", "Tax Invoice" }}{% endif %}
        <table style="margin-bottom: 20px"><tr>
            <td style="width: 200px; border-left-width: 5px; padding-left: 10px; text-align: left">
                {% for field in fields %}
                <div style="font-weight: bold; font-size: 12px">{{ field.label }}</div>
                <div style="margin-bottom: 10px; font-weight: bold; font-size: 16px">{{ field.text }}</div>
                {% endfor %}
            </td>
            {% if title == 'Tax Invoice' %}
            <td style="width: 260px; padding-left: 20px; border-color: #000000; border-left-width: 1px">
            {% for field in custom_fields %}
            {% if field.label == "Shipped To:" %}{% continue %}{% endif %}
            {% if field.label == "Notes" %}{% continue %}{% endif %}
            {% if field.label == 'Total in words' %}{% continue %}{% endif %}
            <div style="font-size: 12px; padding-bottom: 10px"><b>{{ field.label }}</b> {{ field.text | newline_to_br }}</div>
            {% endfor %}</td>{% endif %}
            <td style="width: 300px; padding-left: 10px; padding-right: 5px; text-align: left; vertical-align: top; border-top-width: 3px; border-bottom-width: 5px">
                <div style="text-align:LEFT;font-weight: bold;font-size: 18px">{{ business.name }}</div>
                <div style="text-align:LEFT;font-size: 12px">{{ business.address | newline_to_br }}</div>
                <div style="text-align:LEFT;font-weight: bold;font-size: 14px">{{ business.identifier }}</div>
            </td>
        </tr></table>
        <table style="margin-bottom: 20px">
        <td style="width: 380px; text-align: left; border-color: #000000; border-bottom-width: 2px; border-top-width: 2px; border-left-width: 2px; border-right-width: 2px">
            {% if title == 'Tax Invoice' %}<div style="padding-left: 5px; border-bottom-width: 2px; text-align:LEFT;font-weight: bold">Billed To:</div>{% endif %}
            <div style="padding-left: 20px">
            <div><b>{{ recipient.name }}</b> {{ recipient.code }}</div>
            <div>{{ recipient.address | newline_to_br }}</div>
            <div><b>{{ recipient.identifier }}</b></div></div>
        </td>
        {% if title == 'Tax Invoice' %}
            <td style="width: 375px; padding-left: 5px; text-align: left; border-color: #000000; border-bottom-width: 2px; border-top-width: 2px; border-left-width: 0px; border-right-width: 2px">
                {% for field in custom_fields %}{% if field.label == 'Shipped To:' %}{% assign consignee = field.text %}
                <div style="padding-left: 5px; border-bottom-width: 2px; text-align:LEFT;font-weight: bold">{{ field.label }}</div>
                <div style="padding-left: 20px">{{ field.text | newline_to_br }}</div>
                {% endif %}{% endfor %}
                {% if consignee == null %}
                <div style="padding-left: 5px; border-bottom-width: 2px; text-align:LEFT;font-weight: bold">Shipped To:</div>
                <div style="padding-left: 20px">
                <div><b>{{ recipient.name }}</b> {{ recipient.code }}</div>
                <div>{{ recipient.address | newline_to_br }}</div>
                <div><b>{{ recipient.identifier }}</b></div></div>{% endif %}
            </td>
        {% endif %}
        </table>

        <div style="font-size: 14px; font-weight: bold; margin-bottom: 20px">{{ description }}</div>
    
</td></tr>

<tr>
    <td style="width: 25px; font-weight: bold; padding: 5px 5px; border-bottom-width: 1px; border-left-width: 1px; border-top-width: 1px; text-align:CENTER">#</td>
    {% for column in table.columns %}            
    <td style="font-weight: bold; padding: 5px 10px; text-align: {{ column.align }}; border-left-width: 1px; border-bottom-width: 1px; border-top-width: 1px{% if forloop.last == true %}; border-right-width: 1px{% endif %}{% if column.nowrap %}; white-space: nowrap; width: 80px{% endif %}">{{ column.label }}</td>
    {% endfor %}
</tr>
{% assign i = 0 %} {% for row in table.rows %} {% assign i = i | plus: 1 %} {{ i }} {% for cell in row.cells %} {{ cell.text | newline_to_br }} {% endfor %} {% endfor %} {% for column in table.columns %} {% endfor %} {% for total in table.totals %} {{ total.label }} {{ total.text }} {% endfor %}
{% for field in custom_fields %}{% if field.label == 'Total in words' %}{{ field.text }} Only
{% endif %}{% endfor %} {% for field in custom_fields %} {% if title == 'Tax Invoice' %} {% if field.label != "Notes" %}{% continue %}{% endif %} {% endif %}
{{ field.label }}
{{ field.text | newline_to_br }}
{% endfor %} {% if title == 'Tax Invoice' %}
We declare that this invoice shows the actual price of the goods or
service described and that all particulars are true and correct.

For {{ business.name }}



Authorised Signatory
{% endif %}

use this in a new theme and check

did you read my above reply?

this happened today when i upgraded to 17.7.88 what to do know i am not that tech savy.