# Possible to change invoice date to date?

**URL:** <https://forum.manager.io/t/possible-to-change-invoice-date-to-date/7779>\
**Category:** Uncategorized\
**Created:** [November 21, 2016, 4:49pm UTC](https://forum.manager.io/t/possible-to-change-invoice-date-to-date/7779 "2016-11-21T16:49:15Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![ramesh492](https://avatars.discourse-cdn.com/v4/letter/r/77aa72/32.png) [@ramesh492](https://forum.manager.io/u/ramesh492)\
**Post date:** [November 21, 2016, 4:49pm UTC](https://forum.manager.io/t/possible-to-change-invoice-date-to-date/7779/1 "2016-11-21T16:49:15Z")

</div>

![](https://us1.discourse-cdn.com/flex019/uploads/manager1/original/2X/6/690f04137d9f90e40f5a2e432b394baa2fbb11be.jpg)  
is it possible to change the invoice date to just date ?

If possible how ? i checked the html still dont get anything related to that

---

<div class="post-metadata">

**Author:** ![Tut](https://sea1.discourse-cdn.com/flex019/user_avatar/forum.manager.io/tut/32/3286_2.png) [@Tut](https://forum.manager.io/u/Tut)\
**Post date:** [November 21, 2016, 4:56pm UTC](https://forum.manager.io/t/possible-to-change-invoice-date-to-date/7779/2 "2016-11-21T16:56:55Z")

</div>

You would have to do this with an if-test embedded in the for-loop that cycles through field labels in the header information table. When the Invoice Date label came up, you would substitute your alternate text. I would suggest that if this approach was not already obvious to you, you may need to obtain help from someone proficient in Liquid coding.

---

<div class="post-metadata">

**Author:** ![d3mad](https://sea1.discourse-cdn.com/flex019/user_avatar/forum.manager.io/d3mad/32/3963_2.png) [@d3mad](https://forum.manager.io/u/d3mad)\
**Post date:** [November 22, 2016, 4:06am UTC](https://forum.manager.io/t/possible-to-change-invoice-date-to-date/7779/3 "2016-11-22T04:06:43Z")

</div>

I have provided my answer below, but I am curious as to why you don’t want invoice date on the invoice. It would usually be more pertinent to have an “invoice date” as opposed to a simple “date” only field which has no relationship to anything. I know I would be asking: Is it the invoice date? invoice printed date? Invoice Entered date? Date the service was provided? It would be ambiguous without it, but realising you must have a use case for it:

What @Tut says is correct, the “best” way to do it is as described and I’m only a hack programmer and so for things like this I can take a shortcut (and not that I think that this is a bad shortcut), but you only need to make one small change to one line in the theme (it looks like you’re using the default theme.

Bring up a view of your invoice, select edit theme, go to line 18 (for me, I’d assume the same for you) and where you see:

```
                    <div style="font-weight: bold">{{ field.label }}</div>

```

change it to:

```
                    <div style="font-weight: bold">{{ field.label | replace: "Invoice date", "Date" }}</div>

```

You don’t _really_ need to do any tests to see if it’s the right field because the replace command will only replace the first text with the second text. If the first text is not found, the original text is displayed in it’s place.

You don’t need to create a loop for it since that’s already done on the theme template itself

Here’s an example of what’s printed using the code from above:

![](https://us1.discourse-cdn.com/flex019/uploads/manager1/original/2X/4/4f8c3eda5fb5663c0a4788d1a601fc317e37cc15.png)

---

<div class="post-metadata">

**Author:** ![ramesh492](https://avatars.discourse-cdn.com/v4/letter/r/77aa72/32.png) [@ramesh492](https://forum.manager.io/u/ramesh492)\
**Post date:** [November 23, 2016, 4:50pm UTC](https://forum.manager.io/t/possible-to-change-invoice-date-to-date/7779/4 "2016-11-23T16:50:36Z")

</div>

proved to be a genius !  
Worked perfectly  
Thank you

---

<div class="post-metadata">

**Author:** ![Ealfardan](https://sea1.discourse-cdn.com/flex019/user_avatar/forum.manager.io/ealfardan/32/63166_2.png) [@Ealfardan](https://forum.manager.io/u/Ealfardan)\
**Post date:** [January 18, 2023, 3:30pm UTC](https://forum.manager.io/t/possible-to-change-invoice-date-to-date/7779/5 "2023-01-18T15:30:13Z")

</div>

Closed on January 18, 2023, 3:30pm UTC


