Parent: Expensify/Expensify#589894
Design doc: https://docs.google.com/document/d/1qQXU4EIij-OyCpk6z8idi0ch0rP4XtIQ0770STZeF5E/edit
Scope
Branch CertiniaAdvancedPage to render PSA-specific toggles when hasPSA === true — Tax Non-Billable and Export Foreign Currency Amount — replacing the FFA Sync Reimbursed Reports row. Auto Sync remains for both modules.
Implementation notes (from design doc)
CertiniaAdvancedPage.tsx — Add PSA conditional rendering
Auto Sync row remains at the top for both modules.
If hasPSA === true, replace the Sync Reimbursed Reports row with:
-
Export Tax as Non-Billable: ToggleSettingOptionRow. isActive={!!config?.advanced?.taxNonBillable}. onToggle={(enabled) => updateFinancialForceTaxNonBillable(policyID, enabled)}. Subtitle: "When enabled, tax is marked as non-billable on export to PSA."
-
Export Foreign Currency Amount: ToggleSettingOptionRow. isActive={!!config?.advanced?.exportForeignCurrency}. onToggle={(enabled) => updateFinancialForceExportForeignCurrency(policyID, enabled)}. Subtitle: "When disabled, expenses are converted to the report currency before export."
Tests
- PSA advanced page: Auto Sync + Tax Non-Billable + Export Foreign Currency — no Sync Reimbursed Reports.
- FFA advanced page renders the original Release 1 content unchanged.
- Both new toggles fire the corresponding actions with pending indicator and revert on simulated failure.
Issue Owner
Current Issue Owner: @ChavdaSachin
Parent: Expensify/Expensify#589894
Design doc: https://docs.google.com/document/d/1qQXU4EIij-OyCpk6z8idi0ch0rP4XtIQ0770STZeF5E/edit
Scope
Branch
CertiniaAdvancedPageto render PSA-specific toggles whenhasPSA === true— Tax Non-Billable and Export Foreign Currency Amount — replacing the FFA Sync Reimbursed Reports row. Auto Sync remains for both modules.Implementation notes (from design doc)
CertiniaAdvancedPage.tsx— Add PSA conditional renderingAuto Sync row remains at the top for both modules.
If
hasPSA === true, replace the Sync Reimbursed Reports row with:Export Tax as Non-Billable:
ToggleSettingOptionRow.isActive={!!config?.advanced?.taxNonBillable}.onToggle={(enabled) => updateFinancialForceTaxNonBillable(policyID, enabled)}. Subtitle: "When enabled, tax is marked as non-billable on export to PSA."Export Foreign Currency Amount:
ToggleSettingOptionRow.isActive={!!config?.advanced?.exportForeignCurrency}.onToggle={(enabled) => updateFinancialForceExportForeignCurrency(policyID, enabled)}. Subtitle: "When disabled, expenses are converted to the report currency before export."Tests
Issue Owner
Current Issue Owner: @ChavdaSachin