Add service

PENDING 8 hrs Medium 2024-08-01

User Story

  • System should allow user to log day to day service data.
  • System should add service transaction as normal transaction automatically.
  • System should allow user to add all service transaction at once.
  • Service transaction should be refundable.
  • Collect Basic Information.

Basic Information Need to be collected

  • Product Image
  • Product Name
  • Product Description
  • Product Brand
  • Product Make
  • Product Model
  • Product Serial Number
  • Problem
  • Service Engineer
  • Estimate Repair Cost
  • Actual Repair Cost
  • Service Date
  • Delivery Date
  • Service Status

REST API

JSON Structure

{
  "data": [
    {
      "id": "9678ad0f-b39f-4cd9-94c4-81fbf34b4c86",
      "createdAt": "2024-07-04T06:23:40.959Z",
      "updatedAt": "2024-07-04T08:19:32.187Z",
      "customer": {
        "id": "314352b7-4b22-425f-808d-df9b8be3b1c0",
        "createdAt": "2024-07-04T06:23:40.969Z",
        "updatedAt": "2024-07-04T06:23:40.969Z",
        "name": "Unknown ",
        "email": null,
        "phone": "9843766768",
        "alternatePhone": null,
        "whatsapp": null
      },
      "problem": "",
      "status": "CANCELLED",
      "resolution": "CAN_NOT_REPAIR",
      "priority": "MEDIUM",
      "date": "2024-07-03T06:22:00.000Z",
      "eta": "2024-07-03T06:22:00.000Z",
      "quote": "45000",
      "notes": "",
      "product": "Induction Stove ",
      "brand": "Butterfly ",
      "model": "Turbo Plus ",
      "make": "",
      "engineer": "48d7e6d7-10bf-4d48-a4f0-ca95d851b0c4",
      "images": [
        {
          "id": "ad62d058-61b5-4a7b-84f1-4c092ed64573",
          "createdAt": "2024-07-04T06:22:39.297Z",
          "updatedAt": "2024-07-04T06:22:39.297Z",
          "name": "1720074157547_17200741445868908218831799897672.webp",
          "url": "https://electrocis-prod-bucket.s3.ap-south-1.amazonaws.com/1720074157547_17200741445868908218831799897672.webp"
        }
      ]
    }
  ],
  "meta": {
    "total": 43,
    "limit": "1",
    "page": "1"
  }
}