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

Date inputs update in relation to admin payment term settings #2182

Merged
merged 9 commits into from Jul 8, 2021
Merged

Date inputs update in relation to admin payment term settings #2182

merged 9 commits into from Jul 8, 2021

Conversation

bengu-thon-mai-mochi
Copy link
Contributor

Whenever user start date input was given after the previously selected due date , the ui for calendar was broken. In this commits, I fixed this bug by setting up correct v-model updated with a new watcher and method. This watcher follows an object with unique property in date group component's instance for due date. It's because this property is being specifically updated by input change event in the responding blades.

Moreover, there is an enhancement regarding the date components. Now, the due date input is in sync with user's settings payment terms.

This changes applies to create and edit views for reconciliations, invoices and bills.

The bug:

Screen Shot 2021-07-08 at 10 06 03

Bug Fix and Enhancement
Screen Shot 2021-07-08 at 09 49 13
Screen Shot 2021-07-08 at 09 49 30
Screen Shot 2021-07-08 at 09 49 24

@cuneytsenturk cuneytsenturk added this to the 2.1.20 milestone Jul 8, 2021
@cuneytsenturk cuneytsenturk merged commit 281f3c5 into akaunting:master Jul 8, 2021
@bengu-thon-mai-mochi bengu-thon-mai-mochi deleted the datepicker-should-adjust-due-date branch July 12, 2021 13:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants