Create a UI and functionality based on the image below.
CSS styling does not have to be identical, but it should look nice.
Todo:
- Use input.json as global state in vuejs (vuex optional)
- When button "Line Item" is clicked add new empty rows to "items" global state
- Some of the fields or text are computed (see below list)
- Add a submit button at end, when clicked "console.log(global state)"
- All the input form values need to live in global state
Computed property:
- Amount in each line item
- Subtotal
- Total
- Balance Due
Utilize vue cli or even a laravel application; however, ensure that a build tool is used. Finally, submit source code privately (Make sure your answer is not public)