rstan-dev/GarageGuru-PP5

US25: Add Invoice Details

Closed this issue · 1 comments

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

  1. Given that I am the owner of a job - I will see the Add Invoice Details Button in the Job Card
  2. Given that I am the Assigned user of a job - I will see the Add Invoice Details Button in the Job Card
  3. 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

Ensure validation for customer email and phone number