End of page marking

no joe, somebody else have been asking about the coding I use

I am taking myself out of this topic. Best of luck

1 Like

So do I.

1 Like

Use a test system where you can modify / test it safely. Both program and data file changes can be tested there.

Btw
your issue on the bottom of the page is almost certainly due to something you have done and nobody but you will be able to find it

I believe to test it safely, I need another computer to do the testing. Is that what you mean by a test system? Or I can make a virtual machine.

Yes, apparently only me having the issue.
I’ll try to upgrade the MANGER this weekend.

Thanks patch

You are correct using another physical (or virtual) computer is the safest, particularly if you are unsure what is going on.

However by default Manager just installs for the current user. So you can

  • Back up your data files to a safe external location
  • create a new user on your computer
  • confirm your prior manager install is not accessible
  • install a different version of Manager desktop in that computer user account
  • Test Manager versions there without effecting your production system

Thanks patch.
I don’t have a spare computer and a virtual machine installed right now. Over the week end I’ll try your suggestions and I will update the result.

You can make things easy by downloading a backup and archiving a copy along with the installer for the older version. This way if things go belly up on you you just have to uninstall the new version, reinstall the old one and import your backups.

Thanks Ealfardan.
I do have backups, yes multiple backups and also versioning of the company data, furthermore I keep the backups in two computers. What I’m afraid of is when I upgrade and there is something wrong, I can’t afford to halt the business while figuring out what’s wrong.

1 Like

For those who wonder, as a forum moderator, I am the one who deleted several posts in this thread. They were unnecessarily personal criticisms and responses. They were not in keeping with the rules of the forum and did not contribute to resolving @whenry’s issue.

If you are adding the code you posted then you have an open tag

thanks @VACUUMDOG .
I am not a programmer. I modified the plain theme by trial and error. And my mod works ok for me :laughing:
How to correct what you’ve mentioned? thanks

Here is my mod for the Delivery note and the result is on post #1

