Commit Graph

7 Commits

Author SHA1 Message Date
m7amedez511
e42252db47 cheange inlien code to block code and using tamplet 2026-07-22 17:09:15 +03:00
m7amedez5511
d23866d7fc make header one in all page 2026-07-19 16:20:11 +03:00
m7amedez5511
538111d726 fix: resolve permission fallback bug, remove debug code, and cleanup duplication
Logic Errors
------------
- Sidebar: fix permissions fallback so a user with no permissions gets
  zero access instead of falling back to the full nav list
  (user?.permissions ?? [] instead of ?? navSections.flatMap(...))
- carMaintanance.service / UseCarsMaintanance: add pagination to the
  maintenance records fetch instead of loading the entire list at once
- api.ts: redact sensitive fields (password, token) before logging the
  request body in console.debug, to avoid leaking credentials/PII

Code Flow Problems
-------------------
- OrderFormModal: remove leftover console.log/debug statements and the
  redundant onClick handler on the submit button
- auth: remove the unused src/service/auth.service.ts (axios) and keep
  only src/services/auth.service.ts (fetch); fix useAuth.ts import path
  from
2026-07-19 14:57:48 +03:00
m7amedez1122
a7e53f2047 add archive featcher to role , brtanch , car_mainte also update client and clien_addres create car mainte fails and update car fails delete car_maint from saidbar and but it in car model also update car image display 2026-07-06 17:41:12 +03:00
m7amedez5511
c33778012a add archive layout pages to user car driver trip order 2026-06-30 17:35:18 +03:00
m7amedez5511
db64b79fe3 first action update user pages .
2-update driver pages [fixed image display and notyfi]
3-update car pages [fixed image]
4-build tripe pages crud
5-build some role pages
6-build audit page
7-update ui compounants
8-update saidebar and topbar
9-cheange view to be ar view
10-cheange stractcher to be app,src
11-add validation layer by yup
12-add api image-proxy to broke image corse bloken
2026-06-23 15:54:07 +03:00
m7amedez5511
c1b77f89cd finsh user,car,driver pages also add validator layer to app build trip page 2026-06-18 16:51:31 +03:00