Operations
Commands and Operational Checks
Commands and Operational Checks
Run commands from t1-platform/app unless noted otherwise.
Recalculate allowance lines
Dry run:
php bin/console app:allowances:recalculate-timesheets --limit=50Persist:
php bin/console app:allowances:recalculate-timesheets --force --limit=50Specific timesheet:
php bin/console app:allowances:recalculate-timesheets --force --id=<timesheet-id>Recalculate award calculations
php bin/console app:award:recalculate-timesheets --forceUse after changing award rates, matrix rules, or calculation feature flags for existing submitted/accepted/approved timesheets.
Timesheet hours/risk utilities
Available command classes include:
RecalculateTimesheetHoursCommandRecalculateTimesheetRiskCommandNormalizeTimesheetWeekEndingCommandReportDuplicateTimesheetsCommand
Xero utilities
Available command classes include:
SubmitExpensesTimesheetsToXeroCommandDebugXeroCommandTestXeroConnectionCommandSyncUsersToXeroCommand
Auth0 utilities
Available command classes include:
InspectAuth0TokenCommandFixAuth0IdCommandSyncUsersToAuth0CommandTestAuth0ManagementCommand