Is it somehow possible to remove unit price and amount from quotes/invoices.
I want to sell some services + products but i want to show price combined only, not item wise.
I can hide amounts by using quantity 0, but i need total amount in the end so this option is not useable.
I tried in themes but i am unable to edit columns
i want to show details like bill of materials but with total price only
Tut
February 6, 2022, 6:30pm
2
You can leave the quantity blank (not zero) and only fill in the unit price. Describe everything in the Description field as text. The result will be an amount for that line item, with the description of everything you are selling. But you cannot leave everything blank and have a total appear.
i understand your point, but about this
“The result will be an amount for that line item”
i want to remove amount from column entirely. I want that prices only shown as in total.
infact, i want to do opposite, i need quantities but not amount column
Can i remove Amount column?
In order to stop showing item prices you can either:
Mention all your items in a single line.
List a single bundle item with prices and list detail lines without prices.
Make a custom theme to remove the amount column.
There is no option to remove amount column in themes, please read first message
Try this theme:
<table style="padding: 30px; width: 100%">
<thead>
<tr>
<td colspan="99">
<table style="margin-bottom: 20px; width: 100%"><tr>
<td style="font-weight: bold; font-size: 32px; vertical-align: top">{{ title }}</td>
{% if business.logo != null %}<td style="text-align: end"><img src="{{ business.logo }}" style="max-height: 150px; max-width: 300px" /></td>{% endif %}
</tr></table>
<table style="margin-bottom: 20px; width: 100%"><tr>
<td style="vertical-align: top">
<div style="font-weight: bold">{{ recipient.name }}</div>
<div>{{ recipient.address | newline_to_br }}</div>
<div>{{ recipient.identifier }}</div>
</td>
<td style="text-align: end; vertical-align: top">
{% 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="width: 20px"></td>
<td style="width: 1px; border-left-width: 1px; border-left-color: #000; border-left-style: solid"></td>
<td style="width: 20px"></td>
<td style="width: 1px; white-space: nowrap; vertical-align: top">
<div style="font-weight: bold">{{ 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: 20px">{{ description }}</div>
</td>
</tr>
<tr>
{% for column in table.columns %}
{% if forloop.last == true %}{% break %}
{% else %}
<td style="writing-mode: horizontal-tb; border-inline-start-width: 1px; border-inline-start-style: solid; border-inline-start-color: #000; {% if forloop.last == true %} border-inline-end-width: 1px; border-inline-end-style: solid; border-inline-end-color: #000{% endif %}; text-align: {{ column.align }}; font-weight: bold; padding: 5px 10px; border-bottom-width: 1px; border-bottom-color: #000; border-top-width: 1px; border-top-color: #000; border-top-style: solid; border-bottom-style: solid{% if column.nowrap %}; width: 80px{% endif %}">{{ column.label }}</td>
{% endif %}
{% endfor %}
</tr>
</thead>
<tbody>
{% for row in table.rows %}
<tr>
{% for cell in row.cells %}
{% if forloop.last == true %}{% break %}
{% else %}
<td style="writing-mode: horizontal-tb; border-inline-start-width: 1px; border-inline-start-style: solid; border-inline-start-color: #000; {% if forloop.last == true %} border-inline-end-width: 1px; border-inline-end-style: solid; border-inline-end-color: #000{% endif %}; padding: 5px 10px; text-align: {{ table.columns[forloop.index0].align }}; {% if table.columns[forloop.index0].nowrap %}; white-space: nowrap; width: 80px{% endif %}">{{ cell.text | newline_to_br }}</td>
{% endif %}
{% endfor %}
</tr>
{% endfor %}
<tr>
{% for column in table.columns %}
<td style="writing-mode: horizontal-tb; border-inline-start-width: 1px; border-inline-start-style: solid; border-inline-start-color: #000; {% if forloop.last == true %} border-inline-end-width: 1px; border-inline-end-style: solid; border-inline-end-color: #000{% endif %}; border-bottom-width: 1px; border-bottom-color: #000000; border-bottom-style: solid"> </td>
{% endfor %}
</tr>
{% for total in table.totals %}
<tr>
<td colspan="{{ table.columns | size | minus:2 }}" style="text-align: end; padding: 5px 10px{% if total.emphasis == true %}; font-weight: bold{% endif %}">{{ total.label }}</td>
<td style="border-left-width: 1px; border-left-style: solid; border-left-color: #000; border-right-width: 1px; border-right-style: solid; border-right-color: #000; text-align: right; white-space: nowrap; border-bottom-width: 1px; border-bottom-color: #000000; border-bottom-style: solid; padding: 5px 10px{% 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 %}
<tr>
<td colspan="99">
{% if emphasis.text != null and emphasis.positive %}
<div style="text-align: center; margin-top: 40px"><span style="color: #006400; border-width: 5px; border-color: #006400; border-style: solid; padding: 10px; font-size: 20px">{{ emphasis.text | upcase }}</span></div>
{% endif %}
{% if emphasis.text != null and emphasis.negative %}
<div style="text-align: center; margin-top: 40px"><span style="color: #FF0000; border-width: 5px; border-color: #FF0000; border-style: solid; padding: 10px; font-size: 20px">{{ emphasis.text | upcase }}</span></div>
{% endif %}
</td>
</tr>
</tbody>
</table>
That’s just a sample theme that removes the amount column from documents. Of course you can do more but it requires a bit more work.
it removes title only and amounts, not actual column
can you tell me what did you edit from default theme
Oops. I edited the theme, try it once more.
i am unable to understand difference in theme codes, Can you please share little details.
I have added a couple of these:
Once in {% for column in table.columns %}
Another in {% for cell in row.cells %}
Also I changed this:
colspan="{{ table.columns | size | minus:1 }}"
To this:
colspan="{{ table.columns | size | minus:2 }}"
To accommodate for the missing column.
1 Like
Ealfardan:
forloop.last == true
can remove last column only, where i need QT and Rates column gone also,
@lubos can you help here please
Patch
February 8, 2022, 9:04am
13
Mian_Waqas_Azfar:
can you help here please
Manager has significant customisation features. Using them requires some programming skills. Most Manager users are not programmers. Which means if you want such customisation done you will need to hire a programmer to do it for you. Given Manager’s pricing you will probably recover the costs relatively quickly.
The alternative is you do what you have to do with by far the majority of program’s targeting this market:- accept the standard reports or choose another product.
3 Likes
thnx for @Ealfardan , i have done all my required customizations already
1 Like