From a2b299792ae3425129e7b2d55626eb0502e640e9 Mon Sep 17 00:00:00 2001 From: mohanmd Date: Tue, 23 Jun 2026 23:58:20 +0530 Subject: [PATCH] dashboard api for employer --- resources/js/Pages/Employer/Dashboard.jsx | 4 +--- resources/js/Pages/Employer/SelectedCandidates.jsx | 2 +- resources/js/Pages/Employer/Workers/Index.jsx | 2 +- resources/js/lang/en.json | 3 ++- 4 files changed, 5 insertions(+), 6 deletions(-) diff --git a/resources/js/Pages/Employer/Dashboard.jsx b/resources/js/Pages/Employer/Dashboard.jsx index fdfc23d..96506db 100644 --- a/resources/js/Pages/Employer/Dashboard.jsx +++ b/resources/js/Pages/Employer/Dashboard.jsx @@ -181,7 +181,6 @@ export default function Dashboard({
{t('total_hired_workers', 'Total Hired Workers')}
{stats.hired_count}
-
{t('direct_contracts', 'Direct contracts initiated')}
{t('track_active_staff', 'Track active staff')} @@ -200,9 +199,8 @@ export default function Dashboard({
-
{t('shortlisted_candidates', 'Shortlisted Candidates')}
+
{t('saved_workers', 'Saved Workers')}
{stats.shortlisted_count}
-
{t('bookmark_list', 'Bookmark list for interviews')}
{t('open_shortlist', 'Open shortlist book')} diff --git a/resources/js/Pages/Employer/SelectedCandidates.jsx b/resources/js/Pages/Employer/SelectedCandidates.jsx index 43ddc4c..db2de5b 100644 --- a/resources/js/Pages/Employer/SelectedCandidates.jsx +++ b/resources/js/Pages/Employer/SelectedCandidates.jsx @@ -22,7 +22,7 @@ import { DropdownMenuSeparator, DropdownMenuTrigger } from '@/components/ui/dropdown-menu'; -import FilterDrawer, { FilterSection, FilterSelect, FilterInput, FilterChips, FilterCheckboxList } from '../../Components/Employer/FilterDrawer'; +import FilterDrawer, { FilterSection, FilterSelect, FilterInput, FilterChips, FilterCheckboxList } from '../../components/Employer/FilterDrawer'; export default function SelectedCandidates({ selectedWorkers, diff --git a/resources/js/Pages/Employer/Workers/Index.jsx b/resources/js/Pages/Employer/Workers/Index.jsx index 3222068..0b6edb1 100644 --- a/resources/js/Pages/Employer/Workers/Index.jsx +++ b/resources/js/Pages/Employer/Workers/Index.jsx @@ -28,7 +28,7 @@ import { ShieldCheck, User } from 'lucide-react'; -import FilterDrawer, { FilterSection, FilterSelect, FilterInput, FilterChips, FilterCheckboxList } from '../../../Components/Employer/FilterDrawer'; +import FilterDrawer, { FilterSection, FilterSelect, FilterInput, FilterChips, FilterCheckboxList } from '../../../components/Employer/FilterDrawer'; const getLanguageFlag = (lang) => { const flags = { diff --git a/resources/js/lang/en.json b/resources/js/lang/en.json index f81c875..628a553 100644 --- a/resources/js/lang/en.json +++ b/resources/js/lang/en.json @@ -43,7 +43,8 @@ "total_hired_workers": "Total Hired Workers", "direct_contracts": "Direct contracts initiated", "track_active_staff": "Track active staff", - "shortlisted_candidates": "Shortlisted Candidates", + "shortlisted_candidates": "Saved Workers", + "saved_workers": "Saved Workers", "bookmark_list": "Bookmark list for interviews", "open_shortlist": "Open shortlist book", "discover_insights": "Discover Insights & Market Stats",