diff --git a/client/src/App.css b/client/src/App.css index a69d0ae..100fd96 100644 --- a/client/src/App.css +++ b/client/src/App.css @@ -1209,6 +1209,17 @@ input[type="checkbox"] { transform: translate(-50%, -50%); } +.clock-sm { + width: 50px !important; + height: 50px !important; + border-width: 2px !important; +} + +.clock-sm .center-dot { + width: 5px; + height: 5px; +} + .weather-icon { display: flex; justify-content: center; diff --git a/client/src/components/admin-view/AdminView.js b/client/src/components/admin-view/AdminView.js index d05c80a..676b713 100644 --- a/client/src/components/admin-view/AdminView.js +++ b/client/src/components/admin-view/AdminView.js @@ -1,8 +1,6 @@ import React, { useState, useEffect } from 'react'; import { Breadcrumb, BreadcrumbItem, Card, Row, Col } from 'react-bootstrap'; import { AuthService, CustomerService, TransRoutesService } from '../../services'; -import DatePicker from 'react-datepicker'; -import 'react-datepicker/dist/react-datepicker.css'; import moment from 'moment'; import { CUSTOMER_TYPE, PERSONAL_ROUTE_STATUS, CUSTOMER_JOIN_REASON, CUSTOMER_JOIN_REASON_TEXT, CUSTOMER_DISCHARGE_REASON, CUSTOMER_DISCHARGE_REASON_TEXT } from '../../shared'; import { @@ -33,7 +31,6 @@ ChartJS.register( const AdminView = () => { const [isLoading, setIsLoading] = useState(true); - const [reportDate, setReportDate] = useState(new Date()); const [customers, setCustomers] = useState([]); const [selectedWeek, setSelectedWeek] = useState('this-week'); const [selectedMonth, setSelectedMonth] = useState('this-month'); @@ -659,8 +656,8 @@ const AdminView = () => { {/* First Section - No border */}
- {/* Left Side - 9 columns */} - + {/* Main Content - Full Width */} + {/* First Row - Stats Card */} @@ -830,22 +827,6 @@ const AdminView = () => { - {/* Right Side - 3 columns */} - - - -
-
Reports
- setReportDate(date)} - dateFormat="MM/dd/yyyy" - className="form-control form-select-sm ms-2" - /> -
-
-
-
diff --git a/client/src/components/customers/UpdateCustomer.js b/client/src/components/customers/UpdateCustomer.js index 2e07d1b..b22a48a 100644 --- a/client/src/components/customers/UpdateCustomer.js +++ b/client/src/components/customers/UpdateCustomer.js @@ -161,7 +161,7 @@ const UpdateCustomer = () => { } const redirectToView = () => { - navigate(`/customers/${urlParams.id}`); + navigate(`/customers/${urlParams.id}?tab=${activeTab}`); } // Phone number formatting function @@ -1273,7 +1273,7 @@ const UpdateCustomer = () => {
- + {/* */}
@@ -1358,7 +1358,7 @@ const UpdateCustomer = () => {
- + {/* */}
@@ -1495,7 +1495,7 @@ const UpdateCustomer = () => {
- + {/* */}
@@ -1525,7 +1525,7 @@ const UpdateCustomer = () => {
- + {/* */}
@@ -1579,7 +1579,7 @@ const UpdateCustomer = () => {
- + {/* */}
@@ -1684,7 +1684,7 @@ const UpdateCustomer = () => {
- + {/* */}
@@ -1716,7 +1716,7 @@ const UpdateCustomer = () => {
- + {/* */}
diff --git a/client/src/components/dashboard/Dashboard.js b/client/src/components/dashboard/Dashboard.js index fd82ed3..3277be6 100644 --- a/client/src/components/dashboard/Dashboard.js +++ b/client/src/components/dashboard/Dashboard.js @@ -23,7 +23,7 @@ const Dashboard = () => { const eventTypes = [ { value: 'medical', label: 'Medical Appointments' }, { value: 'activity', label: 'Activities' }, - { value: 'incident', label: 'Important Notes And Incidents' }, + { value: 'incident', label: 'Attendance' }, { value: 'meal_plan', label: 'Meal Plan' }, { value: 'reminder', label: 'Important Dates' } ]; diff --git a/client/src/components/info-screen/InfoScreen.js b/client/src/components/info-screen/InfoScreen.js index 7b2fb66..7e2fe87 100644 --- a/client/src/components/info-screen/InfoScreen.js +++ b/client/src/components/info-screen/InfoScreen.js @@ -675,22 +675,22 @@ const InfoScreen = () => { {/* Time Card */}
-
-
+
+
{moment(currentTime).format('dddd')}
{moment(currentTime).format('MMM Do, YYYY')}
-
+
{moment(currentTime).format('HH:mm')}
{/* CSS Clock */} -
-
+
+
{ {/* Weather Card */}
-
-
+
+
New York, NY
Partly Cloudy
-
+
22°C
{/* Weather Icon */} -
- +
+
diff --git a/client/src/components/trans-routes/PersonnelInfoTable.js b/client/src/components/trans-routes/PersonnelInfoTable.js index ff57242..c6ff5e1 100644 --- a/client/src/components/trans-routes/PersonnelInfoTable.js +++ b/client/src/components/trans-routes/PersonnelInfoTable.js @@ -943,7 +943,7 @@ const PersonnelInfoTable = ({transRoutes, showCompletedInfo,
closeModal()}> - Special Edit Participant + Special Edit Customer <> @@ -984,7 +984,7 @@ const PersonnelInfoTable = ({transRoutes, showCompletedInfo,
-
Special Set User Route Status +
Special Set Customer Route Status
-
Special Set User Pickup Status +
Special Set Customer Pickup Status