DeepnaPooja
209ee7da2d
fe integration for notification system with context, components, and API integration
2026-10-20 16:53:15 +05:30
Kalana B. Thilakarathna
eb0b042f0c
feat: integrate payment functionality with new payment sheet and enhance supplier payments UI
CI/CD - ERP Distribution / Build & Deploy Frontend (pull_request) Successful in 1m51s
CI/CD - ERP Distribution / Build & Deploy Backend (pull_request) Failing after 10m54s
2026-10-19 22:02:15 +05:30
Kalana B. Thilakarathna
a980e636f5
Merge branch 'dev' of https://gitea.hexdive.com/New_REP_SYSTEM/ERP_Distribution into dev
CI/CD - ERP Distribution / Build & Deploy Backend (pull_request) Failing after 11m57s
CI/CD - ERP Distribution / Build & Deploy Frontend (pull_request) Failing after 15m40s
2026-10-19 21:36:08 +05:30
Kalana B. Thilakarathna
b992d07689
feat: add supplier payment and allocation models, API, and frontend components
...
- Created `SupplierPayment` and `SupplierPaymentGRN` models for managing supplier payments and their allocations.
- Implemented API endpoints for listing and creating supplier payments.
- Developed frontend components for displaying and recording supplier payments, including a dialog for payment creation.
- Integrated GRN allocations into the payment creation process, ensuring total allocations match the payment amount.
- Added pagination and loading states for the payments list.
2026-10-19 21:36:01 +05:30
DeepnaPooja
a4d58f3377
Merge pull request 'Fix changes' ( #70 ) from fix-changes into dev
...
CI/CD - ERP Distribution / Build & Deploy Backend (pull_request) Failing after 11m33s
CI/CD - ERP Distribution / Build & Deploy Frontend (pull_request) Failing after 15m20s
Reviewed-on: #70
2026-10-19 16:45:55 +05:30
Kalana B. Thilakarathna
87c807c16c
feat: add cheque books and received cheques management
...
CI/CD - ERP Distribution / Build & Deploy Backend (pull_request) Failing after 11m8s
CI/CD - ERP Distribution / Build & Deploy Frontend (pull_request) Failing after 14m49s
- Implemented ChequeBooksPage for viewing and filtering cheque books.
- Added NewReceivedChequePage for recording received cheques.
- Created ReceivedChequesPage for listing and managing received cheques.
- Introduced API endpoints for bank accounts, cheque books, and received cheques.
- Defined types for payments including bank accounts, cheque books, and received cheques.
2026-10-19 16:09:05 +05:30
DeepnaPooja
3c75f9786e
Add multi-series charts and enhance dashboard functionality
2026-10-19 15:51:39 +05:30
Kalana B. Thilakarathna
531b3a7fef
Redesign login UI, add theme toggle, refactor user update
...
- Redesigned login page with two-panel layout and branding
- Added HexaDistro logo and theme toggle to sidebar/header
- Refactored user update: roles via update endpoint, removed assignRole API/controller
- Extended UpdateUserRequest for username, role, password changes
- UserService.UpdateAsync syncs changes with AuthHex, with rollback
- Stock balances client dedupes by itemId-locationId
- Middleware matcher excludes static assets from auth checks
- Improved localStorage clearing for user context
- Added lucide-react for icons
- Minor UI/code cleanups for consistency and UX
2026-10-19 02:20:14 +05:30
Kalana B. Thilakarathna
d9c339949e
conflict fixed
2026-10-18 23:22:04 +05:30
Kalana B. Thilakarathna
0052725b88
feat: add user and role view sheets with detailed information display
...
- Created UserViewSheet component to display user details including username, full name, role, status, and timestamps.
- Created RoleViewSheet component to display role details including name, level, status, creation date, and associated permissions.
- Introduced permissions configuration in a new permissions.ts file, defining categories and permission codes for better management.
- Implemented middleware for authentication, ensuring access control for protected routes.
2026-10-18 23:11:01 +05:30
DeepnaPooja
c5a0992b5d
Fe changes
2026-10-16 15:47:23 +05:30
DeepnaPooja
e5f6aa15b9
Implement Store analytics and api integrations
2026-10-08 16:32:23 +05:30
DeepnaPooja
25b21d6fa8
Refactor GRN configuration page layout
2026-10-08 12:57:48 +05:30
DeepnaPooja
40e890d4ff
Fix GRN UI
2026-10-08 10:40:43 +05:30
DeepnaPooja
ff6f3d3218
Add product reports
2026-10-07 10:41:04 +05:30
DeepnaPooja
3538bb5b0e
Assign a region manager for the route
2026-10-06 15:40:43 +05:30
DeepnaPooja
b75cd01e90
Add region code support
2026-10-06 15:15:04 +05:30
DeepnaPooja
92f1aadb81
Add item and GRN tracking forms
2026-10-06 13:28:37 +05:30
DeepnaPooja
d578cbad20
fix routing
2026-10-02 14:18:39 +05:30
DeepnaPooja
bd90a3d68e
dashboard design
2026-09-29 12:08:54 +05:30
DeepnaPooja
e8692b2474
fix the loading sheet view
2026-09-24 17:23:31 +05:30
DeepnaPooja
96e12972b9
fix store profile fields
2026-09-24 14:18:52 +05:30
DeepnaPooja
80db899091
Fix user role bug for invoice actions
2026-09-23 14:01:32 +05:30
DeepnaPooja
ee672da9f7
Add user selection to Shop PO flow
2026-09-23 12:47:53 +05:30
DeepnaPooja
35fa3b19e3
Add loading sheet item selection
CI/CD - ERP Distribution / Build & Deploy Frontend (pull_request) Failing after 13m56s
CI/CD - ERP Distribution / Build & Deploy Backend (pull_request) Failing after 15m12s
2026-09-22 17:03:24 +05:30
DeepnaPooja
7ced279ad5
Add toggle controls and payment API fields
2026-09-18 11:56:11 +05:30
Kalana B. Thilakarathna
03d01d4c4e
name: CI/CD - ERP Core Monorepo
...
on:
pull_request:
branches:
- production
types:
- closed
jobs:
backend-build-and-deploy:
name: Build & Deploy ERP Core Backend
runs-on: linux
if: github.event.pull_request.merged == true
steps:
- name: Checkout code
run: |
git clone \
--depth 1 \
--branch production \
https://oauth2:$ {{ secrets.ERPCORE }}@gitea.hexdive.com/New_REP_SYSTEM/ERP-core.git \
.
- name: Restore backend
run: dotnet restore Backend/ERPCore.sln
- name: Publish backend
run: |
rm -rf /tmp/erpcore-deploy
mkdir -p /tmp/erpcore-deploy
dotnet publish Backend/ERPCore/ERPCore.csproj \
-c Release \
-r linux-x64 \
--self-contained true \
-o /tmp/erpcore-deploy
- name: Stop backend service
run: systemctl stop erpcore.service
- name: Copy backend to deploy folder
run: |
mkdir -p /home/erp/core/publish
rm -rf /home/erp/core/publish/*
cp -r /tmp/erpcore-deploy/* /home/erp/core/publish/
- name: Fix backend ownership and permissions
run: |
chown -R erpuser:erpuser /home/erp/core/publish
find /home/erp/core/publish -type d -exec chmod 755 {} +
find /home/erp/core/publish -type f -exec chmod 644 {} +
chmod +x /home/erp/core/publish/ERPCore
- name: Restart backend service
run: systemctl restart erpcore.service
- name: Verify backend
run: |
systemctl is-active erpcore.service && echo "Backend service running" || echo "Backend service failed"
frontend-build-and-deploy:
name: Build & Deploy ERP Core Frontend
runs-on: linux
needs: backend-build-and-deploy
if: github.event.pull_request.merged == true
steps:
- name: Checkout code
run: |
git clone \
--depth 1 \
--branch Production \
https://oauth2:$ {{ secrets.ERPCORE }}@gitea.hexdive.com/New_REP_SYSTEM/ERP-core.git \
.
- name: Build frontend Docker image
run: docker build -t erpcore-frontend:latest Frontend/erp-system
- name: Stop & remove existing frontend container
run: |
docker stop erpcore-frontend 2>/dev/null || true
docker rm erpcore-frontend 2>/dev/null || true
- name: Start frontend container
run: |
docker run -d \
--name erpcore-frontend \
-p 6702:6702 \
--add-host=host.docker.internal:host-gateway \
-e BACKEND_ORIGIN=http://host.docker.internal:6701 \
--restart unless-stopped \
--memory="512m" \
--cpus="1.0" \
--cap-drop ALL \
--security-opt no-new-privileges \
erpcore-frontend:latest
- name: Remove old frontend images
run: docker image prune -f
- name: Verify frontend
run: |
docker ps --filter name=erpcore-frontend --format "table {{.Names}}\t{{.Status}}\t{{.Ports}}" \
| grep erpcore-frontend && echo "Frontend container running" || echo "Frontend container failed"
2026-09-17 13:59:05 +05:30
DeepnaPooja
6c6d30f4f9
Add RetailPrice and AgencyMarginPercent to PriceListItem and related API updates
2026-09-09 16:32:57 +05:30
DeepnaPooja
58d67495d2
Add supplier claims management components and API integration
2026-09-08 16:14:33 +05:30
DeepnaPooja
508149dab8
Add adjustment functionality to stock API
2026-09-08 13:18:26 +05:30
DeepnaPooja
ef0486829c
Add brand viewing
2026-09-08 11:45:54 +05:30
DeepnaPooja
dfd51b8273
Add user selection for check-in and update API to include user ID
2026-09-04 12:26:59 +05:30
DeepnaPooja
0523dabc5a
Add route to StoresClient and implement updateStatus API method
2026-09-04 11:52:10 +05:30
DeepnaPooja
d0bf5581c5
Update PaymentBody fields in sales.ts
2026-09-03 17:22:49 +05:30
DeepnaPooja
899d04e4eb
Update orders flow
2026-09-03 17:04:13 +05:30
DeepnaPooja
5e48873422
Update sales UI
2026-09-03 16:08:34 +05:30
DeepnaPooja
5f82090272
Update delivery task API
2026-09-03 13:28:48 +05:30
DeepnaPooja
de3dcb8c52
Add dialogs and update API for cancel requests
2026-09-02 16:30:04 +05:30
DeepnaPooja
7cf272e311
Consolidate region management APIs
2026-09-01 15:46:35 +05:30
DeepnaPooja
da9caa855a
add sales visits ui
2026-08-31 13:00:33 +05:30
DeepnaPooja
df27d58089
Add frontend types and API client methods for region management
...
Adds RegionalTargetResponse, RegionalBudgetResponse,
RegionAgencyMapResponse, RegionalTaxRuleResponse,
RegionHierarchyResponse, and RegionDashboardResponse types, plus
setTarget/setBudget/mapAgency/setTaxRule/hierarchy/dashboard methods
on the regions API client, mirroring the new backend endpoints.
Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com >
2026-08-30 22:45:55 +05:30
Kalana B. Thilakarathna
dc7e7a70fc
Add FlatPaymentController with RESTful payment endpoints
...
Introduced FlatPaymentController under Distribution.Features.Payment, providing GET and POST endpoints at /api/payments. Supports listing, retrieving, and creating payments with filtering and error handling. Business logic is delegated to PaymentService.
2026-08-26 20:18:58 +05:30
Kalana B. Thilakarathna
83d3272784
frontend fully integreated with the backend
2026-08-25 23:47:33 +05:30
Kalana B. Thilakarathna
f1c036d1d8
frontend initiatewith shadcn uis
2026-08-25 16:20:50 +05:30