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

Incorrect Billing Input Allowed on Django Admin Page #1821

Open
edwintorres opened this issue Oct 24, 2024 · 0 comments
Open

Incorrect Billing Input Allowed on Django Admin Page #1821

edwintorres opened this issue Oct 24, 2024 · 0 comments

Comments

@edwintorres
Copy link
Member

Description

In the regular Tock UI, billable projects are correctly restricted to submitting timecards based on their designated billing type (hours for hourly projects, percentage for weekly projects). However, on the Django Admin Page, users can modify timecards for all projects and are able to enter either hours or percentage, regardless of the project’s designated billing type.

Impact

There have been instances where users have mistakenly requested hourly updates for projects billed on a weekly basis. BizOps POCs making these changes in admin mode were able to submit these requests due to both options (percentage and hours) being available, leading to incorrect billing submissions.

Steps to Reproduce

  • Navigate to the Django Admin Page.
  • Modify a timecard for a project that is billed on a weekly basis.
  • Observe that both the hours and percentage fields are editable, allowing submission of incorrect billing data.

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant