Wordpress/Memberpress - Custom page - Bug Fixes Required

Job ID: 31630537

Budget: £50 – £100 GBP

Hi, I have a wordpress website with a membership area controlled by Memberpress.

I've developed some code for a bespoke page within a Membership area where users complete checkboxes + input boxes each week in a 'Planner', which saves to a DB.

I have a few bugs i need fixing:

> Bug 1 = Input text boxes - Not saving correctly .on('focusout', function ()
(Sometimes the input box saves, other times it doesn't?)
-> Possible fix: Check focusout code for bugs to fix.
-> Possible fix: Develop SAVE button to capture all and save to DB

Bug 2 = Require Week to start at 00:01 Monday
( The Planner refreshes each week, and presents the user with an empty planner. Currently my issue is that this starts the new week at Sunday 12pm -- I Need this set to Sunday 23:59 )

Bug 3 = On a separate page 'Archive', the user can access previous planners based on a weekly links.
-> I require new code to show users previous weeks of inputted data from the planner.
IE: ..../planner/?date=2021-09-12

( The user can see their planner that they filled out the previous week, as it was, on the final moments (sunday 23:59) -- The user needs to be able to see all previous weeks they have currently been a member for. )

For this i need code written to: - Check when user signed up / And show previous weeks they have inputted date for.
IE = If user has been signed up for 2 weeks, they get shown 2 links: Planner 26/09/2021 / Planner 19/09/2021

---

Majority of the code written, just require bug fixes + this extra 'Archive system' code.
Written in SQL, PHP, jQuery.
Related categories: PHP WordPress MySQL jQuery