Description
In the BOM table's "RR #" column, for materials that don't have a linked Reimbursement Request, display a "Create RR" button that navigates to the RR creation form with pre-filled data.
Acceptance Criteria
-
For materials without reimbursementRequestId: shows "Create RR" button in RR # column
-
Button styling is consistent
-
Clicking button navigates to the Reimbursement Request creation page
-
RR form is pre-filled with:
- Project selected as the category
- Material selected in the autocomplete
- Price pre-filled as quantity * unit price (if both fields exist)
- If quantity or price is missing, price field is left empty
-
User can modify any pre-filled values before submitting
-
Form validation still works normally