Skip to content

TASK-2026-00405:Implement check-in based OT calculation in Bureau Trip Sheet#1460

Merged
MhmdSinanKT merged 1 commit intodevelopfrom
TASK-2026-00405
Mar 26, 2026
Merged

TASK-2026-00405:Implement check-in based OT calculation in Bureau Trip Sheet#1460
MhmdSinanKT merged 1 commit intodevelopfrom
TASK-2026-00405

Conversation

@NaseeraVP
Copy link
Copy Markdown
Collaborator

Feature description

Need to:

  • Add Check-In Time field
  • Auto-fetch check-in from first record per day
  • Calculate total hours using check-in and ending time
  • Ensure consistency across same-day trip sheets
  • No changes to existing logic

Solution description

  • Added "Check-In Time" field to Bureau Trip Sheet
  • Implemented auto-fetch of Check-In Time from first Trip Sheet of the same date
  • Ensured single consistent check-in time across same-day Trip Sheets
  • Updated total hours calculation to use Check-In Time instead of Starting Time
  • Removed dependency on starting_date_and_time for OT calculation
  • Synced frontend and backend logic for accurate OT computation
  • Maintained existing functions without modification

Output screenshots (optional)

Screencast.from.26-03-26.04.11.31.PM.IST.webm

Areas affected and ensured

Bureau tripsheet

Is there any existing behaviour change of other features due to this code change?

No.

Was this feature tested on these browsers?

  • Chrome

@NaseeraVP NaseeraVP requested a review from MhmdSinanKT March 26, 2026 11:18
@MhmdSinanKT MhmdSinanKT merged commit a0c87a5 into develop Mar 26, 2026
@MhmdSinanKT MhmdSinanKT deleted the TASK-2026-00405 branch March 26, 2026 11:54
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

Successfully merging this pull request may close these issues.

2 participants