Commit Graph

163 Commits

Author SHA1 Message Date
Yoga Pangestu
0ede7280a4 fix: normalize order timestamps to start of day and prevent future-dated entries in OrderSeeder 2026-04-24 13:26:21 +07:00
Yoga Pangestu
bfef057e6f feat: Add PurchaseSeeder to generate purchase records with associated items and users 2026-04-24 13:22:57 +07:00
Yoga Pangestu
76753fc304 feat: Update OrderSeeder to generate orders over a date range with variable daily counts and increase item quantity range 2026-04-24 13:20:54 +07:00
Yoga Pangestu
de10185684 feat: Add PayrollSeeder to populate payroll data for users with Admin and Leader roles 2026-04-24 13:14:55 +07:00
Yoga Pangestu
a9dd91fefd feat: Add ExpenseSeeder to populate expenses in the database 2026-04-24 13:07:51 +07:00
Yoga Pangestu
0bdbd080ab feat: Enhance UserSeeder to add roles and create users for leader, admin per outlet, and partner with associated referral codes. 2026-04-24 13:07:41 +07:00
Yoga Pangestu
cd3dcce052 fix: Update FormulaSeeder to reorder bottle sizes before seeding 2026-04-24 13:07:19 +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
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
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
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
c2bcb3d47b feat: Implement inventory history feature including dedicated pages, routes, navigation, and permissions. 2026-02-10 11:45:48 +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
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
95a252dab7 feat: add voucher discount functionality and update related calculations across orders 2026-01-09 20:18:58 +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
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
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
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
a41eb23998 feat: add FormulaSeeder to database seeders 2026-01-04 22:30:42 +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
9a1bd66eba feat: Add custom perfume quality option and display quality in order items. 2026-01-03 13:04:57 +07:00
Yoga Pangestu
729d43d7e5 feat: add icon field to ChooseUs factory and implement feature tests for ChooseUs and PerfumeFeature management. 2026-01-02 23:27:46 +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
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
f657a5273f feat: Add Redemption and Reward factories, refactor existing factories to use explicit with methods, and update UserSeeder. 2026-01-02 13:50:19 +07:00
Yoga Pangestu
cc917ac946 feat: Implement restock management, refactor warehouse views, and enhance stock activity logging for sales. 2026-01-02 13:13:34 +07:00
Yoga Pangestu
77d3d25cd9 feat(restock): fitur restock toko 2026-01-02 13:13:23 +07:00
Yoga Pangestu
77babcf44c feat(warehouse): membuat fitur gudang 2026-01-01 15:27:16 +07:00
Yoga Pangestu
a2efc0f349 refactor(purchase): merubah total alur belanja, yang awalnya langsung masuk ke stok yang ada di outlet, sekarang masuk ke gudang terleih dahulu 2026-01-01 15:26:05 +07:00
Yoga Pangestu
e9dfc8142a chore: menghapus fitur permintaan harga 2025-12-27 22:16:39 +07:00
Yoga Pangestu
d239d58029 feat(warehouse): implementasi crud gudang 2025-12-27 17:57:39 +07:00
Yoga Pangestu
3c1b6fc915 feat: Implement article and product show pages, refactor home components, and update migrations 2025-12-26 20:35:03 +07:00
Yoga Pangestu
b469fbff53 feat: Refactor FAQ, add category typing with enum, introduce article categories, and update various Livewire components and views. 2025-12-21 14:10:33 +07:00
Yoga Pangestu
77c16168e3 feat: Add dynamic icon field to 'Choose Us' features, enabling admin management and frontend display, while removing static entries and reducing seeded data. 2025-12-20 14:47:45 +07:00
Yoga Pangestu
0800503453 feat: Implement dedicated perfume product pages and add a new reward tier table for loyalty features. 2025-12-20 09:44:47 +07:00
Yoga Pangestu
d2578fff34 refactor: Remove point_per_ml and point_per_pcs fields from catalog entities. 2025-12-20 09:20:55 +07:00
Yoga Pangestu
9bd6997359 feat: Implement testimonial management with dedicated UI abnd database 2025-12-20 07:36:03 +07:00
Yoga Pangestu
4febd74674 feat: Implement member point redemption system with studio verification and enhanced reward management. 2025-12-19 20:41:04 +07:00
Yoga Pangestu
e07a2386cf feat: Implement loyalty reward management with dedicated routes, model, UI, and permissions. 2025-12-18 20:16:37 +07:00
Yoga Pangestu
b132f86ed7 refactor: Migrate loyalty tier system from points to spending and remove tier rewards. 2025-12-18 19:27:50 +07:00
Yoga Pangestu
22af59f641 feat(broadcast): menambahkan kolom baru yaitu link dan menyesuaikan logikanya 2025-12-18 15:27:07 +07:00
Yoga Pangestu
d25dd7b9c3 feat: Allow vouchers to be assigned to specific loyalty tiers. 2025-12-18 14:18:12 +07:00
Yoga Pangestu
36004254c9 Remove SetStockOpnameToProcess command and its schedule, default stock_opname status to PROCESS, and schedule stock-opname:generate for the 25th. 2025-12-17 18:56:28 +07:00
Yoga Pangestu
307cdeec44 feat(seeders): Add slug generation for brands and categories in their respective seeders for improved URL handling. 2025-12-14 16:39:52 +07:00
Yoga Pangestu
06921096ba refactor(factories): Update name generation in Brand and Category factories to use company names, and add user_id to Employee factory for better data association 2025-12-14 16:37:59 +07:00
Yoga Pangestu
77d91b977f feat(faq): implemntasi testing
- kasih return type
- menyesuaikan factory
- mengganti modalName
- menyesuaikan seeder
- menyesuaikan panggil component
2025-12-10 13:26:44 +07:00