I need new themes

I need new themes in my invoice

@ahmedshaaban1985 besides your open request going against the forum rules, namely:

Be non-commercial. Do not solicit customers or recruit employees. Do not offer or solicit products or services. Do not ask Forum members to develop themes, reports, or localizations for you unless you have already tried yourself.

…you should know that Themes are now placed under Obsolete Features, so they are no longer actively supported and there’s no guarantee that any theme you write today will continue to work in the future.

@ahmedshaaban1985
i am sharing few themes in my used.

{% if business.logo != null %}{% endif %}
{{ title }}
                <table style="margin-bottom: 20px; width: 100%"><tr>
                <td style="vertical-align: top">
                    <p><div style="color:#d4af37;font-weight: bold; font-size: 25px" >{{ recipient.code }}</div></p>
                    <p><div style="color:#306754;font-weight: bold; font-size: 26px" >{{ recipient.name | newline_to_br }}</div></p>
                    <p><div style="font-weight: font-size: 16px" >{{ recipient.address | newline_to_br }}</div></p>
                    <p><div>{{ recipient.identifier }}</div></p>
                    </td>
                    <td style="border-right-width: 1px; padding-right: 20px; text-align: right">
                        {% for field in fields %}
                        <div style="font-weight: bold">{{ field.label }}</div>
                        <div style="margin-bottom: 10px">{{ field.text }}</div>
                        {% endfor %}
                    </td>
                {% if business.address != null %}
                <td style="padding-left: 30px; width: 30px; white-space: nowrap">
                    <div style="font-weight: bold">{{ Berina }}</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="color:#4E5180;font-weight: bold; font-size: 22px; font-weight: bold; margin-bottom: 15px">{{ description }}</div>
            </td>
        </tr>
        <tr>
            <td style="font-weight: bold; padding: 5px 10px; text-align: center; border-left-width: 1px; border-bottom-width: 1px; border-top-width: 1px; width: 1px">#</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>
        {% for row in table.rows %}
        <tr>
            <td style="padding: 5px 10px; text-align: center; border-left-width: 1px; width: 1px">{{ forloop.index0 | plus:1 }}</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>
        <td style="border-bottom-width: 1px; border-left-width: 1px">&nbsp;</td>
        {% for column in table.columns %}            
            <td style="border-bottom-width: 1px; border-left-width: 1px{% if forloop.last == true %}; border-right-width: 1px{% endif %}">&nbsp;</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 total.emphasis == true %}; font-weight: bold{% endif %}">{{ total.text }}</td>
        </tr>
        {% endfor %}

        {% for field in custom_fields %}
        <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 %}

        {% 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 %}
            
    </tbody>
</table>
{{ title }}
            <table style="margin-bottom: 20px"><tr>
                <td style="padding-left: 30px">
                <div style="color:red;font-weight: bold; font-size: 25px" >{{ recipient.code }}</div>
                    <div style="color:blue;font-weight: bold; font-size: 26px" >{{ recipient.name }}</div>
                    <div>{{ recipient.address | newline_to_br }}</div>
                    <div>{{ recipient.identifier }}</div>
                </td>
                <td style="padding-right: 30px">
                    {% for field in fields %}
                    <div style="font-weight: bold">{{ field.label }}</div>
                    <div style="margin-bottom: 10px">{{ field.text }}</div>
                    {% endfor %}
                </td>
                {% if business.logo != null %}<td style="text-align: right; width: 300px"><img src="{{ business.logo }}" style="max-height: 5px; max-width: 5px" /></td>{% endif %}
            </tr></table>

            <div style="color:black;font-weight: bold; font-size: 22px; font-weight: bold; margin-bottom: 15px">{{ description }}</div>
        </td>
    </tr>
    <tr>
        {% for column in table.columns %}            
        <td style="font-weight: bold; color: #000000; background-color: #999999; border-bottom-width: 5px; border-color: #000000; padding: 10px; text-align: {{ column.align }}{% if forloop.first %}; padding-left: 30px{% endif %}{% if forloop.last %}; padding-right: 30px{% endif %}{% 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 style="padding: 10px; text-align: {{ table.columns[forloop.index0].align }}; border-color: #000000; border-bottom-width: 1px{% if forloop.first %}; padding-left: 30px{% endif %}{% if forloop.last %}; padding-right: 30px{% endif %}{% if table.columns[forloop.index0].nowrap %}; white-space: nowrap; width: 80px{% endif %}">{{ cell.text | newline_to_br }}</td>
        {% endfor %}
    </tr>
    {% endfor %}
    {% for total in table.totals %}
    <tr>
        <td colspan="{{ table.columns | size | minus:1 }}" style="padding: 10px; text-align: right{% if total.emphasis == true %}; font-weight: bold; font-size: 16px{% endif %}">{{ total.label }}</td>
        <td style="border-bottom-width: 1px; border-color: #000000; white-space: nowrap; padding: 10px; padding-left: 30px; text-align: right; padding-right: 30px{% if total.emphasis == true %}; font-weight: bold; background-color: #000000; color: #fff; font-size: 16px{% endif %}">{{ total.text }}</td>
    </tr>
    {% endfor %}

    {% for field in custom_fields %}
    <tr>
        <td colspan="99" style="padding-left: 30px; padding-right: 30px">                
            <div style="font-weight: bold">{{ field.label }}</div>
            <div style="padding-bottom: 20px">{{ field.text | newline_to_br }}</div>                
        </td>
    </tr>
    {% endfor %}

    <tr>
        <td colspan="99"><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /></td>
    </tr>