<table style="padding: 30px">
    <thead>
        <tr>
            <td colspan="99">
                <table style="margin-bottom: 5px"><tr>
                    <td style="font-weight: bold; font-size: 18px">{{ title }}</td>
                    {% if business.logo != null %}<td class="text-end"><img src="{{ business.logo }}" style="max-height: 150px; max-width: 300px" /></td>{% endif %}
                </tr></table>
                
                <table style="margin-bottom: 5px"><tr>
                    <td>
                        <div style="font-weight: bold; font-size: 14px">{{ recipient.name }}</div>
                        <div>{{ recipient.address | newline_to_br }}</div>
                        <div>{{ recipient.identifier }}</div>
                    </td>
                    <td class="text-end">
                        {% for field in fields %}
                        <div>{{ field.label }}: {{ field.text }}</div>
                        {% endfor %}
                        <div>Lokasi: {{ custom_fields["Lokasi:"] }}</div>
                    </td>
                    {% if business.address != null %}
                    <td style="width: 20px"></td>
                    <td class="border-start" style="width: 20px"></td>
                    <td style="width: 1px; white-space: nowrap">
                        <div style="font-weight: bold; font-size: 19px">{{ business.name }}</div>
                        <div>{{ business.address | newline_to_br }}</div>
                        {% for field in business.custom_fields %}
                        <div>{{ field.label }} {{ field.text }}</div>
                        {% endfor %}
                    </td>
                    {% endif %}
                </tr></table>

                <div style="font-size: 14px; font-weight: bold; margin-bottom: 5px">{{ description }}</div>
            </td>
        </tr>
        <tr>
            {% for column in table.columns %}
            <td class="text-{{ column.align }} border-start{% if forloop.last == true %} border-end{% endif %}" style="font-weight: bold; padding: 5px 10px; border-bottom-width: 1px; border-top-width: 1px{% if column.nowrap %}; width: 80px{% endif %}">{{ column.label }}</td>
            {% endfor %}
        </tr>
    </thead>
    <tbody>
        {% for row in table.rows %}
        <tr>
            {% for cell in row.cells %}
            <td class="text-{{ table.columns[forloop.index0].align }} border-start{% if forloop.last == true %} border-end{% endif %}" style="padding: 5px 10px; {% 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 class="border-start{% if forloop.last == true %} border-end{% endif %}" style="border-bottom-width: 1px">&nbsp;</td>
        {% endfor %}
        </tr>
        {% for total in table.totals %}
        <tr>
            <td class="text-end" colspan="{{ table.columns | size | minus:1 }}" style="padding: 5px 10px{% if total.emphasis == true %}; font-weight: bold{% endif %}">{{ total.label }}</td>
            <td class="border-start border-end text-right" style="white-space: nowrap; border-bottom-width: 1px; padding: 5px 10px{% if total.emphasis == true %}; font-weight: bold{% endif %}">{{ total.text }}</td>
        </tr>
        {% endfor %}
        {% for field in custom_fields %}
        {% if field.label == 'Lokasi:' %}{% continue %}{% endif %}
        {% if field.label == 'Pengirim:' %}{% continue %}{% endif %}
        {% if field.label == 'Disetujui:' %}{% continue %}{% endif %}
        {% if field.label == 'Disiapkan:' %}{% continue %}{% endif %}
        {% if field.label == 'Penerima:' %}{% continue %}{% endif %}
        {% if field.label == 'Telpon:' %}{% continue %}{% endif %}
        {% if field.label == 'HP #1:' %}{% continue %}{% endif %}
        {% if field.label == 'HP #2:' %}{% continue %}{% endif %}
        {% if field.label == 'Info Tambahan:' %}{% continue %}{% 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 %}
        <tr>
            <td colspan="99">
            <div style="text-align: center;font-weight: bold; font-size: 13px; border 1px"><br> *** PERHATIAN! Mohon barang jangan dibalik & ditindas. Barang yang telah diterima tidak dapat dikembalikan! *** <br><br></div>
            <div style="font-weight: bold; font-size: 12px">&nbsp &nbsp &nbsp &nbsp &nbsp &nbsp &nbsp &nbsp <u>PENERIMA:</u> &nbsp &nbsp &nbsp &nbsp &nbsp &nbsp &nbsp &nbsp &nbsp &nbsp &nbsp &nbsp &nbsp &nbsp &nbsp &nbsp &nbsp &nbsp &nbsp &nbsp &nbsp &nbsp &nbsp &nbsp &nbsp &nbsp &nbsp &nbsp &nbsp <u>PENGIRIM:</u> &nbsp &nbsp &nbsp &nbsp &nbsp &nbsp &nbsp &nbsp &nbsp &nbsp &nbsp <u>DISETUJUI:</u> &nbsp &nbsp &nbsp &nbsp &nbsp &nbsp  &nbsp &nbsp &nbsp &nbsp &nbsp <u>DISIAPKAN:</u></div>
            <div style="font-weight: bold; font-size: 12px">(Stempel, Tanda Tangan, Nama) <br><br></div>
            </td>
        <tr>

    </tbody>
</table>

I try to compact everything so that I can print the delivery notes with half of A4 paper.

Well, I tried your theme out and I don’t get the phantom line before or after correcting the open <tr> code in the third last line to </tr>, so that’s not it.
That’s about as much as I can help. Sorry.

thanks for the effort Vacuumdog, appriciate it.
I’ll try to update the software this weekend. and I’ll update the result.

Please replace above code with below code:

        <tr>
            <td colspan="99">
            <div style="text-align: center; font-weight: bold; font-size: 13px; border: 1px"><br /> *** PERHATIAN! Mohon barang jangan dibalik & ditindas. Barang yang telah diterima tidak dapat dikembalikan! *** <br /><br /></div>
            <div style="font-weight: bold; font-size: 12px">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <u>PENERIMA:</u> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <u>PENGIRIM:</u> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <u>DISETUJUI:</u> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <u>DISIAPKAN:</u></div>
            <div style="font-weight: bold; font-size: 12px">(Stempel, Tanda Tangan, Nama) <br /><br /></div>
            </td>
        </tr>

Maybe it helps…

Thanks Ries

Thank you very much guys for the help. Really appreciate it.
Sorry that I could not update the software earlier as suggested. I managed this morning to update the MANAGER into v.21.8.18 and the problem is solved.

1 Like