127 Commits
Author SHA1 Message Date
safavimohadeseh78 bdf70a4c05 feat: automatic instant Jibit verification on customer profile update without admin manual approval 2026-11-10 14:33:09 +03:30
safavimohadeseh78 885e51a79b feat: add deposit receipt upload and admin approval/rejection workflow with SMS 2026-11-08 13:26:28 +03:30
safavimohadeseh78andCursor 9769f2ffad feat(convert): let customers list and change pending requests
History is limited to the signed-in customer. Update and delete only apply while the request is still pending.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-11-03 13:04:08 +03:30
safavimohadeseh78andCursor 7b81adc096 fix(price-trigger): store the selected product instead of defaulting to gold
Only a real numeric product id is saved, and an empty alert title no longer falls back to gold.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-11-02 18:20:13 +03:30
safavimohadeseh78 3f59af5a6d change copperConvertPage 2026-11-01 12:42:14 +03:30
safavimohadeseh78 9528056036 feat(shayegan): per-product item code and auto customer Account/Put 2026-10-28 16:51:47 +03:30
safavimohadeseh78 25ee47b473 digipay 2026-10-20 10:11:03 -04:00
safavimohadeseh78 4d0f0f8c8d fix(auth): require verified identity for wallet and gift card 2026-10-20 09:10:01 +03:30
safavimohadeseh78andCursor a42261c06e feat(accounting): add Shayegan as fixed boursecu provider
Wire outbound Invoice/Document sync after confirmed ops, store sync status with timeout lock, and keep SQL credentials out of frontend responses.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-10-05 17:12:43 +03:30
mohmdsdgandCursor 8cee34bfba feat: landing settings, instant withdraw deduct, and OTP site URL
Add has_landing plus landing_* deploy keys, deduct balance on withdraw request, keep app_url for SMS login links, and clarify Zarin rial wallet document titles.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-05 17:01:39 +03:30
mohmdsdgandCursor 0b1e5c687b feat(order): wait for colleague callback before settling wallet
Keep cover orders pending until colleague sts 2/4/6 via callback or 35s poll. Nightly prices:prune also drops old log tables.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-02 15:55:03 +03:30
mohmdsdgandCursor 0adcb5f9d5 Surface specific Jibit identity errors on profile update.
Map Shahkar mismatch, token, unreachable, and duplicate cases to clear Persian messages instead of a generic wait-for-admin toast.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-31 16:52:59 +03:30
mohmdsdgandCursor 1b73305d6f Return admin-approval messages when Jibit profile or card verify is off.
Profile and bank-card save paths now succeed with clear pending-admin copy instead of a validation error when automatic Jibit checks are disabled.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-30 21:35:10 +03:30
mohmdsdgandCursor e059a4709e Apply Tahesab account balances to wallets with admin overwrite control.
Add inbound mande sync on customer import plus per-customer and bulk wallet-sync endpoints so previously linked accounts can catch up.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-30 14:16:36 +03:30
mohmdsdgandCursor 050bd26318 Add gold credit feature gated by SuperAdmin enable_gold_credit.
Port tables, APIs, and overdue cron from goldali, default the flag off, and keep customer routes behind auth.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-30 00:17:01 +03:30
mohmdsdg acf229006e fix transaction bug 2026-08-27 14:01:34 +03:30
mohmdsdg 657c10d1cc added automation 2026-08-23 14:16:00 +03:30
mohmdsdgandCursor 5b2ed2e5fc fix(price-trigger): restrict notifications to SMS only
Remove email/in-app paths and enforce sms action on create/update so
price alerts match the product requirement for SMS-only delivery.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-19 19:02:46 +03:30
mohmdsdgandCursor b0296c6e94 feat(server): evaluate price alerts per product and fix gold discharge rounding
Alerts now bind to a product_id and share one evaluator; displayed gold within a rounding step discharges the full wallet.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-18 22:23:20 +03:30
mohmdsdg bfb8b91133 added trigger for chat sms 2026-08-04 18:59:38 +03:30
mohmdsdg ec0fd28efc fix gift 2026-08-02 16:47:19 +03:30
mohmdsdg eaff9dead2 added gholak 2026-08-01 17:30:14 +03:30
mohmdsdg dcc6ffb3ca added chat 2 2026-07-30 18:06:53 +03:30
mohmdsdg abb778e090 added chat 2026-07-30 15:46:11 +03:30
mohmdsdg 16b947adc5 fix some bugs 2026-07-29 17:00:51 +03:30
mohmdsdg 736d0a4fd1 fix some bugs from accounting 8 2026-07-28 21:01:42 +03:30
mohmdsdg d81cea3d4f fix some bugs from accounting 2026-07-28 17:44:24 +03:30
mohmdsdg 745f7fcfd6 fix some bugs from fee 2026-07-28 10:33:11 +03:30
mohmdsdg 7c68115b39 fix some bugs 2026-07-27 22:09:08 +03:30
mohmdsdg 7d302ecc93 some edits for pargar 2026-07-27 16:05:54 +03:30
mohmdsdg 06b3113b98 fix bug of pargar 2026-07-26 14:15:26 +03:30
mohmdsdg 52ff3a088d fix notif 3 2026-07-24 22:37:48 +03:30
mohmdsdg eacf5181a9 added notif 2 2026-07-23 22:24:39 +03:30
mohmdsdg 8a4a406e66 added zarin 2026-07-23 20:24:58 +03:30
mohmdsdg 8165fc37b8 fix trigger bug 2 2026-07-22 14:15:22 +03:30
mohmdsdg 7d02639917 fix trigger bug 2026-07-22 13:32:26 +03:30
mohmdsdg 133f4156c6 all customer from pargar fixing 3 2026-07-22 01:05:00 +03:30
mohmdsdg 227534a493 fix some bugs 2 2026-07-21 21:23:26 +03:30
mohmdsdg 10a510529d added banning for when amount is under 0 2026-07-20 21:29:30 +03:30
mohmdsdg a809a843b8 fix pargar bug 2026-07-20 15:52:42 +03:30
mohmdsdg 160d6bd923 handled some bugs and adde some feature for banner 2026-07-19 15:53:05 +03:30
mohmdsdg fc9de5198c new feature on sms and some bugs fixed 2026-07-18 22:22:01 +03:30
mohmdsdg b66cd5e8f9 fix profit value after each order 2026-07-18 16:38:46 +03:30
mohmdsdg 45f2d8bf70 fix some bugs 3 2026-07-18 15:30:59 +03:30
mohmdsdg f7edf4e2d3 fix some bugs 2 2026-07-18 15:23:16 +03:30
mohmdsdg 8b1983e0f8 fix some bugs 2026-07-18 15:15:46 +03:30
mohmdsdg eedde65be6 fix some bugs 2026-07-18 15:04:08 +03:30
mohmdsdg 67762e2a0e fix bug 4 2026-07-16 17:29:18 +03:30
mohmdsdg 69538226d2 fix bugs 2026-07-16 14:33:57 +03:30
mohmdsdg 41c2a20fd0 fix ehraz 2026-07-16 11:36:57 +03:30