Description
Add a "split shipping" $ value input box in the create reimbursement request form. This will allow users to set one value for shipping costs and it will divide itself across projects. It will do this by onSubmit creating a product called "Shipping" for each existing project, and this will have the value of the split shipping input divided by the number of projects.
Currently if users have shipping costs for a reimbursement request (ex: they ordered a bunch of different items at once) they have to manually split up the shipping cost between each project.
Notes
When the user clicks submit on the split shipping input, then the "Shipping" products are created. If the user then adds more projects after submitting, it won't automatically calculate splits and make another "Shipping" product. The user would have to delete the already added ones and click submit again for it to recalculate.
Should be only a frontend feature
Acceptance Criteria
Screenshots
Imagine there was a box right above total cost. If we inputted 9 dollars for shipping, then each project above would add a 3 dollar item labeled "Shipping" and the values would now read 13, 8, 23.
Description
Add a "split shipping" $ value input box in the create reimbursement request form. This will allow users to set one value for shipping costs and it will divide itself across projects. It will do this by onSubmit creating a product called "Shipping" for each existing project, and this will have the value of the split shipping input divided by the number of projects.
Currently if users have shipping costs for a reimbursement request (ex: they ordered a bunch of different items at once) they have to manually split up the shipping cost between each project.
Notes
When the user clicks submit on the split shipping input, then the "Shipping" products are created. If the user then adds more projects after submitting, it won't automatically calculate splits and make another "Shipping" product. The user would have to delete the already added ones and click submit again for it to recalculate.
Should be only a frontend feature
Acceptance Criteria
Screenshots
Imagine there was a box right above total cost. If we inputted 9 dollars for shipping, then each project above would add a 3 dollar item labeled "Shipping" and the values would now read 13, 8, 23.