# Removing due date

**URL:** <https://forum.manager.io/t/removing-due-date/11612>\
**Category:** Uncategorized\
**Created:** [September 7, 2017, 11:21am UTC](https://forum.manager.io/t/removing-due-date/11612 "2017-09-07T11:21:30Z")\
**Posts on this page:** 1\
**Showing post:** 5

<div class="post-metadata">

**Author:** ![sharpdrivetek](https://sea1.discourse-cdn.com/flex019/user_avatar/forum.manager.io/sharpdrivetek/32/34244_2.png) [@sharpdrivetek](https://forum.manager.io/u/sharpdrivetek)\
**Post date:** [September 7, 2017, 5:08pm UTC](https://forum.manager.io/t/removing-due-date/11612/5 "2017-09-07T17:08:48Z")

</div>

for users who do not need the due date printed on the invoice when both the Invoice date and Due date are the same, proceed with the instructions below.

1. copy and paste any theme from the Manager website.

2. edit the theme and find the line where it says

3. replace the above lines with the following code

> ```
> {% for field in fields %}
> {% if field.label == 'Due date' %}{% assign duedate = field.text %}{% endif %}
> {% if field.label == 'Invoice date' %}{% assign invoicedate = field.text %}{% endif %}
> {% if field.label == 'Due date' %}{% if duedate == invoicedate %}{% continue %}{% endif %}{% endif %}
> <div style="font-weight: bold">{{ field.label }}</div>
> <div style="margin-bottom: 10px">{{ field.text }}</div>
> {% endfor %}
> 
> ```

this code does not hide the Due date when it is different from the Invoice date.

---

_[View the full topic](https://forum.manager.io/t/removing-due-date/11612)._
