You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* feat: Display consumed from balance year
- Add `formatConsumedFrom` utility function
- Import and use function in vacation request template
- Export function from utils module
* feat: Add user balance debug and fix features
- Add API endpoints for debugging and fixing user balances
- Implement Vue component for auditing and correcting vacation balances
- Update dashboard navigation to include "Danger Zone" with balance audit option
- Add Django management commands for debugging and recalculating user balances
* refactor: Improve user fetching and API handling
- Update UsersAdminOfficeUsersApi to accept query params
- Remove redundant pagination logic from frontend components
- Refactor SupervisorsAPIView to fetch all active users
- Update GetUsersInAdminOfficeAPIView to support 'all' and 'active_only' params
- Add get_active_admin_office_users to filter users by office and active status
* feat: Import VacationBalanceCalculator
- Import VacationBalanceCalculator from utils
* style: Adjust button size attribute
- Remove `size="comfortable"` from v-btn
* refactor: Improve vacation filtering and status handling
- Add status filtering to vacation list endpoint
- Normalize request type parameter for filtering
- Update vacation list query logic for better filtering
- Remove unused 'pending-requests' route and component
* refactor: Improve null checks and type declarations
- Add `ws` connection ref to Window interface
- Initialize `result` to null for vacation fetching
- Add null checks for API responses before accessing `results` and `count`
* refactor: Update vacation retrieval and validation
- Simplify queryset logic for vacation retrieval
- Add default values for request_type and status parameters
- Implement validation for user_id and request_type in GET method
- Improve user existence check before processing requests
* fix: Adjust query parameters for vacation list
- Update vacation query to conditionally add status and type
- Set default status to "all" in team pending requests
* style: Adjust column widths in vacation request view
- Conditionally set col widths based on tab
- Hide user select when not on explore tab
- Adjust status and type select widths for team tab
* style: Add pointer cursor to buttons
- Add pointer cursor for buttons
* feat: Allow all users to view requests and filter by name
- Display "Not Provided" if approval user is missing
- Set selected user to logged-in user initially
- Fetch users for all users to explore
- Allow viewing requests for any user via targetUserId
- Enable filtering user requests by full name in backend
* refactor: Update user fetching logic for explore tab
- Make "All Users History" tab accessible to all users
- Use general user list endpoint
- Fetch up to 1000 users
- Assign results to users.value
* feat: Add API endpoint for active users
- Add UsersActiveApi client class
- Update users API client to include active endpoint
- Implement AllActiveUsersAPIView for active users
- Add URL path for active users endpoint
* refactor: Update unwrap for get list
- Add transform for get list response
* fix: respect useOldBalance switch when switching users in vacation request
* feat: Add old_balance flag to vacation creation
- Add `is_old_balance` to vacation serializer
- Pass `is_old_balance` to Vacation model creation
- Pass `is_old_balance` to VacationNotification
0 commit comments