payroll-adjustment.tsx shows a Taxable Switch (default true) and sends taxable on POST payroll/adjustment.AddAdjustmentModal.tsx shows Payment Taxable for the Adjustment form; a useEffect auto-sets taxable from category name (e.g. category containing "reimbursement" → false, else true), but the switch remains visible and editable.buildUKGEarnings.ts maps adjustment totals to UKG using settings.ukgPayrollMapping[category] only; the taxable field is not used in the export payload.taxable today (in-app only): stored on the adjustment document (payrollSchema.ts), Taxable Yes/No column in PayrollAdjustmentList.tsx, and taxableAdjustmentTotal in payroll overview metrics (overviewRowMetrics.ts).Mobile (attik-mobile)
app/(app)/inspection/[id]/payroll-adjustment.tsx — remove/hide the Taxable switch from the submit UI.hooks/usePayrollAdjustmentSubmit.ts — continue sending taxable if the API requires it, using a server-side or derived default (see Decisions needed) rather than user input.Frontend web (attik-frontend)
AddAdjustmentModal.tsx — hide/remove the Payment Taxable switch from adjustment create/edit UI; preserve or replace category-based preset logic if taxable remains on the model.Backend (attik-backend) — likely minimal
models/payrollSchema.ts — taxable remains on the Adjustment schema unless product retires the field entirely.routes/payrollData.ts — no UKG export change expected; export path already category-driven via frontend buildUKGEarnings.ts.Out of scope (v1 unless product expands)
taxable from the database schema / migrations (unless product locks retirement in Decisions needed).Done when
taxable field — Keep writing a derived value (e.g. category name contains "reimbursement" → false, else true, matching current web logic) for in-app totals, or stop using taxable entirely in v1?taxableAdjustmentTotal — Retain overview metric based on derived/stored taxable, or deprecate that total when the toggle is hidden?taxable, or is it hidden everywhere including edit?taxable, should backend default true, derive from category server-side, or require explicit value?attik-mobile/app/(app)/inspection/[id]/payroll-adjustment.tsxattik-mobile/hooks/usePayrollAdjustmentSubmit.tsattik-frontend/src/app/tools/hr/AddAdjustmentModal.tsxattik-frontend/src/app/tools/hr/payroll/utils/buildUKGEarnings.tsPayrollAdjustmentList.tsx, overviewRowMetrics.ts, adjustment-management/AdjustmentLineItem.tsxattik-backend/src/models/payrollSchema.tsPlease authenticate to join the conversation.
Planned
Main App
3 days ago
Linear
Get notified by email when there are changes.
Planned
Main App
3 days ago
Linear
Get notified by email when there are changes.