-
- {t('finalPayoutTitle')}
- {t('finalPayoutDescription')}
-
-
- {timeOff.map(timeOffEntry => (
-
- ))}
-
+ }
+ withPadding={false}
+ >
+
+
)}
{additionalEarnings.length > 0 && (
diff --git a/src/components/Payroll/PayrollEditEmployee/TimeOffField.test.tsx b/src/components/Payroll/PayrollEditEmployee/TimeOffField.test.tsx
index 807f9081c2..3db02a2740 100644
--- a/src/components/Payroll/PayrollEditEmployee/TimeOffField.test.tsx
+++ b/src/components/Payroll/PayrollEditEmployee/TimeOffField.test.tsx
@@ -7,11 +7,35 @@ import {
EmployeePaymentMethod1,
} from '@gusto/embedded-api/models/components/employee'
import type { PayrollEmployeeCompensationsTypePaidTimeOff } from '@gusto/embedded-api/models/components/payrollemployeecompensationstype'
-import { TimeOffField } from './TimeOffField'
+import { TimeOffField, TimeOffTypeCell } from './TimeOffField'
import type { PayrollEditEmployeeFormValues } from './PayrollEditEmployeePresentation'
import { renderWithProviders } from '@/test-utils/renderWithProviders'
-const TestWrapper = ({
+const TestFieldWrapper = ({
+ timeOffEntry,
+ shouldVisuallyHideLabel,
+}: {
+ timeOffEntry: PayrollEmployeeCompensationsTypePaidTimeOff
+ shouldVisuallyHideLabel?: boolean
+}) => {
+ const methods = useForm