Commit Graph

673 Commits

Author SHA1 Message Date
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
7df0e16914 Remove live.debounce.500ms from wire:model attributes in the registration form fields. 2026-02-28 15:07:43 +07:00
Yoga Pangestu
348e55f1e9 Merge branch 'master' of https://github.com/pangestuyoga/pangestu-yadiparfum 2026-02-24 08:29:18 +07:00
Yoga Pangestu
fb31078745 fix: Handle missing notification URLs gracefully in the service worker by adding null coalescing and an early exit condition. 2026-02-24 08:29:16 +07:00
Yoga Pangestu
ab24bd3454 Fix: service worker notification URL handling to gracefully manage missing URLs. 2026-02-24 08:24:23 +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
d4b7c9d1db feat: Add a description to the volume field in the studio master formulas view. 2026-02-23 13:21:21 +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
ebf244b9da refactor: Update the heading text on the outlets page. 2026-02-23 12:55:58 +07:00
Yoga Pangestu
42efa0dc7a feat: Add OrderSeeder to generate realistic order data and integrate it into the main database seeder. 2026-02-20 10:58:27 +07:00
Yoga Pangestu
b37ae44c0d feat: add ArticleSeeder to populate sample articles and their categories. 2026-02-20 10:53:23 +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
5b8f89f693 refactor: update inventory history button to primary variant with a 'Lihat' tooltip. 2026-02-12 09:24:11 +07:00
Yoga Pangestu
9f15960d59 feat: enhance boxing-cat Lottie component to accept custom messages and update its text styling, centralizing empty state messages. 2026-02-12 09:20:28 +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
1ebb50139a feat: add 'audit bottle', 'audit perfume', and 'audit product' permissions 2026-02-10 17:07:23 +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
f844bb1fb7 Refactor: Improve audit log UI readability by adjusting layout, detailing stock changes, and adding an empty state. 2026-02-10 14:29:09 +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
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