Payment Reports
Undoing a payment report
Run (in ms-timesheets):
ENV=prod npx cw pay:undo --paymentRunKey=<key>
This will un-mark the payment run as paid/sent for payment. If you wish to delete it entirely, additionally pass the --delete option to the CLI task.
Setting up a new Staff Bank Register practice
Add new site to static-data/collaborations/cithack/staff-bank-register-practices.json
Run the follow scripts (in ms-jobs):
ENV=prod npx cw queue:run sync-shift-group-shifts
Run the follow scripts (in ms-admin)
ENV=prod npx cw queue:run sync-legacy-permissions-to-new-permissionsENV=prod node src/database/one-off-scripts/2022-06-24_set_staff_bank_register_admin_group_permissions.js