feat: Implement business client list view and add client

This commit is contained in:
dhinesh-m24
2026-02-04 14:04:26 +05:30
parent d3378e4822
commit d373fbe269
5 changed files with 677 additions and 1 deletions

View File

@@ -12,7 +12,9 @@ import PublicLayout from './features/layouts/PublicLayout';
import StaffList from './features/workforce/directory/StaffList';
import EditStaff from './features/workforce/directory/EditStaff';
import AddStaff from './features/workforce/directory/AddStaff';
import ClientList from './features/business/clients/ClientList';
import EditClient from './features/business/clients/EditClient';
import AddClient from './features/business/clients/AddClient';
/**
* AppRoutes Component
* Defines the main routing structure of the application.
@@ -81,6 +83,10 @@ const AppRoutes: React.FC = () => {
<Route path="/staff" element={<StaffList />} />
<Route path="/staff/add" element={<AddStaff />} />
<Route path="/staff/:id/edit" element={<EditStaff />} />
{/* Business Routes */}
<Route path="/clients" element={<ClientList />} />
<Route path="/clients/:id/edit" element={<EditClient />} />
<Route path="/clients/add" element={<AddClient />} />
</Route>
<Route path="*" element={<Navigate to="/login" replace />} />
</Routes>