Commit Graph

9 Commits

Author SHA1 Message Date
m7amedez511
fa49ba8817 The client files, client address files, and order files have been modified to implement all CRUD operations and endpoints related to the archive. 2026-07-22 16:30:20 +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
m7amedez5511
0eebef3ba7 update client address add primary address and update client address , fixed profile page and update user layer 2026-07-13 17:21:42 +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
25f3468d74 chore: phase 1 lint/type fixes — commit all changes 2026-07-02 20:07:38 +03:00
m7amedez5511
eaae6810bd update client and client adresses pages also create branch pages and role pages and update some pages to be batter 2026-06-30 11:18:49 +03:00
m7amedez5511
0847bd23ee update order pages and create client pages also client adresses pages 2026-06-25 21:34:31 +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