GARAGE

Garage

Vehicle & fleet management

Garage / Workshop

Skryté / připravené části (§16)

Komentovaný kód, TODOs, abstrakce bez implementace, paralelní moduly mimo STP scope · GET /hidden-parts

Zrušené stavy (ServiceTicketStatusTypes.cs:11-25)

Common/ServiceTicketStatusTypes.cs ř. 11–25 — zrušené stavy (SIVA 2018-10-10)

  • Contacted = 2
  • WaitingForSparePart = 7
  • OperatorAssigned = 8

Komentované signatury (ServiceTicketController)

ZdrojSignaturaDemo
ServiceTicketController.cs:458SaveTicket([System.Web.Http.FromUri] ...)

Alternate binding — ticket id and scalar fields from query string instead of POST body.

501 — neimplementováno

POST /{ticketId} (body JSON only — FromUri variant not wired)

ServiceTicketController.cs:986SaveWorkTemplate(/* commented overload A */)

Legacy work-template save with different parameter shape (commented in source).

Aktivní varianta

POST /work-template

ServiceTicketController.cs:1019SaveWorkTemplate(/* commented overload B */)

Second commented overload — batch / code-keyed template import.

501 — neimplementováno

TODO / FIXME (ServiceTicketController)

  • ServiceTicketController.cs:46behavior

    TODO Technic can see other ticket?

    Technician profile (op-2) sees own tickets only via operatorId filter; cross-ticket view not decided.

  • ServiceTicketController.cs:97behavior

    TODO Technic can see other ticket?

    Same open question on list endpoint — filterTicketsByAuth + getListOperatorFilter.

  • ServiceTicketController.cs:109behavior

    TODO Technic can see other ticket?

    Repeated on detail/data route guard.

  • ServiceTicketController.cs:164behavior

    TODO Technic can see other ticket?

    Repeated on save/plan actions.

  • ServiceTicketController.cs:175refactor

    TODO FIX ME - prepravku na vstupni parametry

    Transport fields (transportKm, pricePerKm) accepted on ticket PATCH; dedicated DTO refactor not done.

  • ServiceTicketController.cs:392permission

    FIXME VVAJ >> permisison for user -> WT_ServiceTicketEnabled

    Implemented via canViewTicketList + WTPermissions.ServiceTicketEnabled in permissions.ts and router list gate.

Abstrakce bez implementace

ServiceTickets.Abstract/ICache.cs
Interface only — demo uses in-memory store, not ICache.
ServiceTickets.Model.Abstract/ITicketInternal.cs
NELZE OVĚŘIT — internal ERP surface not in delivered scope.

Paralelní moduly (mimo STP)

  • PaintingControllerlakováníPainting workflow
  • Painting2ControllerlakováníPainting workflow v2
  • TenderControllernabídková řízeníTender / bidding
  • ProductTransportControllerdoprava produktuProduct transport logistics
  • MaterialControllermateriálStandalone material catalog
  • ProductGroupControllerproduktové skupinyProduct grouping
  • StaticTextControllerlokalizaceStatic text admin (GetStaticText source)
  • SystemControllersystémSystem diagnostics
  • TestControllertestDev/test endpoints

GET /api/profi-garage/service-ticket/hidden-parts

POST /api/profi-garage/service-ticket/legacy/save-ticket-from-uri → 501

POST /api/profi-garage/service-ticket/legacy/save-work-template-batch → 501