Commit Graph

15 Commits

Author SHA1 Message Date
HarithaRandunu 1a502767ba Add Stock Tracking endpoint to Inventory
Adds GET /client/inventory/stock-movements, a unified read-only ledger
flattening every GRN line, sale line and return across all products
into one shape for the new Stock Tracking tab's table.
2026-10-09 14:22:08 +05:30
HarithaRandunu 2eb88b058e Add inventory management features including Sales, Stock Returns, and Suppliers
- Implement Sale and SaleItem models for tracking sales transactions.
- Create StockReturn model to manage stock adjustments for various reasons.
- Introduce Supplier model to represent suppliers of products.
- Develop InventoryRepository for CRUD operations on products, suppliers, sales, and stock returns.
- Implement InventoryService to handle business logic for inventory management.
- Update TenantDbContext to include new models and relationships.
- Enhance ProfitLossRepository to account for sales, purchases, and stock returns in profit and loss calculations.
- Modify Program.cs to register new inventory-related services.
2026-10-07 15:43:20 +05:30
ashan_rusiru f96db48ec2 Merge pull request 'Feat/booking new 0928' (#4) from feat/booking-new-0928 into dev
Reviewed-on: #4
2026-10-06 10:51:56 +00:00
ashan_rusiru b1fa7d9774 Merge branch 'dev' into feat/booking-new-0928 2026-10-06 10:51:50 +00:00
kalana_Thilakarathna a7b3b21e5c Merge pull request 'Merge pull request 'Merge pull request 'Add CI/CD workflow for automated production deployment' (#1) from production into dev' (#2) from dev into production' (#3) from production into dev
Reviewed-on: #3
2026-10-06 10:50:57 +00:00
ashan_rusiru 462e13ae99 Merge pull request 'Merge pull request 'Add CI/CD workflow for automated production deployment' (#1) from production into dev' (#2) from dev into production
Reviewed-on: #2
2026-10-06 10:50:08 +00:00
ashan_rusiru 8d51a43444 Merge branch 'production' into dev
CI/CD - Vijaya Core / Build & Deploy (pull_request) Failing after 13m12s
2026-10-06 10:49:46 +00:00
Kalana B. Thilakarathna b812634f8e appsettings update 2026-10-06 16:19:13 +05:30
kalana_Thilakarathna 5d262424ae Merge pull request 'Add CI/CD workflow for automated production deployment' (#1) from production into dev
Reviewed-on: #1
2026-10-06 09:44:47 +00:00
Kalana B. Thilakarathna 0c14ad7e55 Add CI/CD workflow for automated production deployment
Added ci-cd.yml GitHub Actions workflow to automate CI/CD for Vijaya Core. Triggers on merged PRs to production, builds and deploys linux-x64 self-contained app, manages service lifecycle, and ensures correct permissions and service status.
2026-10-06 15:11:23 +05:30
HarithaRandunu 51f0021e27 feat: Enhance booking functionality with invoice management and dashboard summary
- Added customerId to guest booking requests for better identification.
- Implemented new endpoints for managing booking invoices and dashboard summaries.
- Created BookingInvoice and BookingDashboardSummary DTOs to support new features.
- Updated Booking and BookingInvoice models to include payment method and timestamps.
- Enhanced BookingService to handle invoice creation upon payment confirmation.
- Modified BookingRepository to support CRUD operations for BookingInvoice.
- Updated TenantDbContext to include BookingInvoice DbSet and relevant configurations.
- Improved error handling and validation for booking completion and payment processes.
2026-10-01 03:46:03 +05:30
HarithaRandunu 6abef835e8 Add PricePerHour to booking requests and update validation logic 2026-09-30 11:41:57 +05:30
HarithaRandunu 7d8a8478ff Refactor CustomerPlanService to use FacilityRepository, remove PlaceService, and introduce RfidTagService
- Updated CustomerPlanService to replace references to PlaceRepo with FacilityRepository for managing customer plans and associated facilities.
- Removed PlaceService and its related methods, consolidating functionality into FacilityService.
- Added RfidTagService for managing RFID tags, including methods for creating, updating, and setting statuses of tags.
- Updated TenantDbContext to include new DbSet for RfidTags and CustomerPlanFacilities, and adjusted model configurations accordingly.
- Enhanced FacilityService to support new booking modes and validation for facility creation and updates.
2026-09-29 13:02:52 +05:30
Dhananjaya99 bffc9b1686 first commit 2026-09-28 11:44:26 +05:30
Dhananjaya99 721743ae6b ini 2026-09-28 11:34:53 +05:30