{user?.username}
-{user?.roles?.[0]?.name || 'No Role'}
+{user?.roles?.[0]?.name || 'User'}
+ Warning: This will permanently delete all selected parts +
++ This action cannot be undone. Associated images and datasheets will also be deleted. +
+- This part is missing required information for enrichment from{' '} +
+ Please fill in the required information to enrich from{' '} {requirementCheck.supplier_name}:
-+ {check.validation_message} +
+ )} ++
Suggestions:
Loading tool details...
+Tool #{tool.tool_number}
+ )} + {(tool.manufacturer || tool.model_number) && ( ++ {tool.manufacturer && tool.model_number + ? `${tool.manufacturer} - ${tool.model_number}` + : tool.manufacturer || tool.model_number} +
+ )} +Product URL
+ +Checkout Status
+Location
+Categories
+Purchase Date
+Purchase Price
+Last Maintenance
+Next Maintenance
+Maintenance Notes
+{tool.maintenance_notes}
++ Since {formatDate(tool.checked_out_at)} +
+ )} ++ Checked out by: {tool.checked_out_by} +
+ {tool.checked_out_at && ( ++ Since {formatDate(tool.checked_out_at)} +
+ )} + {tool.expected_return_date && ( ++ Expected return: {formatDate(tool.expected_return_date)} +
+ )} +{tool.description}
+{key}
+{String(value)}
+No maintenance records yet
+ ) : ( +{record.notes}
+ )} +Tool not found
+Loading...
+ā¹ļø As an admin, you can change this user's password without their current password. @@ -243,8 +275,8 @@ const EditUserModal = ({
- Default credentials: admin / Admin123! -
-Manage your tools and equipment
+{error}
++ {searchTerm + ? 'No tools match your search criteria.' + : 'Start by adding your first tool to the inventory.'} +
+ {!searchTerm && ( +| + Status + | ++ Manufacturer + | ++ Location + | ++ Checked Out + | ++ Next Maint. + | ++ Actions + | +||||
|---|---|---|---|---|---|---|---|---|---|
|
+ {tool.image_url ? (
+
+
+ ) : (
+ getStatusIcon(tool)
+ )}
+ |
+
+
+
+ {tool.description && (
+
+ {tool.description}
+
+ )}
+ |
+
+ {tool.tool_number ? (
+
+
+ {tool.tool_number}
+
+
+ ) : (
+ '-'
+ )}
+ |
+
+ {tool.manufacturer ? (
+
+
+ ) : (
+ '-'
+ )}
+ {tool.manufacturer}
+ {tool.model_number && (
+ {tool.model_number}
+ )}
+ |
+ + + {tool.condition.charAt(0).toUpperCase() + tool.condition.slice(1)} + + | +
+
+ {tool.location?.name || '-'}
+
+ |
+
+ {tool.checked_out_by ? (
+
+
+ ) : (
+ '-'
+ )}
+ {tool.checked_out_by}
+ {tool.checked_out_at && (
+
+ Since {formatDate(tool.checked_out_at)}
+
+ )}
+ |
+
+ {tool.next_maintenance_date ? (
+
+
+ ) : (
+ '-'
+ )}
+ |
+ + {formatDate(tool.created_at)} + | +
+
+
+ |
+