Skryté / připravené části (§16)
Komentovaný kód, TODOs, abstrakce bez implementace, paralelní moduly mimo STP scope · GET /hidden-parts
Signed in as Workshop admin (all tickets, full edit, delete) · all tickets
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)
| Zdroj | Signatura | Demo |
|---|---|---|
| ServiceTicketController.cs:458 | SaveTicket([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:986 | SaveWorkTemplate(/* commented overload A */)Legacy work-template save with different parameter shape (commented in source). | Aktivní varianta POST /work-template |
| ServiceTicketController.cs:1019 | SaveWorkTemplate(/* commented overload B */)Second commented overload — batch / code-keyed template import. | 501 — neimplementováno |
TODO / FIXME (ServiceTicketController)
ServiceTicketController.cs:46behaviorTODO Technic can see other ticket?
Technician profile (op-2) sees own tickets only via operatorId filter; cross-ticket view not decided.
ServiceTicketController.cs:97behaviorTODO Technic can see other ticket?
Same open question on list endpoint — filterTicketsByAuth + getListOperatorFilter.
ServiceTicketController.cs:109behaviorTODO Technic can see other ticket?
Repeated on detail/data route guard.
ServiceTicketController.cs:164behaviorTODO Technic can see other ticket?
Repeated on save/plan actions.
ServiceTicketController.cs:175refactorTODO FIX ME - prepravku na vstupni parametry
Transport fields (transportKm, pricePerKm) accepted on ticket PATCH; dedicated DTO refactor not done.
ServiceTicketController.cs:392permissionFIXME 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 workflowPainting2Controllerlakování — Painting workflow v2TenderControllernabídková řízení — Tender / biddingProductTransportControllerdoprava produktu — Product transport logisticsMaterialControllermateriál — Standalone material catalogProductGroupControllerproduktové skupiny — Product groupingStaticTextControllerlokalizace — Static text admin (GetStaticText source)SystemControllersystém — System diagnosticsTestControllertest — Dev/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