Support #10462
openCustomer bill validation, PCA Phase 1 meter auto-fill & document fixes (frontend + backend)
100%
Subtasks
Related issues
Updated by Ramu Kodali 29 days ago
- Status changed from New to Resolved
- % Done changed from 0 to 100
Today I worked across the customer, quotation and project modules on the electricity-bill workflow. On the customer side, the uploaded bill now keeps its original file name instead of being renamed when the power company is changed, replacing an existing bill asks for confirmation and a reason (the reason is now correctly sent to the API, which was previously being dropped and causing the "A reason is required to replace the uploaded power bill" error), and the name printed on the uploaded bill is verified against the customer's first/last name with a warning when they don't match. The same power-company selection and replace flow was added to Edit Quotation, which previously had no option to change the bill type. In Projects, I fixed the Site Assessment WattMonk upload so the scanning loader appears immediately instead of after the upload finishes, corrected the Plan Set stage (the "Alternate Plan Set" section no longer auto-fills with the existing power bill, and the uploaded document no longer appears twice), made the PCA Phase 1 Meter Number populate from the customer's bill, and made the PVWatts report stay attached with preview/replace/delete plus visibility in Project Activity. On the backend, I fixed the utility bill parser — the PECO electric meter number was never being extracted (returning null, so the form fell back to a wrong meter from the plan set) and the customer name was not being read on PSE&G and JCP&L bills — and added a new API for the bill-name verification. All parsing logic was verified against real PECO, PSE&G, JCP&L and Atlantic City Electric bills, including a joint-account bill.
If you'd prefer bullets for a status report:
Customer: bill keeps original filename; replace confirmation + reason (fixed reason not reaching API); name-on-bill vs entered name verification
Quotation: power company change/replace flow added to Edit Quotation
Site Assessment: scanning loader now shows immediately on WattMonk upload
Plan Set: no auto-fill of power bill in Alternate Plan Set; removed duplicate document row
PCA Phase 1: Meter Number auto-populated from the bill (electric meter only)
PVWatts: report is retained with preview/replace/delete and shows in Project Activity
Backend: PECO meter number + PSE&G/JCP&L customer name extraction fixed; new bill-name verification API
Testing: verified against real PECO, PSE&G, JCP&L, ACE bills incl. a joint account