US25: Add Invoice Details
Closed this issue · 1 comments
rstan-dev commented
As an Owner or Assigned person of a Job Card, I can add invoice details to a job card so that a financial record can be maintained
Acceptance criteria
- Given that I am the owner of a job - I will see the Add Invoice Details Button in the Job Card
- Given that I am the Assigned user of a job - I will see the Add Invoice Details Button in the Job Card
- Given that I am a logged in user, I can see placeholder information if no invoice details have been entered yet
Tasks
- Create Invoices model and serilaizer
- Create URLS path
- Add to Admin
- Create View with filter queryset
- Create AddInvoices Component
- Add and link button to AddInvoice page from Job Card
- Create handleSubmit and post invoice linked to a job to api
Story Points = 2
Modify Jobs and Comments Model in drf_api
rstan-dev commented
Ensure validation for customer email and phone number