DeepnaPooja
50d3113c28
Update Po invoice flow.md file
2026-10-21 13:04:44 +05:30
DeepnaPooja
0451a0f418
Add documentation for GRN costing, taxes, and item tracking configuration
2026-10-08 12:54:38 +05:30
DeepnaPooja
edb5fddc3a
Add item tracking and the configuration docs
2026-10-06 13:32:37 +05:30
DeepnaPooja
1c9ca179df
Merge pull request 'Refactor/ride lifecycle' ( #26 ) from refactor/ride_lifecycle into dev
...
Reviewed-on: #26
2026-09-18 06:51:51 +00:00
Kalana B. Thilakarathna
c8c04c357d
refactor plan created
2026-09-18 12:18:00 +05:30
DeepnaPooja
1f6d63a0b3
Add cheque to payment UI
2026-09-18 11:47:34 +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
Kalana B. Thilakarathna
93f2f1bd3b
Refactor sales pipeline: ShopPO, Invoice, SysConfig models
...
Major refactor replacing Sale/Order with ShopPO → Invoice → LoadingSheet flow. Removed legacy Sale/Order models and features; introduced ShopPO, ShopPOItem, Invoice, LoadingSheetOrder, and SysConfig models. Updated related entities, enums, repositories, and controllers. Added new migrations for schema changes and system config. Overhauled business logic and DI registrations. Updated documentation with migration plan.
2026-09-17 10:03:22 +05:30
Kalana B. Thilakarathna
6c40421b2d
Revamp dispatch pipeline and PO cancellation docs
...
Updated documentation to clarify and redesign dispatch pipeline, loading event, and order/invoice lifecycle. Added PO cancellation flow for both Shop and Confirmed POs, introduced new API endpoint for cancellation, and simplified loading sheet model and endpoints. Added new permissions for loading operations, improved auditability, and detailed migration steps. Highlighted open questions on cancellation cascades, permissions, and vehicle capacity checks for future resolution.
2026-09-16 11:30:21 +05:30
Kalana B. Thilakarathna
541f59b15d
Merge branch 'dev' of https://gitea.hexdive.com/New_REP_SYSTEM/ERP_Distribution into dev
2026-09-16 10:57:40 +05:30
Kalana B. Thilakarathna
b68e5043c7
refactor update
2026-09-16 10:57:31 +05:30
DeepnaPooja
436f7c10a0
Merge pull request 'Add invoice collection plan for cash, cheque, and credit payments post-finalization' ( #24 ) from fixes into dev
...
Reviewed-on: #24
2026-09-16 05:12:49 +00:00
Kalana B. Thilakarathna
8739e8e1a7
refactor
2026-09-16 10:41:16 +05:30
Kalana B. Thilakarathna
308be2f5ce
refactor invoice and po life cycle
2026-09-16 10:39:42 +05:30
DeepnaPooja
eccc80eaad
Add invoice collection plan for cash, cheque, and credit payments post-finalization
2026-09-16 10:35:41 +05:30
DeepnaPooja
fb62448e2c
Refactor order invoice lifecycle and ride lifecycle documentation
2026-09-14 11:53:04 +05:30
DeepnaPooja
2000ba67f4
Add refactor order_invoice_lifecycle.md file
2026-09-10 15:53:57 +05:30
DeepnaPooja
b8836a1e87
Add refactor ride lifecylcle plan
2026-09-10 15:53:05 +05:30