9 Commits
Author SHA1 Message Date
safavimohadeseh78 1f61453581 Fix order status transitions and separate preparing from final approval 2026-11-08 12:05:56 +03:30
mohmdsdgandCursor 0903a1c1e9 Ship deploy build for multi-company order items.
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-15 10:38:10 +03:30
mohmdsdgandCursor 63646b9f01 Replace demo admins with a single login and drop fake inbox seed.
Only 09128081392 / 123456 remains as admin; remove seeded internal messages and add a reset-admin script for production databases.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-09 16:25:37 +03:30
mohmdsdgandCursor fd187ea2ee Add global admin checks list and deepen check notification links.
Expose GET /admin/checks with order context, and point admin check alerts to the per-order checks page.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-09 16:17:51 +03:30
mohmdsdgandCursor d4aaa8e997 Rebuild order flow: settle after pricing, notifications, and invoice expiry.
Hide prices until admin sends the invoice, enforce status transitions, add customer/admin SMS+in-app notifications, schedule cash invoice reminders, and ship updated dist/prisma-client/deploy-bundle for git-pull deploys.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-09 12:00:13 +03:30
mohmdsdgandCursor 06e5f48d07 Clarify login OTP message when phone is not registered
Tell the user no account exists and to register, instead of a bare
"user not found" string on the login OTP request path.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-08 16:49:39 +03:30
mohmdsdgandCursor 345a4a4708 Add SMS OTP, harden auth, and fix order/checkout server bugs.
Ship 4-digit OTP with rate-limit attempts, Tehran-safe expiry/rass math, larger JSON body limit for check images, and safer order pricing/status guards. Include rebuilt dist for prebuilt deploy.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-08 14:55:26 +03:30
mohmdsdgandCursor b121797263 Support LiteSpeed /server path via GLOBAL_PREFIX
Allow Nest prefix server/api and overlay dist from git onto the deploy bundle so proxy paths match without a full retar.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-06 09:55:57 +03:30
mohmdsdgandCursor cbcea58e94 Deploy via committed dist: local Nest build, server runs with .env
Build on the developer machine without Docker, commit dist/, and run on the server with Dockerfile.dist plus compose env_file.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-05 21:35:22 +03:30