feat: refine admin forms, attendance and finance workflows
Squash merge PR #23. Included changes: - complete occupancy check-in required fields/default payload - improve responsive admin management pages - fix attendance edge cases and attendance period config - refine wallet/finance-related workflow handling Checks: - npm run typecheck -w apps/admin - npm run typecheck -w apps/server
This commit is contained in:
@@ -13,8 +13,18 @@ export class WalletsController {
|
||||
|
||||
@Get()
|
||||
@RequirePermission('wallet:view')
|
||||
findAll(@Query('keyword') keyword?: string, @Query('debtOnly') debtOnly?: string) {
|
||||
return this.service.findAll({ keyword, debtOnly: debtOnly === 'true' });
|
||||
findAll(
|
||||
@Query('keyword') keyword?: string,
|
||||
@Query('debtOnly') debtOnly?: string,
|
||||
@Query('roomType') roomType?: string,
|
||||
) {
|
||||
return this.service.findAll({ keyword, debtOnly: debtOnly === 'true', roomType });
|
||||
}
|
||||
|
||||
@Get('room-types')
|
||||
@RequirePermission('wallet:view')
|
||||
findRoomTypes() {
|
||||
return this.service.findRoomTypes();
|
||||
}
|
||||
|
||||
@Get('transactions')
|
||||
|
||||
Reference in New Issue
Block a user