Settings
When initializing the Nmbr Component, you can pass additional configurations through via thesettings property, allowing you to hide and disable parts of the UI:
payroll.html
Available Settings
All properties are optional.These settings are meant to change the UX of the component, and do not
prevent the user from, at the API level, creating, reading, updating or
deleting the related resource(s). For example, if the Employee “Bank Accounts”
section is hidden, the user will not be able to view the Bank Accounts tab
or access any of its functionality through the Nmbr Component. However, if
your signing server does not disallow it, the user could still create, read,
update, or delete a bank account by accessing the API directly.
General
When
true, the PAD agreement will be shown in the “Bank Account” tab of the
Business Settings, both when viewing and creating a bank account. When
creating a bank account, the user will need to review and agree to the PAD
agreement.Disables the “Approve” button on the Payroll Approve step.
A number greater than or equal to 0. Applied as the multiplier of the scaling
factor (8px) to determine the outer padding around the component. For example,
a value of
2 results in 16px of outer padding.The language to use in the component. Accepts
en-CA or fr-CA.Hides the built-in navigation menu. Useful when combined with deep
linking to build your own navigation experience —
you can use
goto() to control which page the component displays while hiding
the default navigation entirely.Shows the “ROEs” tab for both the Employee Section and the Business Settings.
Surfaces tag configuration at the business level, tag assignment at the
employee level, and tag allocations across payroll line items. See Tagging &
Journal Entry
Tracking.
Hide the “Pay Rates” column on the Run Payroll screens.
When
true, line items and recurring employee benefits, allowances, and
reimbursements can only be created from pre-existing presets and cannot be
created from scratch.Shows the “Historical” tab in the payroll dashboard.
Shows the “Correction” tab in the payroll dashboard.
Show “Adjustments” for Statutory Withholdings.
Hide the “Payroll” section, including the Run Payroll screens and the payroll
dashboard.
Hide the business selector. Use this when the Component is scoped to a single
business and switching businesses should not be available.
Hide the “Reports” section.
Hide the “Year-End Tax Packages” section.
Employee Tabs
If all of the tabs inemployeeTabs are hidden, the employee table will still show all employees, but you won’t be able to see their details.
Hide the “Details” tab in the Employee Section. When hidden, the “Create
Employee” button is also hidden.
Hide the “Personal Details” section in the “Details” tab in the Employee
Section.
Hide the “Identification Details” section in the “Details” tab in the Employee
Section.
Hide the “Bank Account” tab in the Employee Section.
Hide the “Benefits” tab in the Employee Section.
Hide the “Allowances” tab in the Employee Section.
Hide the “Deductions” tab in the Employee Section.
Hide the “Reimbursements” tab in the Employee Section.
Hide the “Pay Rates” tab in the Employee Section.
Show the “Other Earnings” tab in the Employee Section.
Hide the “Vacation Pay” tab in the Employee Section.
Hide the “Pay Stubs” tab in the Employee Section.
Hide the “Tax Forms” tab in the Employee Section.
Hide the “Tax Implications” tab in the Employee Section.
Hide the “Tax Details” tab in the Employee Section. When hidden, the
“Overrides” table controlled by
showTaxOverrides is also hidden.Hide the “Workers’ Comp” tab in the Employee Section.
Hide the “Create Employee” button in the Employee Section.
Shows the “Stat Holiday Pay” tab in the Employee Section.
Shows the
... menu in the “Employee” header where the employee can be added
to/removed from a “Pay Schedule”.Shows the “Overrides” table in the “Tax Details” tab in the Employee Section.
Contractor Tabs
If all of the tabs incontractorTabs are hidden, the table will still show all contractors, but you won’t be able to see their details.
Hide the “Details” tab in the Contractor Section. When hidden, the “Create
Contractor” button is also hidden.
Hide the “Bank Account” tab in the Contractor Section.
Hide the “Payment Frequency” tab in the Contractor Section. When hidden, the
... menu for removing the contractor from a “Payment Frequency” is also
hidden.Hide the “Receipts” tab in the Contractor Section.
Show the “Earnings” tab in the Contractor Section.
Business Settings
If all of the tabs inbusinessSettings are hidden, the “Business Settings” option will not appear in the main navigation menu.
Hide the “Details” tab in the Business Settings.
Hide the “Bank Accounts” tab in the Business Settings.
Hide the “Tax Accounts” tab in the Business Settings.
Show the “Remittance Accounts” tab in the Business Settings.
When
true, the user can create more than one Remittance Account of the same
provider type (e.g. multiple CRA RP accounts, multiple RQ RS accounts) for
a Business Entity. Useful for businesses that operate multiple program
accounts with the CRA — for example, separate divisions that each remit under
their own RP number. See Tax Agency
Configuration for
details on how multi-account enrollments work.Hide the “Pay Schedules” tab in the Business Settings.
Hide the “Pay Run Configuration” settings in the Business Settings.
Hide the “Employees” tab in the Business Settings. When hidden, the “Edit
Employee Details” option is also hidden from the
... menu on the Payroll
Earnings and Review screens.Hide the “Contractors” tab in the Business Settings.
Hide the “Create Another” button in the “Details” tab in the Business
Settings.
Hide the “Vacation Pay” tab in the Business Settings.
Hide the “Workers’ Comp” tab in the Business Settings.
Hide the “Payroll Items” tab in the Business Settings.
Deprecated. Use
businessSettings.hidePayrollItems instead.Show the “GL Codes” tab in the Business Settings.
Hide the “EI Rates” tab in the Business Settings.
Deprecated. The “Reports” tab is no longer in the Business Settings. Use
the top-level
hideReports setting instead.Hide the “Create Another” button on the “Pay Schedules” tab in the Business
Settings.
Hide the “EPT” tab in the Business Settings. Formerly
businessSettings.hideEht.Show the “Integrations” tab in the Business Settings.
Show the “Preview Mode” banner when a business is in preview mode.
When
true, allow creating business entities located outside Canada.
