Commit Graph

228 Commits

Author SHA1 Message Date
Yoga Pangestu
dc97b9bc61 feat: enforce minimum value for nego_price and update total calculation logic 2026-08-28 10:56:11 +07:00
Yoga Pangestu
c162ccab04 feat: update order status handling and timestamp on completion 2026-08-28 09:32:15 +07:00
Yoga Pangestu
5927fc4e56 feat: update order timestamps when status is set to completed 2026-08-27 23:57:42 +07:00
Yoga Pangestu
91913633de feat: integrate Spatie Activitylog for activity tracking across models
- Added activity logging functionality to multiple models including CuttingMaterial, Employee, Invoice, and more.
- Implemented `getActivitylogOptions` method to configure logging behavior.
- Updated composer dependencies to include `spatie/laravel-activitylog`.
- Created a custom Activity model extending Spatie's Activity model.
- Added configuration file for activity logging settings.
2026-08-27 23:04:56 +07:00
Yoga Pangestu
76f49e74f5 feat: add photo URLs to product variants for improved media handling 2026-08-25 10:30:33 +07:00
Yoga Pangestu
6e7a4044b6 feat: add total products sold to revenue summary and update dashboard display for marketing roles 2026-08-23 20:12:20 +07:00
Yoga Pangestu
6a196002fb feat: enhance logging functionality to always include specified fields in update logs 2026-08-22 16:26:21 +07:00
Yoga Pangestu
2a0b99c599 feat: implement invoice management features including index, create, update, delete, and print functionalities
- Added InvoiceIndex component for displaying a list of invoices with pagination and search capabilities.
- Created InvoiceShareButton component for sharing invoice details via WhatsApp.
- Developed InvoicePrint component for printing invoice details.
- Defined routes for invoice management including share and print functionalities.
- Implemented InvoiceTest to cover authentication, authorization, and CRUD operations for invoices.
2026-08-22 15:13:28 +07:00
Yoga Pangestu
f562f2babe Refactor SupplierTest to use permission setup function and enhance phone number validation tests
- Introduced `giveSupplierPermissions` function to streamline user permission setup for supplier tests.
- Updated all supplier-related tests to utilize the new permission setup function.
- Enhanced phone number validation tests to accept various formats and special characters.
- Removed redundant tests related to unsupported phone number formats.
- Consolidated tests for supplier creation and updates to improve readability and maintainability.
2026-08-22 13:46:22 +07:00
Yoga Pangestu
fbca04bce6 refactor: streamline toast message handling by chaining return statements 2026-08-20 21:01:11 +07:00
Yoga Pangestu
06b9c91948 feat: enhance getVariants method to support multiple media URLs and conversions for product variants 2026-08-20 18:55:13 +07:00
Yoga Pangestu
9cca0427c8 feat: simplify media handling in getVariants method and enhance price mapping for product variants 2026-08-20 11:28:28 +07:00
Yoga Pangestu
f128ace2ea feat: update purchase management to support decimal quantities and improve data handling 2026-08-20 11:12:38 +07:00
Yoga Pangestu
b85bbb1ba4 feat: enhance purchase and restock management with variant support
- Added existing_material_ids to PurchaseForEdit and RestockForEdit types.
- Introduced RawMaterialVariant and ProductVariantForRestock types for better variant handling.
- Updated PurchaseCreate and PurchaseEdit components to fetch and display raw material variants.
- Enhanced RestockCreate and RestockEdit components to manage product variants dynamically.
- Modified TransactionCreate and TransactionEdit components to support product variants.
- Added routes for fetching active products and raw materials.
2026-08-20 10:48:24 +07:00
Yoga Pangestu
051851b90a feat: enhance media URL generation in getForEdit method to support thumbnail conversion 2026-08-20 09:52:33 +07:00
Yoga Pangestu
9fead3dfa9 feat: update cash overview to use cash account balance and add description for clarity 2026-08-19 20:19:09 +07:00
Yoga Pangestu
cd944403bd feat: add materials count and enhance purchase item display in purchase management 2026-08-19 18:46:21 +07:00
Yoga Pangestu
631330d3b4 feat: refactor PurchaseEdit component to streamline material selection and quantity handling 2026-08-19 18:34:52 +07:00
Yoga Pangestu
0908576ef2 feat: implement FixRawMaterialMediaKeys to correct S3 keys and create media records for RawMaterialPrice 2026-08-19 01:09:52 +07:00
Yoga Pangestu
db656ee9dd feat: enhance search functionality by adding filters for shopee_order_id and tiktok_order_id in paginated method 2026-08-18 14:11:32 +07:00
Yoga Pangestu
4d94fbe7c6 feat: enhance form history logging by restructuring attribute changes and improving data handling in LogsFormHistory and related components 2026-08-17 23:27:24 +07:00
Yoga Pangestu
3e715518fb feat: implement product logging for status changes and updates in ProductService and ProductVariantService 2026-08-17 23:01:00 +07:00
Yoga Pangestu
42f7214efa feat: add monthly retail revenue calculation and display in analysis component 2026-08-17 22:50:20 +07:00
Yoga Pangestu
f32544ccce feat: add new transaction type and update cash transaction handling in TransactionService 2026-08-17 22:42:11 +07:00
Yoga Pangestu
919e8228d2 feat: implement form history logging for CRUD operations and add activity log management interface 2026-08-16 20:41:48 +07:00
Yoga Pangestu
097b7f7192 feat: add cashier role checks to filter data in analysis and dashboard services 2026-08-16 20:00:17 +07:00
Yoga Pangestu
05707aad7d feat: add stok opname management functionality
- Implemented StokOpnameEdit component for editing stock opname entries.
- Created StokOpnameIndex component for listing and managing stock opnames.
- Added StokOpnameCardRow and StokOpnameItemSubRow components for displaying stock opname details.
- Introduced routes for stok opname CRUD operations and actions (submit, verify, reject, cancel).
- Integrated UI components for better user interaction and data presentation.
2026-08-16 19:38:36 +07:00
Yoga Pangestu
28f88bb69c feat: add revenue by stock type calculation and update analysis components 2026-08-16 18:06:05 +07:00
Yoga Pangestu
731c8aa6da feat: enhance transaction management by adding cashier role checks and updating price type logic 2026-08-16 16:20:51 +07:00
Yoga Pangestu
078d4e2461 feat: remove product price deletion logic in update and destroy methods of ProductService and ProductVariantService 2026-08-16 15:31:28 +07:00
Yoga Pangestu
8ea9378c78 feat: update variant and price deletion logic to preserve media collections in ProductService and RawMaterialService 2026-08-16 15:17:32 +07:00
Yoga Pangestu
50ece97933 feat: add getForEdit method to RestockService for enhanced restock item retrieval and media handling 2026-08-16 15:13:34 +07:00
Yoga Pangestu
3535480266 feat: update photo conversion URL handling across services to check for generated conversions before retrieving URLs 2026-08-16 14:39:18 +07:00
Yoga Pangestu
0998c81803 feat: split 'reject' price type into 'reject_capital' and 'reject_selling', update related components and database migration 2026-08-16 14:27:19 +07:00
Yoga Pangestu
0947cf3737 feat: add salary type to cash transaction enum and update related components 2026-08-16 14:26:55 +07:00
Yoga Pangestu
cc3cd03e41 feat: enhance raw material management by adding validation for updates and deletions, and improve error handling in the UI 2026-08-15 22:40:36 +07:00
Yoga Pangestu
6fa9224983 feat: fix raw material photo display in Cutting and Purchase pages by adding conversion URLs 2026-08-15 20:30:04 +07:00
Yoga Pangestu
ef136bd1e7 feat: add total price calculations for raw materials and products in analysis components 2026-08-15 20:16:49 +07:00
Yoga Pangestu
25a316ccf0 feat: add negotiation price to marketing sales calculations and update header label for discounts 2026-08-15 20:03:08 +07:00
Yoga Pangestu
dd3a2aa1eb feat: update material usage and stock fields to use decimal type for improved precision 2026-08-15 20:03:00 +07:00
Yoga Pangestu
a10519ab9d feat: enhance Restock feature by adding photo URLs to Restock model and displaying images in RestockCard 2026-08-15 16:26:12 +07:00
Yoga Pangestu
bac9f79087 feat: enhance AttendanceIndex component by adding 'Belum Pulang' badge and improving check-out display logic 2026-08-15 16:15:40 +07:00
Yoga Pangestu
17273c9479 feat: enhance Employee data structure by adding resign_date and improving salary display in employee columns 2026-08-15 16:12:06 +07:00
Yoga Pangestu
7371a9e517 feat: update notification retrieval to use pagination and enhance loading experience 2026-08-15 15:23:44 +07:00
Yoga Pangestu
41a32b08f2 feat: refactor getForRestock and getForTransaction methods to improve media handling and streamline data retrieval 2026-08-15 14:59:06 +07:00
Yoga Pangestu
0d1e6ba1fe feat: simplify pay method in PayrollPeriodService by removing cash transaction handling 2026-08-15 14:02:21 +07:00
Yoga Pangestu
4758b19d2a feat: add byMonth method to AttendanceController and corresponding service logic 2026-08-15 13:46:30 +07:00
Yoga Pangestu
86cc8637bd feat: remove summary calculation and related component from Transaction management 2026-08-15 13:19:37 +07:00
Yoga Pangestu
ae376342af feat: add delete all notifications feature in NotificationController and update NotificationBell component 2026-08-15 11:09:23 +07:00
Yoga Pangestu
22c9a4cf2a feat: add notification highlight feature to various services and frontend components
- Updated paginated methods in multiple services to accept a highlight parameter for filtering results.
- Modified notification URLs to include the highlight parameter for specific entity IDs.
- Enhanced frontend components to display a message when filtered by notification, with an option to show all entries.
- Implemented mark as read functionality in the notification bell component upon clicking a notification.
- Updated multiple index pages to handle the highlight prop and display relevant messages.
2026-08-15 00:11:40 +07:00