</tbody>
<tfoot>
    <tr><td colspan="99">
        <div style="border-top-width: 3px; border-color: #000000; font-size: 11px; padding: 10px 20px; background-color: #999999; color: #000000">
            <div style="font-weight: bold">{{ business.name }}</div>
            <div>{{ business.address | replace: "\n", " " }}</div>
            {% for field in business.custom_fields %}
            <div>{{ field.label }} {{ field.text }}</div>
            {% endfor %}
        </div>
    </td></tr>
</tfoot>
{% if business.logo != null %}{% endif %}
{{ title }}
            <table style="margin-bottom: 20px"><tr>
                <td>
                <td>
                    <div style="font-weight: bold; font-size: 19px; color: #306754">{{ recipient.name }}</div>
                    <div>{{ recipient.address | newline_to_br }}</div>
                    <div>{{ recipient.identifier }}</div>
                </td>
                <td style="padding-right: 20px; text-align: right">
                    {% for field in fields %}
                    <div style="font-weight: bold">{{ field.label }}</div>
                    <div style="margin-bottom: 10px">{{ field.text }}</div>
                    {% endfor %}
                </td>
            </tr></table>

            <div style="font-size: 14px; font-weight: bold; margin-bottom: 20px">{{ description }}</div>
        </td>
    </tr>
    <tr>
        {% for column in table.columns %}            
        <td style="font-weight: bold; padding: 5px 10px; color: #fff; border-color: #FFFFFF; border-right-width: 2px; border-bottom-width: 2px; text-align: {{ column.align }}; background-color: #A5A5A5{% 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 style="padding: 5px 10px; background-color: #EDEDED; border-color: #fff; border-right-width: 2px; border-bottom-width: 2px; text-align: {{ table.columns[forloop.index0].align }}{% if table.columns[forloop.index0].nowrap %}; white-space: nowrap; width: 80px{% endif %}{% if forloop.last == true %}; background-color: #A5A5A5; color: #fff{% endif %}">{{ cell.text | newline_to_br }}</td>
        {% endfor %}
    </tr>
    {% endfor %}
    <tr>
        {% for column in table.columns %}
        <td style="background-color: #A5A5A5; border-color: #fff; border-right-width: 2px; border-bottom-width: 2px; font-size: 1px">&nbsp;</td>
        {% endfor %}
    </tr>
    {% for total in table.totals %}
    <tr>
        <td colspan="{{ table.columns | size | minus:1 }}" style="padding: 5px 10px; border-color: #fff; border-right-width: 2px; border-bottom-width: 2px; background-color: #fff; text-align: right{% if total.emphasis == true %}; font-weight: bold{% endif %}">{{ total.label }}</td>
        <td style="white-space: nowrap; border-color: #fff; background-color: #A5A5A5; border-right-width: 2px; border-bottom-width: 2px; padding: 5px 10px; color: #fff; text-align: right{% if total.emphasis == true %}; font-weight: bold{% endif %}">{{ total.text }}</td>
    </tr>
    {% endfor %}

    {% for field in custom_fields %}
    <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><td colspan="99" style="padding-top: 20px">
        <div style="border-top-width: 3px; border-color: #DBDBDB; font-size: 13px; padding: 10px 20px; background-color: #A5A5A5; color: #000000">
            <div style="font-weight: bold">{{ business.name }}</div>
            <div>{{ business.address | replace: "\n", " " }}</div>
            {% for field in business.custom_fields %}
            <div>{{ field.label }} {{ field.text }}</div>
            {% endfor %}
        </div>
    </td></tr>
</tfoot>

hello dear
thank you for helping me
but does not work well
please help me to create new letterhead for my company
thank you

1 Like

Please read the FAQ | Forum Rules, especially the part where it says:
image

1 Like

That would be the specialty of a Media/Marketing company.

If you need specific help on how to use themes, please create a new topic but for now I am closing this topic because it’s outside the scope of this forum.