Commit Graph

272 Commits

Author SHA1 Message Date
Yoga Pangestu
a9b02a9bca feat: enhance attendance tracking by adding user-specific attendance data and conditional rendering in dashboard and analysis components; introduce AttendanceCard component for better UI management 2026-06-26 15:56:17 +07:00
Yoga Pangestu
c378036691 feat: add new permissions and update role assignments in Permission and Role enums; enhance dashboard and analysis components with conditional rendering based on permissions 2026-06-26 15:23:57 +07:00
Yoga Pangestu
cce733e288 refactor: improve MediaDropzone file handling and input triggering with container-based scoping 2026-06-25 22:41:11 +07:00
Yoga Pangestu
58ba7512a5 refactor: implement error handling and logging in various service methods to enhance transaction safety and improve code robustness 2026-06-25 21:40:21 +07:00
Yoga Pangestu
d19bd8000a refactor: update authorization logic in AppServiceProvider to restrict access for OWNER role 2026-06-25 21:16:12 +07:00
Yoga Pangestu
abe84899c9 refactor: implement error handling in EmployeeAdvanceService methods to ensure transaction safety and improve code robustness 2026-06-25 20:39:36 +07:00
Yoga Pangestu
a3d5ac2eb2 feat: add additional permissions for roles and activity logs in Role enum to enhance access control 2026-06-25 20:39:18 +07:00
Yoga Pangestu
3f510f3d58 feat: introduce AnalysisService and refactor AnalysisController to enhance data retrieval for analysis metrics 2026-06-23 18:29:58 +07:00
Yoga Pangestu
1dc274cce1 feat: enhance dashboard metrics by adding attendance, cash overview, revenue summary, and expense summary 2026-06-23 15:35:37 +07:00
Yoga Pangestu
993a87cc66 feat: enable dynamic date range filtering for all dashboard and analysis metrics 2026-06-23 14:28:25 +07:00
Yoga Pangestu
41ee835f1f feat: implement analysis module with dedicated controller, view, and role-based permissions 2026-06-23 14:15:32 +07:00
Yoga Pangestu
04ee7c3426 feat: refactor dashboard layout by introducing modular StatCard and LowStockCard components 2026-06-23 14:01:07 +07:00
Yoga Pangestu
2a4bcae5ce feat: add browser permission management page for notifications, camera, and location 2026-06-23 13:02:06 +07:00
Yoga Pangestu
4414f2c050 refactor: consolidate order creator and marketing name retrieval into model attributes 2026-06-23 11:10:46 +07:00
Yoga Pangestu
dfd2c5560b refactor: replace hardcoded URL strings with dynamic route helpers across services and frontend components. 2026-06-23 10:49:27 +07:00
Yoga Pangestu
66bdd86b4f refactor: remove unused check_out_photo_path from checkedInOnly state in AttendanceFactory 2026-06-22 20:54:58 +07:00
Yoga Pangestu
f12c7cea75 refactor: remove supplier permissions from Role enum to streamline access control 2026-06-22 19:28:11 +07:00
Yoga Pangestu
dc72033bd9 refactor: replace Builder import with Eloquent\Builder for improved clarity in PayrollAdjustment model 2026-06-22 19:08:55 +07:00
Yoga Pangestu
da879eb1f3 refactor: exclude users with the developer role from employee pagination query for improved data management 2026-06-22 18:31:38 +07:00
Yoga Pangestu
e3b138d410 refactor: update toggleStatus method in EmployeeController to accept validated request data for improved status management 2026-06-22 18:20:42 +07:00
Yoga Pangestu
86956b1c9f refactor: add methods for retrieving assignable roles and their values in Role enum, and enhance Permission enum with values method for improved role management 2026-06-22 18:12:43 +07:00
Yoga Pangestu
da3e3a6895 refactor: enhance permission and role management by introducing group categorization for permissions and streamlining role permission assignments for improved maintainability 2026-06-22 17:57:18 +07:00
Yoga Pangestu
9a35c1cae2 refactor: remove unused docblocks in CustomerService and add getSelectOptions method for enhanced customer data retrieval 2026-06-22 15:18:07 +07:00
Yoga Pangestu
8159e45e3a refactor: remove unused docblocks in SupplierService and add getSelectOptions method for improved supplier data retrieval 2026-06-22 15:09:53 +07:00
Yoga Pangestu
4f7290711d refactor: update database connection settings in phpunit.xml and clean up CategoryService by removing unused docblocks and reorganizing sorting logic for improved clarity 2026-06-22 15:02:04 +07:00
Yoga Pangestu
27c5b5fffa refactor: streamline enum management and enhance role assignment logic in EmployeeController for improved maintainability 2026-06-22 14:41:52 +07:00
Yoga Pangestu
480e173d12 refactor: update route references for system settings in SettingController and AppSidebar for consistency 2026-06-22 14:00:56 +07:00
Yoga Pangestu
a89922fea6 refactor: enhance attendance penalty application by utilizing query scopes for employee status and payroll period checks 2026-06-22 13:58:07 +07:00
Yoga Pangestu
0fabc7b280 refactor: utilize query builder for LeaveRequest and EmployeeAdvance status checks across multiple services for improved consistency and readability 2026-06-22 13:42:41 +07:00
Yoga Pangestu
6d6de5fa4b refactor: standardize enum case naming and update route permissions for consistency across the application 2026-06-22 13:24:53 +07:00
Yoga Pangestu
d8a403daa9 refactor: streamline active product retrieval by utilizing query builder for improved clarity and maintainability 2026-06-22 13:07:49 +07:00
Yoga Pangestu
f38f61fe45 refactor: standardize variable naming in query closures across service classes for improved readability 2026-06-22 12:53:09 +07:00
Yoga Pangestu
f83def0e8a perf: implement batch-fetching for variant prices to optimize query performance in OrderService and HomeController 2026-06-22 12:40:58 +07:00
Yoga Pangestu
747836be91 refactor: replace individual attribute assignments and save calls with mass update() calls across service classes 2026-06-22 12:26:38 +07:00
Yoga Pangestu
b88c2b4701 refactor: implement and utilize eloquent scopes for common model status queries across the application 2026-06-22 12:15:08 +07:00
Yoga Pangestu
5119dd7208 refactor: encapsulate password update and push subscription logic within dedicated services 2026-06-22 12:08:20 +07:00
Yoga Pangestu
60142c5aa8 refactor: extract validation logic into FormRequests for verification and push subscription controllers 2026-06-22 12:00:46 +07:00
Yoga Pangestu
3e5ffef2d8 feat: implement DashboardService and refactor active scope usage in services 2026-06-22 11:48:13 +07:00
Yoga Pangestu
1ffb913fe8 refactor: refactor CashTransaction model logic into helper methods and update best practice documentation for Eloquent attributes 2026-06-22 11:39:40 +07:00
Yoga Pangestu
0986ec780b refactor: standardize model structure, normalize bidirectional relations, and update documentation. 2026-06-22 11:26:47 +07:00
Yoga Pangestu
8ce493ebf2 refactor: update DashboardController to use imported models for product and category counts 2026-06-22 11:14:15 +07:00
Yoga Pangestu
4a13297cb7 feat: enhance dashboard with marketplace summary and additional product statistics for improved analytics 2026-06-22 10:43:33 +07:00
Yoga Pangestu
ad73e8237c refactor: update storePriceTypeOptions to exclude HARGA_MODAL from available price types for improved pricing logic 2026-06-21 16:06:14 +07:00
Yoga Pangestu
322af0c1e8 refactor: remove STOCKS_VIEW permission from ADMIN_BAHAN_BAKU role for updated permission management 2026-06-21 15:57:31 +07:00
Yoga Pangestu
19675aa057 feat: add CheckInRequest and CheckOutRequest classes for attendance management with validation rules 2026-06-21 15:48:56 +07:00
Yoga Pangestu
60e87803d8 feat: add new permissions and update related functionality for owner verifications and stock management 2026-06-21 15:44:03 +07:00
Yoga Pangestu
245127c921 feat: add submit URL to EmployeeForm component for employee creation functionality 2026-06-21 15:31:24 +07:00
Yoga Pangestu
4cbd296c0c feat: add submittedBy relationship to Cutting model and enhance notification system for cutting updates and deletions 2026-06-21 15:16:58 +07:00
Yoga Pangestu
50f9328ebc feat: implement owner verification process with new status and related functionality for improved stock management 2026-06-21 14:51:15 +07:00
Yoga Pangestu
5e71277056 feat: add harga_modal price type and related logic for improved stock management and pricing accuracy 2026-06-21 14:08:53 +07:00
Yoga Pangestu
07e9a4ab18 refactor: remove verified cuttings display and related logic from StockController and StockPendingSection for improved clarity and focus on pending cuttings 2026-06-21 13:32:04 +07:00
Yoga Pangestu
e76a117abb refactor: adjust material usage calculations to account for remaining material across Cutting components for improved accuracy in cost and usage representation 2026-06-21 13:25:51 +07:00
Yoga Pangestu
fc234a6afd refactor: remove length unit handling from CuttingMaterial and related components for improved clarity and consistency in material usage representation 2026-06-21 12:59:11 +07:00
Yoga Pangestu
ec80f2145b refactor: remove ProductPendingAction and ProductStatus enums, update related references in Product model and services for improved code clarity and maintainability 2026-06-21 12:36:36 +07:00
Yoga Pangestu
13f2c6d745 refactor: standardize material usage and remaining material precision to two decimal places across CuttingService and related components for improved consistency 2026-06-21 12:23:51 +07:00
Yoga Pangestu
3bb6baffa6 feat: enhance raw material stock display by adding breakdown by unit in DashboardController and updating Dashboard.vue for improved inventory insights 2026-06-21 12:15:18 +07:00
Yoga Pangestu
e4b475cd82 feat: add stock management functionality by introducing StockController and updating AppSidebar to include stock menu item for improved inventory handling 2026-06-21 11:53:41 +07:00
Yoga Pangestu
04897cb3bd refactor: remove status check in appendCostPreview method to streamline cost calculation in CuttingService and update labels for material cost in CuttingPosForm for improved clarity 2026-06-21 11:38:14 +07:00
Yoga Pangestu
175e0dc5af refactor: update material usage and remaining material precision to four decimal places across cutting management components for improved accuracy 2026-06-21 11:02:54 +07:00
Yoga Pangestu
9c205cf3d0 feat: enhance cutting management by adding draft materials and results functionality, improving user experience with new API endpoints and UI components for better material handling 2026-06-21 10:29:45 +07:00
Yoga Pangestu
6022f93d4b refactor: simplify LeaveRequest handling by removing unnecessary permission checks and validation methods, streamline service methods, and enhance UI components for better user experience 2026-06-21 01:39:27 +07:00
Yoga Pangestu
0cb93c4e05 refactor: update AttendanceController and related components to use new CheckInRequest and CheckOutRequest classes, streamline attendance handling by removing location tags, and enhance UI components for better user experience 2026-06-21 01:35:30 +07:00
Yoga Pangestu
b7fddf0597 refactor: update EmployeeController to use ToggleStatusRequest for status toggling and streamline EmployeeService methods for improved validation and clarity 2026-06-21 01:16:22 +07:00
Yoga Pangestu
0803cbeb96 refactor: consolidate payroll management by merging PayrollPeriodController into PayrollController, enhancing data handling and UI components for improved functionality 2026-06-21 01:02:12 +07:00
Yoga Pangestu
50eaced126 feat: enhance employee advance management by adding status filtering, improving pagination, and implementing new modal components for better user interaction 2026-06-21 00:41:56 +07:00
Yoga Pangestu
f08ba25686 refactor: remove unused expense components and streamline expense deletion logic for improved code clarity 2026-06-21 00:24:21 +07:00
Yoga Pangestu
802c4e36c0 feat: implement cash transaction management with deposit and withdrawal requests, enhance UI components for better user experience 2026-06-21 00:21:27 +07:00
Yoga Pangestu
256b13ad73 feat: add prices relationship to ProductVariant model and update related services and UI for improved product pricing management 2026-06-21 00:09:23 +07:00
Yoga Pangestu
ab03d5f0b9 refactor: streamline product management by removing unused components, enhancing form structure, and integrating category service for improved data handling 2026-06-20 23:54:17 +07:00
Yoga Pangestu
98e3ffefc7 feat: enhance raw material management with stock status filtering and improved form structure 2026-06-20 22:46:16 +07:00
Yoga Pangestu
d3a33c46f6 feat: add ToggleStatusRequest for handling status updates with validation rules 2026-06-20 22:27:59 +07:00
Yoga Pangestu
3d2d51f85e refactor: rename 'Pemasok' to 'Supplier' in SupplierController and remove unused supplier-related components for cleaner code structure 2026-06-20 22:13:21 +07:00
Yoga Pangestu
2a6d4afdee refactor: remove unused imports and improve SQL query formatting in DashboardController for cleaner code 2026-06-20 21:48:37 +07:00
Yoga Pangestu
21adde11fd style: refine layout and formatting in Index.vue for improved readability and consistency 2026-06-20 21:48:26 +07:00
Yoga Pangestu
45f28e69ef feat: enhance Dashboard with new statistics and visualizations, including low stock alerts, monthly cash flow, and employee attendance summaries 2026-06-20 20:42:57 +07:00
Yoga Pangestu
56ee409332 feat: enhance Dashboard component with detailed statistics and charts for improved data visualization and user insights 2026-06-20 19:57:02 +07:00
Yoga Pangestu
ee8949947f feat: add order detail view and service method for enhanced order management and user experience 2026-06-20 19:07:40 +07:00
Yoga Pangestu
57bdc43a5d refactor: remove categories view permission from Role enum to simplify permission management 2026-06-20 13:47:18 +07:00
Yoga Pangestu
fec7cca207 refactor: remove unnecessary product permissions from Role enum to streamline access control 2026-06-20 12:49:20 +07:00
Yoga Pangestu
6273d1a31d feat: integrate homepage settings management in Admin and HomeController, enhancing homepage configuration capabilities 2026-06-20 12:04:58 +07:00
Yoga Pangestu
67ee140ba7 feat: add favicon support and update related configurations in SystemService, SystemRequest, and views for improved branding 2026-06-20 11:01:32 +07:00
Yoga Pangestu
9df8fe1ce2 feat: enhance cutting management by adding total result pieces and material usage display in Cutting components and updating related services 2026-06-20 10:47:21 +07:00
Yoga Pangestu
3cdabfae30 refactor: remove role-based access check in EmployeeAdvanceController pay method to simplify authorization logic 2026-06-20 10:39:37 +07:00
Yoga Pangestu
7423046057 feat: add transaction type for cash withdrawals and deposits in CashService to enhance transaction clarity 2026-06-20 10:32:35 +07:00
Yoga Pangestu
3308a3790a refactor: remove completed cuttings functionality from CuttingController and related components to streamline cutting management 2026-06-19 23:37:20 +07:00
Yoga Pangestu
81c072e753 feat: add pending leave requests and employee advances notifications to sidebar menu items, enhancing user awareness of outstanding tasks 2026-06-19 22:01:08 +07:00
Yoga Pangestu
33ddf5b73d refactor: clean up attendance-related components by removing unused permissions and optimizing template structure for better readability 2026-06-19 21:44:48 +07:00
Yoga Pangestu
0b4418862d feat: implement PhoneNumber validation rule across multiple request classes to ensure consistent phone number formatting 2026-06-19 21:37:08 +07:00
Yoga Pangestu
e55df2cd4f feat: update EmployeeRequest validation rules to require join_date, base_salary, and employment_status only for non-owners; enhance EmployeeForm.vue to reflect required fields in the UI 2026-06-19 21:13:03 +07:00
Yoga Pangestu
5dc24b1494 feat: implement product approval workflow by adding verification, rejection, and approval functionalities, including UI updates and permission checks 2026-06-19 20:53:42 +07:00
Yoga Pangestu
2a2cc0fb96 feat: add shipping cost field to purchase management, including validation, calculations, and UI updates for total cost 2026-06-19 19:19:50 +07:00
Yoga Pangestu
db3f6887ea feat: add sewing and other cost fields to cutting management, including validation, calculations, and UI updates for total production cost 2026-06-19 19:11:58 +07:00
Yoga Pangestu
2db6dfece9 feat: enhance cutting management by adding result prices handling, including validation and calculations for total material cost and cost per unit 2026-06-19 19:04:23 +07:00
Yoga Pangestu
e45307a328 feat: add CASHIER role to Role enum with associated permissions for attendance, customers, products, orders, and payroll management 2026-06-19 16:56:02 +07:00
Yoga Pangestu
070ac5b953 refactor: remove CUTTINGS_VIEW and CUTTINGS_VERIFY permissions from Role enum to simplify access control 2026-06-19 14:01:20 +07:00
Yoga Pangestu
5b7da76fc8 refactor: streamline user profile update process by replacing individual field assignments with updateOrCreate method 2026-06-19 13:58:11 +07:00
Yoga Pangestu
55b779c76e feat: implement attendance management features including penalty application, reminders, and HR settings management 2026-06-18 01:52:50 +07:00
Yoga Pangestu
fe7a3e4813 feat: add shipping cost field to order management, including validation, formatting, and UI updates 2026-06-18 01:33:35 +07:00
Yoga Pangestu
8c2be8945d feat: enhance order creation and editing with print options and customer creation event handling 2026-06-18 01:25:53 +07:00
Yoga Pangestu
3a8cb727fa feat: implement API endpoint for customer creation and enhance order form with quick customer creation modal 2026-06-18 01:08:09 +07:00
Yoga Pangestu
1af4af70fa feat: add is_affiliate field to order management, including validation, database migration, and UI updates 2026-06-18 00:57:47 +07:00
Yoga Pangestu
191743632b feat: introduce PaymentType enum and integrate payment type selection in order management, including validation and UI updates 2026-06-18 00:33:39 +07:00
Yoga Pangestu
91f7858cfe feat: add cash withdrawal functionality, including permission, controller method, and UI updates 2026-06-18 00:16:49 +07:00
Yoga Pangestu
cb61384a4e refactor: remove RAW_MATERIALS_VIEW permission from Role enum to streamline access control 2026-06-17 23:19:18 +07:00
Yoga Pangestu
c86af4ab91 feat: add tiktok_order_id and shopee_order_id fields to order management, including validation, display, and search functionality 2026-06-17 23:18:06 +07:00
Yoga Pangestu
b176854bc3 refactor: update marketplace fee structure for TikTok and Shopee, replacing old fee keys with new ones and adjusting related settings 2026-06-17 22:58:36 +07:00
Yoga Pangestu
d682f9e309 feat: grant attendance, leave, advance, and payroll permissions to the non-operator role 2026-06-14 16:44:21 +07:00
Yoga Pangestu
69d2212d64 refactor: restrict marketing role permissions and add employee advances and payroll access 2026-06-14 16:43:46 +07:00
Yoga Pangestu
2dab1efeae feat: add CuttingCompletedSection and implement rejection and reset workflow for cutting status transitions 2026-06-14 16:12:49 +07:00
Yoga Pangestu
1de9d32136 refactor: implement strict role-based access control and scoped data visibility for finance and HR operations 2026-06-14 15:49:51 +07:00
Yoga Pangestu
36124c6535 feat: add CUTTINGS_COMPLETE permission to Role enum 2026-06-14 15:47:55 +07:00
Yoga Pangestu
198ec48ba1 fix: update purchase notification logic and filter active raw materials in inventory alerts 2026-06-14 15:43:33 +07:00
Yoga Pangestu
6c8993c9a9 refactor: update role permissions by adding raw materials access and refining inventory and operations modules 2026-06-14 15:36:33 +07:00
Yoga Pangestu
175cb4acab refactor: make employee employment fields nullable and update related salary calculations and display logic 2026-06-14 15:29:08 +07:00
Yoga Pangestu
c140192453 feat: prevent duplicate pending leave requests and restrict submission UI when a pending request exists 2026-06-14 14:58:25 +07:00
Yoga Pangestu
46cb2c3588 refactor: remove photo path columns from attendance schema and simplify validation rules 2026-06-14 14:53:19 +07:00
Yoga Pangestu
d076df9d72 feat: implement CRUD functionality for payroll adjustments including update and delete operations 2026-06-14 14:38:38 +07:00
Yoga Pangestu
e6ed485718 refactor: remove photo attachment functionality from employee advances module 2026-06-14 13:48:48 +07:00
Yoga Pangestu
c40e9e5e87 fix: enforce cash balance validation, add due date constraint, and improve error message feedback in finance modules 2026-06-14 13:36:25 +07:00
Yoga Pangestu
4f23af869f feat: add stock availability validation during order processing and display specific error messages in POS form 2026-06-14 02:59:29 +07:00
Yoga Pangestu
67439af903 feat: add category filter to product index page 2026-06-14 02:54:06 +07:00
Yoga Pangestu
d27ac7ed6f feat: expose default password in auth props and display it in reset password dialogs 2026-06-14 02:51:11 +07:00
Yoga Pangestu
691916e6de feat: implement role management system with CRUD interface and permission redefinitions 2026-06-14 02:45:31 +07:00
Yoga Pangestu
cffea55157 refactor: restrict role-based permissions and update employee management flow accordingly 2026-06-14 02:30:34 +07:00
Yoga Pangestu
26463c02a3 feat: add dynamic logo and login cover images via system settings and clean up legacy role migration logic 2026-06-14 02:05:35 +07:00
Yoga Pangestu
502f007048 feat: replace welcome page with new home page and add HomeController 2026-06-14 01:57:03 +07:00
Yoga Pangestu
d50310c078 feat: replace welcome page with new Home controller and product catalog view, while updating date formatting and Vite config 2026-06-14 01:51:44 +07:00
Yoga Pangestu
544afe7334 feat: implement interactive product storefront with cart, filtering, and dark mode support 2026-06-14 01:35:39 +07:00
Yoga Pangestu
c22252f44c feat: implement push notification system with web-push integration and subscription management 2026-06-14 00:08:06 +07:00
Yoga Pangestu
1805c64428 feat: implement cutting verification workflow with stock adjustment and rejection notes 2026-06-13 14:28:15 +07:00
Yoga Pangestu
837c930c4f feat: implement comprehensive material and product stock management logic in CuttingService 2026-06-13 14:03:12 +07:00
Yoga Pangestu
1e2d81a86d feat: add CuttingInProgressSection to display active cuttings on index page 2026-06-13 13:54:15 +07:00
Yoga Pangestu
a3c85b856c fix: clear media relation on model after file upload to ensure fresh data retrieval 2026-06-13 11:58:05 +07:00
Yoga Pangestu
c30fe015e2 Refactor order service to utilize new marketplace snapshot structure. Update create and update methods to call buildOrderSnapshot with total amount and line items for improved fee calculation. Introduce lineItemsForSnapshot method for consistent item formatting in snapshots. 2026-06-13 01:27:53 +07:00
Yoga Pangestu
7d721cab31 Refactor marketplace settings to use structured fee rules. Update MarketplaceRequest, MarketplaceService, and MarketplaceSettings to handle fees as arrays with scope and value type. Enhance frontend components to accommodate new fee structure and validation logic for improved user experience. 2026-06-13 01:20:12 +07:00
Yoga Pangestu
584387504c Refactor order management to remove marketplace fee handling. Update OrderRequest, Order model, and related services to utilize marketplace settings snapshot instead. Adjust frontend components and TypeScript types accordingly for consistency in order processing. 2026-06-13 00:56:24 +07:00
Yoga Pangestu
64088c82bb Refactor order and payroll models to replace 'net_amount' with 'total_amount'. Update related methods, migrations, factories, and frontend components to ensure consistent handling of total amounts across the application. 2026-06-13 00:31:53 +07:00
Yoga Pangestu
521e8c5538 Implement stock warning functionality for products and raw materials. Add minStock method to RawMaterialUnit enum and ProductVariant model. Enhance ProductService and RawMaterialService with stockWarningGroups method to identify items below minimum stock levels. Update admin index pages to display stock warning groups in MasterOutOfStockCatalogSection component. 2026-06-13 00:24:05 +07:00
Yoga Pangestu
c757b3c9b2 Update dependencies and enhance out-of-stock product management. Upgrade @lucide/vue to version 1.18.0 in package.json and package-lock.json. Implement outOfStockGroups method in ProductService and RawMaterialService to retrieve out-of-stock items. Add MasterOutOfStockCatalogSection component for displaying out-of-stock products in the admin interface, and integrate it into the products and raw materials index pages. 2026-06-13 00:09:27 +07:00
Yoga Pangestu
e77f0ebc8a Refactor price handling in product and raw material requests, models, and migrations to use integers instead of decimals. Update validation rules and data types in related TypeScript files for consistency across the application. 2026-06-12 23:37:44 +07:00
Yoga Pangestu
4c91834389 Enhance order and purchase management by implementing draft item functionality. Update OrderController and PurchaseController to handle draft items for users, allowing for better cart management. Refactor OrderService and PurchaseService to include methods for syncing and removing draft items. Update related request classes and models to support user associations. Modify frontend components to restore draft items and synchronize quantities, improving user experience during order and purchase creation. 2026-06-12 23:33:17 +07:00
Yoga Pangestu
eb2047a3e2 Implement FlashesEntityMessage trait across multiple controllers for consistent flash messaging. Update flash messages in various methods to utilize the new trait, enhancing code maintainability and readability. Additionally, add attribute methods in request classes for improved validation feedback. 2026-06-12 22:48:23 +07:00
Yoga Pangestu
1e32837d76 Remove tiktok_shop and shopee_shop URL and ID fields from MarketplaceRequest, MarketplaceService, MarketplaceSettings, and related database migration. Update MarketplaceSection and other components to reflect these changes, ensuring a cleaner and more focused marketplace settings structure. 2026-06-12 15:55:12 +07:00
Yoga Pangestu
93992a0d3a Add thermal printer integration with USB and Bluetooth support. Implement receipt printing functionality using @point-of-sale libraries. Create UI components for printer connection management and order receipt printing. Update OrderStatus and app settings to accommodate new features. 2026-06-12 14:52:54 +07:00
Yoga Pangestu
5233890030 Update SystemRequest, SystemService, and SystemSettings to require address, email, phone, and about_app fields. Modify database migration to set default values for new fields. Enhance SystemSection component to include address input and update TypeScript definitions accordingly. 2026-06-12 13:24:53 +07:00
Yoga Pangestu
1d1f0e7941 Add activity logging features by integrating Spatie's laravel-activitylog package. Update Permission and Role enums to include activity log permissions. Implement activity logging in Login and Logout controllers. Enhance sidebar navigation to include activity logs section. Update models to interact with activity logs through InteractsWithActivityLog concern. 2026-06-12 11:10:36 +07:00
Yoga Pangestu
ec8b49be05 Add cutting management features including Cutting, CuttingMaterial, and CuttingResult models. Implement CuttingController for CRUD operations and request validation. Introduce CuttingStatus enum for status management and enhance sidebar navigation for cuttings. Integrate UI components for creating, editing, and listing cuttings, along with permissions in the Permission and Role enums. 2026-06-12 10:56:50 +07:00
Yoga Pangestu
7a0ac4f4d1 Add order management features including Order and OrderItem models, OrderController for CRUD operations, and request validation. Implement OrderChannel and OrderStatus enums for order categorization and status management. Enhance sidebar navigation for orders and integrate UI components for creating, editing, and listing orders, along with permissions in the Permission and Role enums. 2026-06-12 10:34:50 +07:00
Yoga Pangestu
04e57c0dd1 Add purchase management features including Purchase and PurchaseItem models, PurchaseController for CRUD operations, and corresponding request validation. Implement UI components for creating, editing, and listing purchases, along with permissions in the Permission and Role enums. Enhance sidebar navigation for purchases and integrate media handling for purchase items. 2026-06-12 00:09:20 +07:00
Yoga Pangestu
f8322566da Add media management features across various models and services. Implement media handling in Product, RawMaterial, Attendance, CashTransaction, EmployeeAdvance, and Expense models. Introduce ValidatesMediaUploads trait for consistent media validation in requests. Enhance services to support media synchronization and retrieval, improving user experience with image uploads and management. 2026-06-11 19:32:33 +07:00