Repository navigation
feat: guided construction flow from BOQ to invoice - #14
Merged
Merged
Conversation
Status was a free-text Select editable after submit, so users could jump straight to "Awarded" (which unlocks Create > BF Contract) or move a rejected tender back. - Make Status read-only; show it in list view and standard filters - New tenders always start as Draft; Submit sets Submitted - Add Status actions on submitted tenders: Submitted -> Under Evaluation / Rejected Under Evaluation -> Awarded / Rejected - Server-side set_status validates the transition and submit permission, and logs the change as a comment Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Submitting a tender means it has been awarded, so drop the separate Status actions and set_status endpoint. Status stays read-only: Draft on save, Awarded on submit. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- Add field descriptions a non-engineer can follow (contingency, retention, totals, submittals, contract type, parties) - Split Contract Reference into three columns: references, amounts entered, calculated totals Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- Submittal status is now Pending / Approved / Rejected (drop Submitted) - Submittals table, status and attachment stay editable after the contract is submitted, so documents can be tracked as they arrive - Attachment is required before a row is marked Approved or Rejected, enforced in the form and on the server Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- Add Connections tab to Tender, Variation Order, Site Mobilization, Site Measurement Log and Mobilization Template - Link documents both ways: BOQ <-> Tender <-> Contract, Contract -> mobilization, measurements, variations, subcontracts, progress claims, sales invoices; Progress Claim -> its variation orders - Fix Contract dashboard pointing to non-existent "BF Measurement Log" - Fix BOQ procurement links to use bf_boq on Material Request, Purchase Order, Purchase Receipt and Purchase Invoice Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Add Create > Site Measurement Log on a submitted BF Contract, shown once its Site Mobilization is submitted. The new log is pre-filled with the contract, project, BOQ and today's date. The server blocks creation when no submitted mobilization exists. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The server looks the claim up by name, so the action failed on a new, unsaved claim. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- Measurement rows: explain No., Length, Width and Height - Progress claim rows: explain unit rate and previous / this period / cumulative quantities and values Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- Remove VAT %, VAT Amount and Total Certified (Incl. VAT) from BF Progress Claim; the claim now ends at Net Amount Due (Excl. VAT) - Sales / Purchase Invoices made from a claim apply the company's default tax template, so VAT is calculated by ERPNext - Drop the VAT rows from the FIDIC IPC Certificate print format - Remove the leftover default VAT entry from Construction Settings - Add plain-language help to the claim's financial summary Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- Add Get Items From > BF Bill of Quantities on Material Request. When the request is already linked to a BOQ (opened from the BOQ), items are pulled straight from it; otherwise a BOQ picker is shown - Only stock items still left to request are added, linked to their BOQ line and project; pulling twice does not duplicate rows - Keep Requested Qty on BOQ lines up to date on Material Request submit and cancel - Warn when a request asks for more than is left on a BOQ line Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
These changes make the construction flow easier to follow from start to finish:
BOQ → Tender → Contract → Mobilization → Measurement → Progress Claim → Invoice
Each step can now be created from the step before it, every document links back and forth, and the forms explain their fields in plain language.
Changes
Tender
Bill of Quantities
Material Request
Contract
Measurement Log / Progress Claim
Navigation
bf_boq).Testing
Each change was tested on a local v15 site against real BOQ / Tender / Contract / Claim records, with test data rolled back:
Notes
🤖 Generated with Claude Code