+
setInput(e.target.value)}
diff --git a/src/components/contractor/FinancialSummaryModal.jsx b/src/components/contractor/FinancialSummaryModal.jsx
index 198452a..7c8a22b 100644
--- a/src/components/contractor/FinancialSummaryModal.jsx
+++ b/src/components/contractor/FinancialSummaryModal.jsx
@@ -124,8 +124,11 @@ const FinancialSummaryModal = ({ isOpen, onClose, role, data }) => {
{/* Toolbar */}
))}
@@ -199,8 +202,8 @@ const FinancialSummaryModal = ({ isOpen, onClose, role, data }) => {
{item.status}
diff --git a/src/components/dashboard/AgentSelectionModal.jsx b/src/components/dashboard/AgentSelectionModal.jsx
index fce8ba9..534a87f 100644
--- a/src/components/dashboard/AgentSelectionModal.jsx
+++ b/src/components/dashboard/AgentSelectionModal.jsx
@@ -33,8 +33,11 @@ export const AgentSelectionModal = ({ isOpen, onClose, onSelect }) => {
{/* Search */}
+
{
);
};
-const InputGroup = ({ label, children }) => (
+const InputGroup = ({ label, children, htmlFor }) => (
-
+
{children}
);
@@ -256,6 +256,8 @@ const PropertyDetailDrawer = ({ isOpen, onClose, data, newLocation, onSave, load
// Helper for Inputs
const RenderInput = ({ label, field, type = "text", placeholder, options, locked = false }) => {
+ const inputId = `prop-${field}`;
+
if (!isEditing) {
return (
@@ -277,9 +279,11 @@ const PropertyDetailDrawer = ({ isOpen, onClose, data, newLocation, onSave, load
}
return (
-
+
{options ? (
) : (
setFormData({ ...formData, [field]: e.target.value })}
@@ -374,10 +380,10 @@ const PropertyDetailDrawer = ({ isOpen, onClose, data, newLocation, onSave, load
{/* Status Selector */}
{isEditing && (
-
-
+ Canvassing Status
+
{["Neutral", "Hot Lead", "Renovated", "Customer", "Not Interested"].map(s => (
-
+
))}
@@ -551,10 +557,12 @@ const PropertyDetailDrawer = ({ isOpen, onClose, data, newLocation, onSave, load
{/* SECTION 6: NOTES */}
- Field Notes
+
{isEditing ? (
|
{invoice.status}
diff --git a/src/pages/AdminSchedule.jsx b/src/pages/AdminSchedule.jsx
index 3577f87..e3f8c68 100644
--- a/src/pages/AdminSchedule.jsx
+++ b/src/pages/AdminSchedule.jsx
@@ -230,14 +230,20 @@ const AdminSchedule = () => {
Custom Range
+
setCustomDateRange(prev => ({ ...prev, start: e.target.value }))}
className="w-full px-2 py-1 text-xs bg-white dark:bg-zinc-900 border border-zinc-200 dark:border-zinc-700 rounded mb-2 text-zinc-900 dark:text-white"
placeholder="Start date"
/>
+
setCustomDateRange(prev => ({ ...prev, end: e.target.value }))}
@@ -272,9 +278,12 @@ const AdminSchedule = () => {
{availableStatuses.map(status => (
@@ -188,10 +190,10 @@ const CustomerProfile = () => {
Insurance Information
- { }} />
- { }} />
- { }} />
- { }} />
+ { }} />
+ { }} />
+ { }} />
+ { }} />
@@ -307,13 +309,15 @@ const ReadOnlyField = ({ label, value }) => (
);
-const FormInput = ({ label, icon: Icon, prefix, value, onChange, type = "text", required }) => (
+const FormInput = ({ id, name, label, icon: Icon, prefix, value, onChange, type = "text", required }) => (
-
+
{Icon && }
{prefix && {prefix}}
{
|