Skip to content

TASK-2026-00360: add fuel and batta details and agrregations#1454

Merged
MhmdSinanKT merged 5 commits intodevelopfrom
create_batta_claim_bureau_ts
Mar 13, 2026
Merged

TASK-2026-00360: add fuel and batta details and agrregations#1454
MhmdSinanKT merged 5 commits intodevelopfrom
create_batta_claim_bureau_ts

Conversation

@ajmalroshan123
Copy link
Copy Markdown
Contributor

@ajmalroshan123 ajmalroshan123 commented Mar 12, 2026

Feature description

  1. Button to fetch bureau trip sheet in Monthly Consolidated Trip Sheet .
  2. Add fuel and batta related fields in Monthly Consolidated Trip Sheet and map the values .
  3. In Beams Accounts Settings add four fields , link it to service item (Batta, ot, fuel, rent) expense item.
  4. In supplier add a field to mark montly rent. and fetch it also in montly consolidated trip sheet.
  5. From Monthly Consolidated Trip Sheet feature to create purchase invoice.
  6. Task :- TASK-2026-00363

Solution description

instead of fetching trips sheet after save brought button to fetch related ones and mapped data from bureau trip sheet and aggregated .

  • Aggregate total_batta and total_ot_batta from details table after fetch and on validate
  • On fetch: set amount_received_driver per row from BTS settlement_journal_entries amount sum
  • Aggregate amount_received_driver into total_amount_received_driver (client + server)
  • Add Create Purchase Invoice button: popup with Bureau Trip Sheet Settings items and rates (batta, batta OT, fuel, rent); show lines in Frappe Table dialog; open new PI with data pre-filled (user saves manually)
  • Read expense items via frappe.db.get_single_value for Beams Accounts Settings

Output screenshots (optional)

image image image
Screencast.from.13-03-26.11.18.29.AM.IST.webm

Was this feature tested on these browsers?

  • Chrome

@MhmdSinanKT
Copy link
Copy Markdown
Contributor

@ajmalroshan123 add screenshots/recordings of the new actions/flow

@MhmdSinanKT MhmdSinanKT merged commit 9d42432 into develop Mar 13, 2026
@MhmdSinanKT MhmdSinanKT deleted the create_batta_claim_bureau_ts branch March 13, 2026 10:40
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