Commit Graph

637 Commits

Author SHA1 Message Date
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
c0fe92f0d2 fix: remove unnecessary wire:navigate directive from navbar item 2026-01-09 19:59:27 +07:00
Yoga Pangestu
2e436f99cc feat: implement printer disconnection functionality with UI updates and event handling 2026-01-07 19:27:32 +07:00
Yoga Pangestu
76868e1bcb fix: update member selection input to use debounced livewire model for improved performance 2026-01-07 19:24:11 +07:00
Yoga Pangestu
1328217f0d fix: correct variable name for user reward points in member overview blade template 2026-01-07 19:11:20 +07:00
Yoga Pangestu
df8ef13552 refactor: update timestamp fields in multiple migration files to use current timestamps and nullable updates 2026-01-07 19:01:54 +07:00
Yoga Pangestu
f545271040 test: Associate generated users and orders with outlets in dashboard analysis tests. 2026-01-06 21:45:27 +07:00
Yoga Pangestu
180a5b5282 feat: add member order history and referral tests, and enhance member voucher tests.feat: add member order history and referral tests, and enhance member voucher tests. 2026-01-06 21:38:26 +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
6706c191ed feat: Differentiate database seeding for production and staging environments and set a voucher's user limit to 1. 2026-01-06 20:00:19 +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
b508deb76c feat: Reorder and update permissions list in RolePermissionSeeder, and adjust role permission syncing. 2026-01-05 22:51:47 +07:00
Yoga Pangestu
fefad3f6b1 feat: add warehouse management permissions and remove testimonial creation/update capabilities. 2026-01-05 22:42:33 +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
754b65259e refactor: improve Alpine chart instance management to prevent maximum call stack size errors and streamline updates. 2026-01-05 22:10:00 +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
9222a3401d feat: remove member benefits callout and update product and support callout button links. 2026-01-05 19:42:14 +07:00
Yoga Pangestu
8f3dd9975c feat: Add empty state handling for rewards and redemption history. 2026-01-05 19:33:19 +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
2c564f410e chore: remove commented-out printer button. 2026-01-04 23:12:41 +07:00
Yoga Pangestu
7956314dc5 refactor: use Blade @can directive for permission checks and fix "Doraemon" typo 2026-01-04 22:59:04 +07:00
Yoga Pangestu
c4a66fcf9a feat: Add Bluetooth printer connection functionality and UI alongside existing USB printer support. 2026-01-04 22:51:01 +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
a41eb23998 feat: add FormulaSeeder to database seeders 2026-01-04 22:30:42 +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
ca01d8a8ed feat: remove notification settings section from account page and reformat input attributes. 2026-01-04 21:52:47 +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
acfa2977b3 style: Update dark mode color palette from neutral to zinc. 2026-01-03 14:49:51 +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