Russian  English  All projects

Add functionality for the script



There is a script in php, everything is written poorly, for various reasons. consists of an admin panel and a clients website
needs to make edits. If youre not sure you dont need it.

Target 1.
there is no correspondence of real users who are on the site and the display of the counter in the admin panel
as far as I understand the query Query executin SELECT COUNT(d.id) FROM sessions AS d LEFT JOIN landigs

the second task
1. Create a reference book "Assistants". The right to add, delete, edit data only from the super admin, you can make a sub.tab or a button in the TOTAL tab of step 2.
2. Create a TOTAL tab that only the super admin can see.
in it we output data, sorted by the range of the calendar to display all

09.12.2022
Assistant1 (admin panel user) - 0 payments (next to the "Write off" button)
Assistant2 (user of the admin panel) - 0 payments (next to the "Write off" button)
Assistant3 (user of the admin panel) - 0 payments (next to the "Write off" button)

10.12.2022
Assistant1 (admin panel user) - 0 payments (next to the "Write off" button)
Assistant2 (user of the admin panel) - 0 payments (next to the "Write off" button)
Assistant3 (user of the admin panel) - 0 payments (next to the "Write off" button)

the "Write off" button means erases the data in the database for the user, for the selected period.

3. User, clicking on edit in the admin panel, sees the select "assistants" field. see screenshot 1.
3.1. When choosing an assistant and clicking on save, the assistant can no longer be changed by a user, only a super admin can now change it.
3.2. when selecting the status "Paid", see screenshot2, the user is obliged to choose an assistant (you can highlight the select).

and the third simplest task, on the clients website, to make a selection of switching languages over the text, to js. texts will all be loaded immediately on the page, just switched.

the subject is not for the guardians of morality. and
10.12.2022 18:13



 Answers freelancers