Commit Graph

466 Commits

Author SHA1 Message Date
Yoga Pangestu
5abf7459da feat: Add stock adjustment management to product, bottle, and perfume forms. 2026-03-02 19:53:57 +07:00
Yoga Pangestu
a4b83ed6cb feat: Add email verification notification with queued processing for user model 2026-02-28 17:21:11 +07:00
Yoga Pangestu
a12e516b2d feat: Implement robust error handling and logging for user registration, displaying an error toast on failure. 2026-02-28 15:22:42 +07:00
Yoga Pangestu
8ff24135d1 Fix: accept subscriptions as array or JSON string for web push. 2026-02-24 07:51:52 +07:00
Yoga Pangestu
e28b5fee69 feat: Hide the customer column from admin users in the orders table. 2026-02-24 07:27:02 +07:00
Yoga Pangestu
7035c3888d feat: hide 'Outlet' column if the authenticated user has one or fewer outlets. 2026-02-24 07:24:37 +07:00
Yoga Pangestu
5d46365963 feat: Calculate 'Top Member' based on total order value instead of order count. 2026-02-24 07:19:52 +07:00
Yoga Pangestu
9d8e264929 fix: Adjust stock opname logic to apply the difference between physical and system quantities to the current stock. 2026-02-23 22:29:56 +07:00
Yoga Pangestu
6af61d9dd3 feat: Improve stock opname input handling by using number input, allowing null physical quantities, adding a 'fill with zero' option, and refining progress percentage calculation. 2026-02-23 22:10:25 +07:00
Yoga Pangestu
d2b764d3f4 feat: Implement stock opname generation, add search functionality to stock opname items, and refine quantity input handling. 2026-02-23 13:47:52 +07:00
Yoga Pangestu
ce1541ae4c feat: Order distinct bottle sizes and bypass global scope during formula initialization. 2026-02-23 13:19:22 +07:00
Yoga Pangestu
63ce676385 feat: Separate dashboard asset calculations for outlets and warehouses, update related descriptions, and refine perfume form layout. 2026-02-12 23:11:57 +07:00
Yoga Pangestu
ee435131fc feat: Add total asset calculation and display to dashboard, and make stat card trend/previous values optional. 2026-02-12 22:58:22 +07:00
Yoga Pangestu
48b2d5c6ad feat: Remove SKU field from products and perfumes, and introduce global ordering scopes for Product, Perfume, and Bottle models. 2026-02-12 22:46:25 +07:00
Yoga Pangestu
44576b6bf7 feat: Introduce a generic stock activity log method and translate log descriptions to Indonesian. 2026-02-12 15:30:20 +07:00
Yoga Pangestu
3b289588f2 feat: Add tooltips and hover effects to dashboard cards and stats for improved user experience, and include a description for the outlet statistic. 2026-02-12 15:11:48 +07:00
Yoga Pangestu
6477684540 feat: add stock adjustment functionality for warehouse items via a modal form. 2026-02-12 14:27:40 +07:00
Yoga Pangestu
60fe24b7bf feat: Implement warehouse item stock audit functionality with search, type filtering, and dedicated audit pages. 2026-02-12 09:08:31 +07:00
Yoga Pangestu
a50bd0c960 feat: automatically select all user outlets for dashboard overview if only one outlet is available. 2026-02-10 16:53:28 +07:00
Yoga Pangestu
15c36b46db refactor: change PushNotification model array cast from 'data' to 'subscriptions' 2026-02-10 16:00:32 +07:00
Yoga Pangestu
307213c7d2 refactor: Consolidate home page UI into new hero and brands components and improve stock opname quantity handling. 2026-02-10 15:02:08 +07:00
Yoga Pangestu
7a5ecc02bd feat: Add item name search functionality to the item columns in Purchases, Restocks, and Stock Transfers datatables. 2026-02-10 13:11:44 +07:00
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