Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sending an invoice sets the wrong "sent date" #861

Closed
justsomebody42 opened this issue Aug 22, 2019 · 2 comments
Closed

Sending an invoice sets the wrong "sent date" #861

justsomebody42 opened this issue Aug 22, 2019 · 2 comments
Assignees
Labels
Milestone

Comments

@justsomebody42
Copy link

justsomebody42 commented Aug 22, 2019

Steps to reproduce the issue

Create a draft invoice.
Wait at least one day.
Go to invoice detail screen
Press "mark as sent"

Expected result

Sent date of invoice matches the date of the day, when the button "mark as sent" has been pressed.

Actual result

Sent date of invoice matches the created date.

System information (Akaunting, PHP versions)

Akaunting Version 1.3.17

Additional comments

image

@denisdulici
Copy link
Member

That's right, it uses the created_at field as there is no sent_at field.

@justsomebody42
Copy link
Author

Wouldn't it be better to use the current date?
The purpose for drafts is to create them prior to sending them and probably send them days later.
I would assume that the date is correct, if an invoice is sent by akaunting itself, but as the templates are currently unusable for me, I need to send them separately and hit the "mark as sent" button, when I did.

@cuneytsenturk cuneytsenturk added this to the 2.0.8 milestone Mar 25, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants