Go to file
Yoga Pangestu 67e5a6271f Add tests for CheckAttendancePenaltiesJob to validate attendance penalties logic
- Implement tests to ensure job skips execution on weekends, when penalties are zero, or when no payroll period exists.
- Validate late penalty creation for late check-ins and ensure no penalties for on-time or early check-ins.
- Test absent penalties for employees without attendance records.
- Ensure no duplicate penalties are created and that payroll recalculations are accurate after penalties are applied.
- Handle multiple employees and edge cases, including employees without associated users.
- Verify that the job can be dispatched to the queue and has the correct retry configuration.
2026-07-31 11:13:46 +07:00
.github initial commit 2026-07-28 17:40:38 +07:00
app Add tests for CheckAttendancePenaltiesJob to validate attendance penalties logic 2026-07-31 11:13:46 +07:00
bootstrap feat: add media library configuration and file upload components 2026-07-30 10:16:49 +07:00
config Add admin settings routes and corresponding feature tests 2026-07-31 01:04:14 +07:00
database Add admin settings routes and corresponding feature tests 2026-07-31 01:04:14 +07:00
public feat: add PWA support with manifest and service worker registration 2026-07-30 22:23:41 +07:00
resources Add tests for CheckAttendancePenaltiesJob to validate attendance penalties logic 2026-07-31 11:13:46 +07:00
routes Add tests for CheckAttendancePenaltiesJob to validate attendance penalties logic 2026-07-31 11:13:46 +07:00
storage initial commit 2026-07-28 17:40:38 +07:00
tests Add tests for CheckAttendancePenaltiesJob to validate attendance penalties logic 2026-07-31 11:13:46 +07:00
.editorconfig initial commit 2026-07-28 17:40:38 +07:00
.env.example initial commit 2026-07-28 17:40:38 +07:00
.gitattributes initial commit 2026-07-28 17:40:38 +07:00
.gitignore initial commit 2026-07-28 17:40:38 +07:00
.npmrc initial commit 2026-07-28 17:40:38 +07:00
.prettierignore initial commit 2026-07-28 17:40:38 +07:00
.prettierrc initial commit 2026-07-28 17:40:38 +07:00
artisan initial commit 2026-07-28 17:40:38 +07:00
components.json refactor: update UI components for improved styling and functionality 2026-07-28 19:10:20 +07:00
composer.json Add admin settings routes and corresponding feature tests 2026-07-31 01:04:14 +07:00
composer.lock Add admin settings routes and corresponding feature tests 2026-07-31 01:04:14 +07:00
eslint.config.js initial commit 2026-07-28 17:40:38 +07:00
package-lock.json Add tests for CheckAttendancePenaltiesJob to validate attendance penalties logic 2026-07-31 11:13:46 +07:00
package.json Add tests for CheckAttendancePenaltiesJob to validate attendance penalties logic 2026-07-31 11:13:46 +07:00
phpstan.neon initial commit 2026-07-28 17:40:38 +07:00
phpunit.xml initial commit 2026-07-28 17:40:38 +07:00
pint.json initial commit 2026-07-28 17:40:38 +07:00
pnpm-lock.yaml feat: add PWA support with manifest and service worker registration 2026-07-30 22:23:41 +07:00
pnpm-workspace.yaml initial commit 2026-07-28 17:40:38 +07:00
tsconfig.json initial commit 2026-07-28 17:40:38 +07:00
vite.config.ts feat: add PWA support with manifest and service worker registration 2026-07-30 22:23:41 +07:00