Commit Graph
73 Commits
Author SHA1 Message Date
mohmdsdgandCursor e4e9c74872 fix(product): separate list and TV visibility toggles
Product active toggle now drives show_in_list; TV has its own endpoint and no longer requires active.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-05 10:16:35 +03:30
mohmdsdgandCursor 3b7db1eb72 feat(tahesab): reset local success flags when remote docs were wiped
Clear tahesab_id on locally successful rows so they re-enter the send queue without touching panel customer codes.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-03 13:43:16 +03:30
mohmdsdgandCursor c802c67e0d feat(tahesab): register remaining panel customers after document sync
After pending docs finish, the same pump writes customers without a code into Tahesab. Inbound import is server-side; the admin only polls status.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-03 10:09:54 +03:30
mohmdsdgandCursor c5fd3b45fe feat(tahesab): pump pending documents slowly from admin, not schedule
Send leftover orders and charges one-by-one with a gap so Tahesab is not rate-limited, skip already-synced rows, and expose start/stop plus progress on existing status APIs.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-02 20:48:14 +03:30
mohmdsdg c27cfabd22 added some feature for accounting 2026-08-30 20:47:26 +03:30
mohmdsdg 283f17561c added some feature for accounting and enhance performance for dashboard 2026-08-30 20:18:48 +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 6b5b490e2b added accounting failing handles 2026-08-27 16:16:20 +03:30
mohmdsdgandCursor c635ab5f5f fix(api): raise admin rate limit and skip throttle on /admin/p
Admin price polling was hitting the shared 60/min IP limit and returning 429 on restore-all.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-25 21:43:29 +03:30
mohmdsdgandCursor 995f6984ed feat(automations): add run-now test endpoint and sends log table
Enable immediate automation test runs without waiting for the scheduled hour, expose send history for debugging, and return all SuperAdmin overlay keys on refresh instead of only enable_automation.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-24 21:46:13 +03:30
mohmdsdgandCursor 7e8979d78d fix(settings): honor per-day trading hours and refresh SuperAdmin overlay
Use trading_hours_by_day for close_price gates, prefer public SuperAdmin fetch, and add refresh endpoint/command so stale last-good cache no longer keeps switches like enable_automation off.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-24 21:22:44 +03:30
mohmdsdg 657c10d1cc added automation 2026-08-23 14:16:00 +03:30
mohmdsdgandCursor 08d51ab1d1 feat(admin): add Montzar partner product list API for settings select
Expose GET /admin/montzar/products using MontzarService::listProductOptions().

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-19 14:02:48 +03:30
mohmdsdgandCursor 341b2da2c9 feat(server): expose settings table API and compose get_settings from SA locks plus local edits
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-18 18:52:29 +03:30
mohmdsdg bd8284e4f8 added setting for user 2026-08-16 22:00:23 +03:30
mohmdsdg acd1c2ea20 added table of co-woeker requests and new features 2026-08-16 20:03:18 +03:30
mohmdsdg bfb8b91133 added trigger for chat sms 2026-08-04 18:59:38 +03:30
mohmdsdg 020219f887 added rahimi 2026-08-03 18:44:27 +03:30
mohmdsdg eaff9dead2 added gholak 2026-08-01 17:30:14 +03:30
mohmdsdg c5361a5706 fix some bugs from chart 2026-08-01 15:53:10 +03:30
mohmdsdg 91f6b24da4 fix some bugs from zarin 3 2026-07-28 14:57:28 +03:30
mohmdsdg 074b48de95 fix some bugs from zarin 2026-07-28 14:02:23 +03:30
mohmdsdg a849150339 fix bug of pargar 4 2026-07-26 21:17:57 +03:30
mohmdsdg 52ff3a088d fix notif 3 2026-07-24 22:37:48 +03:30
mohmdsdg 107cf5b291 fix notif 2026-07-24 16:49:42 +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 d8b685524b fixed some bugs 2026-07-23 17:53:10 +03:30
mohmdsdg 5751e2cd24 added last seen 2 2026-07-22 17:37:33 +03:30
mohmdsdg 1476f6efb1 all customer fixing added 2026-07-22 00:10:04 +03:30
mohmdsdg 227534a493 fix some bugs 2 2026-07-21 21:23:26 +03:30
mohmdsdg d43c5e1f25 fix pargar bugs 2026-07-21 12:49:08 +03:30
mohmdsdg fc9de5198c new feature on sms and some bugs fixed 2026-07-18 22:22:01 +03:30
mohmdsdg 47a2f8e6bf change transition structure 2 2026-07-10 23:29:36 +03:30
mohmdsdg eb48179b2a fixed some bugs 4 2026-07-08 17:58:55 +03:30
mohmdsdg 5781d5bf53 fix some handling 2 2026-07-08 11:25:19 +03:30
Mahdi 628ee48bea add header show SMSpanel 2026-07-07 17:42:09 +03:30
mohmdsdg dcc8559945 added function for trigger 2026-07-06 19:06:06 +03:30
mohmdsdg 7ac7bbdb90 added pargar 2026-07-05 16:43:34 +03:30
Mahdi 163097f42a add SMSpanel 2026-07-04 11:55:10 +03:30
mohmdsdg e3a883d224 add to archive added 2026-07-01 20:14:47 +03:30
mohmdsdg 8ac18c6f03 work on moving customers from tahesab ۴ 2026-06-29 01:05:47 +03:30
mohmdsdg 8cb92a38b4 added some feature for accounting and price 8 2026-06-28 21:05:04 +03:30
mohmdsdg c024091531 added some feature for accounting and price 7 2026-06-28 19:13:35 +03:30
mohmdsdg 89807696d6 added some feature for accounting and price 2 2026-06-28 16:02:15 +03:30
mohmdsdg 3801e5ee88 added some feature for accounting and price 2026-06-28 15:16:39 +03:30
mohmdsdg 14d417d9ec fix wallet ui 2026-06-26 22:19:51 +03:30
mohmdsdg e6e1ff0cc4 added tahesab options 2026-06-25 22:20:40 +03:30
mohmdsdg 1b310b4752 fixed kilo in metals 5 2026-06-23 21:59:38 +03:30