Commit Graph

444 Commits

Author SHA1 Message Date
Yoga Pangestu
e89cfd337a refactor: update payroll generation to exclude Developer and Owner roles using the new withoutSuperAdmin scope. 2026-02-10 12:00:19 +07:00
Yoga Pangestu
c2bcb3d47b feat: Implement inventory history feature including dedicated pages, routes, navigation, and permissions. 2026-02-10 11:45:48 +07:00
Yoga Pangestu
6f0cf547e6 refactor: menyesuaikan per deskirpsian supaya lebih hidup 2026-01-24 01:51:15 +07:00
Yoga Pangestu
4ec293449c Refactor home navigation and fix dashboard calculations
- Replace interactive buttons with anchor tags in Jumbotron and Category sections to improve navigation and SEO.
- Fix SQL calculation for gross profit in OrdersTable to ensure correct aggregation.
- Remove unused `selectedOutletIds` property from Studio Dashboard Analysis and Overview components.
- Adjust padding in the right Jumbotron section for better responsiveness.
2026-01-15 22:23:13 +07:00
Yoga Pangestu
bdd793343f fix: update redirect paths and enhance UI layout for order management
- Changed redirect paths in WithRoleRedirect trait from '/login' to '/auth/login' for consistency.
- Adjusted footer layout in home view to include padding for better spacing.
- Improved order management UI by modifying flexbox structure for better responsiveness and alignment of buttons.
2026-01-11 13:14:17 +07:00
Yoga Pangestu
3a05ee2617 feat: implement comprehensive migration commands for legacy data
- Added migration commands for users, employees, outlets, categories, products, bottles, and perfumes to transfer data from the old database to the new structure.
- Each command includes options for forced migration and recreation of existing records.
- Implemented progress feedback and error handling during migration processes.
- Updated database configuration to include connection settings for the old database.
- Enhanced DatabaseSeeder to automatically trigger the migration process after seeding essential data.
2026-01-10 19:04:31 +07:00
Yoga Pangestu
6c0db0af4e fix: enhance voucher discount handling in order processing
- Updated the voucher discount calculation to handle error cases more gracefully.
- Reset voucher discount and selection if an error occurs during discount calculation.
- Improved user feedback by displaying error messages when voucher validation fails.
2026-01-09 22:16:07 +07:00
Yoga Pangestu
293dd7d1fd refactor: restructure stock management components and update routes
- Removed legacy stock management components including PurchaseForm, RestockForm, StockOpnameForm, and StockTransferForm.
- Updated routes to reflect new structure under 'studio.stock' namespace for better organization.
- Adjusted view files for stock management to align with the new routing and component structure.
- Modified action routes in the ViewServiceProvider to ensure proper access control and navigation.
- Cleaned up related test files to remove references to deleted components.
2026-01-09 21:57:06 +07:00
Yoga Pangestu
dffc9f9e72 feat: add stock transfer management functionality
- Implemented stock transfer creation and management with Livewire components.
- Created StockTransfer and StockTransferItem models with necessary relationships.
- Added migration files for stock_transfers and stock_transfer_items tables.
- Developed traits for handling stock transfer items (add, delete, update).
- Integrated stock transfer logging in StockActivityLogService.
- Updated ViewServiceProvider to include stock transfer permissions and routes.
- Created frontend views for stock transfer form and index with appropriate UI components.
- Added role permissions for stock transfer actions in RolePermissionSeeder.
2026-01-09 21:41:49 +07:00
Yoga Pangestu
156eca433c fix: remove cost_price from select statements in BottlesTable, PerfumesTable, and ProductsTable 2026-01-09 20:25:22 +07:00
Yoga Pangestu
95a252dab7 feat: add voucher discount functionality and update related calculations across orders 2026-01-09 20:18:58 +07:00
Yoga Pangestu
48ffc88aec feat: enhance audit logs display with event status colors and localized date formatting 2026-01-06 21:27:00 +07:00
Yoga Pangestu
bebc5be5a2 feat: add member order history page with detailed order summaries and navigation. 2026-01-06 20:59:42 +07:00
Yoga Pangestu
ca92fc9089 feat: Implement member's "My Vouchers" page with new Livewire component, view, sidebar navigation, and route. 2026-01-06 20:27:17 +07:00
Yoga Pangestu
610db296f0 feat: remove all Excel export functionality including controllers, routes, export classes, and UI buttons. 2026-01-05 22:54:52 +07:00
Yoga Pangestu
a638760713 feat: apply currency formatting to base salary in profile form 2026-01-05 22:52:54 +07:00
Yoga Pangestu
9f73b32694 fix: Initialize analysis dashboard outlet selection to all user's outlets and update anonymous function syntax. 2026-01-05 22:40:23 +07:00
Yoga Pangestu
641257d729 Remove low stock alert calculation and add AOV card comment. 2026-01-05 22:37:48 +07:00
Yoga Pangestu
10934a2aba feat: Adjust role permissions for warehouse management, analysis, and member vouchers, while refining customer table actions, warehouse column visibility, and dashboard statistics. 2026-01-05 22:36:29 +07:00
Yoga Pangestu
ab01645ccd feat: Format currency values with zero decimal places 2026-01-05 21:46:43 +07:00
Yoga Pangestu
3371306c0a refactor: Replace not-found Lottie animation with boxing-cat across various views. 2026-01-05 20:14:48 +07:00
Yoga Pangestu
33d11cedea feat: implement member referral system including code generation, usage tracking, and UI integration. 2026-01-05 20:11:06 +07:00
Yoga Pangestu
716fb3448b feat: remove member voucher page, route, and Livewire component from member section. 2026-01-05 19:44:30 +07:00
Yoga Pangestu
f107e99d64 feat: Add referral code generation with WhatsApp sharing, remove email verification UI, and introduce tierPoints accessor. 2026-01-04 23:26:09 +07:00
Yoga Pangestu
823cb18311 fix: Pass order creation date to print modal and display it on the receipt instead of the current date. 2026-01-04 22:38:12 +07:00
Yoga Pangestu
d720934533 feat: implement member account settings page for profile and password updates 2026-01-04 22:24:55 +07:00
Yoga Pangestu
0795f8b0d7 feat: Add feature tests for member membership, overview, redeem points, and vouchers, and enable factory for the Membership model. 2026-01-04 22:00:17 +07:00
Yoga Pangestu
096a7b384b feat: Implement email verification, protect member routes, and improve registration with debounced inputs and unique phone numbers. 2026-01-04 21:39:00 +07:00
Yoga Pangestu
a9759f92c1 feat: Refactor dashboard data to public properties, update media handling, and fix analysis period logic. 2026-01-03 15:00:46 +07:00
Yoga Pangestu
07e0c4ce90 feat: Implement distinct order item entries for perfumes and add 'ml' suffix to custom quantity display. 2026-01-03 14:46:46 +07:00
Yoga Pangestu
c74b03fde0 feat: Add print modal with paper size selection and enhance USB printer connection/disconnection handling with UI feedback. 2026-01-03 14:03:39 +07:00
Yoga Pangestu
9a1bd66eba feat: Add custom perfume quality option and display quality in order items. 2026-01-03 13:04:57 +07:00
Yoga Pangestu
1eb43643d2 feat: remove low stock card from dashboard overview 2026-01-03 12:27:33 +07:00
Yoga Pangestu
3de603f4c2 feat: Add multiple new charts to the dashboard overview for enhanced sales and customer analytics. 2026-01-03 01:17:35 +07:00
Yoga Pangestu
4cb94e3ed5 Remove Livewire chart components for outlet revenue, expense, and channel, and their dashboard display. 2026-01-03 00:12:47 +07:00
Yoga Pangestu
8518ddb6f2 feat: Add feature tests for Studio account and application settings, and update ProfileForm address to be nullable. 2026-01-02 23:46:56 +07:00
Yoga Pangestu
c021bcccf9 feat: add fallback icon for non-existent icons in the ChooseUsTable icon column 2026-01-02 23:31:43 +07:00
Yoga Pangestu
9b0a1f5ae7 feat: introduce feature tests for Broadcast, FAQ, and Testimonial management, alongside Testimonial model factory. 2026-01-02 23:18:41 +07:00
Yoga Pangestu
b47a7ff0a3 feat: Implement comprehensive order and stock management with membership, vouchers, and dedicated tests. 2026-01-02 22:15:57 +07:00
Yoga Pangestu
7873701015 feat: Add comprehensive payroll feature tests, refine user scope in Payroll model, and exclude developer users from payroll management. 2026-01-02 20:40:27 +07:00
Yoga Pangestu
48389f4b28 refactor: replace WithMediaHandler trait with WithAppendColumn in BottlesTable component 2026-01-02 19:49:06 +07:00
Yoga Pangestu
5c2cb53887 test: add feature tests for voucher create, edit, and index pages, and fix canOrAbort typo in voucher deletion. 2026-01-02 19:14:20 +07:00
Yoga Pangestu
c8fde13435 refactor: move tier data loading to render method, adjust form return types, and add feature tests for tier management. 2026-01-02 18:35:29 +07:00
Yoga Pangestu
53554a0260 feat: Conditionally display category description and image fields based on selected type. 2026-01-02 18:28:10 +07:00
Yoga Pangestu
598ca3500f feat: Add comprehensive feature tests for master data modules and refine Livewire forms. 2026-01-02 18:18:13 +07:00
Yoga Pangestu
8358e20575 test: Add feature tests for user creation, editing, and index page, and refactor user index Livewire component data fetching. 2026-01-02 17:03:01 +07:00
Yoga Pangestu
39c0652e3e feat: Add comprehensive feature tests for outlet CRUD operations and refactor outlet index data loading to fetch data directly in the render method. 2026-01-02 16:37:25 +07:00
Yoga Pangestu
cc18a1fae5 feat: Exclude purchase totals from outlet expense and revenue calculations in chart components. 2026-01-02 16:27:21 +07:00
Yoga Pangestu
0733bd0d3e feat: add feature tests for Studio dashboard components and update Analysis component's purchase filtering and top product aggregation logic. 2026-01-02 16:27:09 +07:00
Yoga Pangestu
fd409af9c6 feat: add feature tests for forgot password, login, and registration, refine forgot password logic, and enhance Pest setup. 2026-01-02 16:11:52 +07:00