diff --git a/components/calendar/ShiftComponent.tsx b/components/calendar/ShiftComponent.tsx index 4c33858..99e4976 100644 --- a/components/calendar/ShiftComponent.tsx +++ b/components/calendar/ShiftComponent.tsx @@ -193,7 +193,7 @@ function ShiftComponent({ shift, onShiftSelect, isSelected, onPublisherSelect, a return (
handlePublisherClick(ass.publisher)}> {publisherInfo.firstName} {publisherInfo.lastName} @@ -202,12 +202,12 @@ function ShiftComponent({ shift, onShiftSelect, isSelected, onPublisherSelect, a {shift.requiresTransport && ( toggleTransport(ass) : undefined} - className={`material-icons ${ass.isWithTransport ? 'text-green-500 font-bold' : (transportProvided ? 'text-gray-400 ' : 'text-orange-400 font-bold')} ${ass.canTransport || ass.isWithTransport || true ? ' cursor-pointer' : 'cursor-not-allowed'} px-3 py-1 ml-2 rounded-md`} + className={`material-icons ${ass.isWithTransport ? 'text-green-500 font-bold' : (transportProvided ? 'text-gray-400 ' : 'text-orange-400 font-bold')} ${ass.canTransport || ass.isWithTransport || true ? ' cursor-pointer' : 'cursor-not-allowed'} px-3 py-0 ml-2 rounded-md`} > {ass.isWithTransport ? "транспорт" : ass.canTransport ? "може транспорт" : "без транспорт"} )} - diff --git a/pages/cart/calendar/index.tsx b/pages/cart/calendar/index.tsx index 6ad9127..da3bc2f 100644 --- a/pages/cart/calendar/index.tsx +++ b/pages/cart/calendar/index.tsx @@ -677,7 +677,7 @@ export default function CalendarPage({ initialEvents, initialShifts }) { list of publishers for the selected date with availabilities ------------------AVAILABLE PUBLISHERS LIST FOR THE SELECTED DATE0 ------------------ */} -
+

Достъпни за този ден: {availablePubs.length}