feature/IO-3255-simplified-parts-management - Beef Up Change Request Parser, add Change Request documentation data

This commit is contained in:
Dave
2025-08-18 14:13:16 -04:00
parent 6f19c1dd3f
commit 951d214d49
5 changed files with 72 additions and 12 deletions

View File

@@ -212,6 +212,10 @@ export function ScheduleCalendarHeaderComponent({ bodyshop, label, refetch, date
return bodyshop.workingdays[day];
};
const blocked = isDayBlocked.length > 0;
const headerStyle = blocked ? { color: "#fff" } : { color: isShopOpen(date) ? "" : "tomato" };
const headerClass = `imex-calendar-header-card ${blocked ? "imex-calendar-header-card--blocked" : ""}`.trim();
return (
<div className="imex-calendar-load">
<ScheduleBlockDay alreadyBlocked={isDayBlocked.length > 0} date={date} refetch={refetch}>