Description
To create a new policy for an existing customer
Steps to Reproduce
1- Click Policies Drop Down 2- Click All Policies 3- Click Add New Policy 4- Fill Details 5- Click Create Policy
Expected Result
New Policy Creates Successfully
Actual Result
Under the customer and product bar, It kept wiping off the information in the customer and product tab
Attachments
WhatsApp Image 2025-09-25 at 13.26.17_e2a0660d.jpg
File not found
Developer Resolution Notes
Fixed validation field name mismatches in PolicyController store method. Changed start_date→commencement_date, end_date→maturity_date, status→policy_status, coverage_amount→sum_assured. Added withInput() to preserve form data on validation errors.
Additional Comments (Tester Notes)
1. When entering data for CUSTOMER and PRODUCTS, a drop down should appear listing the customers and products that tally with the input being entered. 2. Commas should automatically be included when inputting figures. 3. When previewing an existing policy, it shows the beneficiaries and the % allotted to them. However, when filling out the form to create a new policy, there is no place to input the percentage of sharing information. Also, you can't add more beneficiaries.
Bug Details
- Priority
- High
- Severity
- High
- Module
- Create New Policy
- Browser
- Chrome Version 140.0.7339.208
- Operating System
- Windows 10
- Reported By
- Admin User
- Reported At
- Sep 25, 2025 at 12:26 PM
Update Status
Additional Comments
Use this section to add testing notes, additional context, or follow-up information.
Quick Actions
Danger Zone
Once you delete a bug, there is no going back. Please be certain.