Commit Graph
101 Commits
Author SHA1 Message Date
safavimohadeseh78 aecbd5b3bf changes of giftcard 2026-09-12 10:12:43 +03:30
safavimohadeseh78 0fa2b4d1f5 feat(giftcard): add customer giftcard/mine endpoint; fix admin/app password digit normalization 2026-09-09 16:57:20 +03:30
mohmdsdgandCursor 7e6cd92df4 feat(pargar): cap inbound mande/document logs after insert
Keep the newest 2000 success rows per inbound type so dumps stop growing from Pargar webhooks, and store compact document payloads instead of full JSON.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-03 10:19:56 +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
mohmdsdg e9674d6571 fix some bugs 2026-09-02 11:38:57 +03:30
mohmdsdgandCursor b54f9f0527 fix(customer): save only profile fields on admin PUT
The list edit dumped the whole table row into update(); whitelist form and accounting fields, and skip hashing an empty password.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-02 11:18:59 +03:30
mohmdsdgandCursor d12b38a1e8 fix(montzar): persist local order before provider cover and record success or failure
Create the Elif order first (pending colleague), then submit to Liman so failed quote or wallet attempts stay visible instead of leaving orphan provider trades.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-31 22:14: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 885ed33e6e feat(accounting): document colleague trades on configured accounts
Post Montzar-covered buy/sell to Zarin/Tahesab/Pargar using montzar_account_* settings, and harden public storage URL/MIME handling for uploads.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-26 16:59:27 +03:30
mohmdsdgandCursor 793c8cd9ed fix(settings): expose SuperAdmin feature flags to customer get_settings
Menu gates like enable_product_funds were missing from the public API, so the user app could not hide disabled features.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-25 14:19:22 +03:30
mohmdsdgandCursor 1c8ab4b725 feat(schedule): add schedule:bootstrap and minute-precise automation runs
Install per-module schedule:run cron from artisan, store sms/in_app send minutes, and match scheduled triggers at exact HH:mm Tehran time.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-24 22:13:06 +03:30
mohmdsdgandCursor b28a98938e feat(settings): add menu/show_to_user and public get_settings for client apps
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-24 15:32:35 +03:30
mohmdsdg 657c10d1cc added automation 2026-08-23 14:16:00 +03:30
mohmdsdgandCursor a321ebdaad feat(product): add show_in_list toggle and TV price formula
- New `show_in_list` column to control product visibility in customer list
- New `tv_price_formula_enabled` + `tv_price_formula` columns for separate TV pricing
- FormulaPriceService: isTvEnabled() and calculateTvForProduct()
- listTvProducts applies TV formula overrides before returning
- filterProductData handles both new field sets

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-19 11:51:54 +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
mohmdsdgandCursor e158831fd3 feat(server): add show_on_tv product flag and public /tv products API
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-18 17:17:01 +03:30
mohmdsdg bd8284e4f8 added setting for user 2026-08-16 22:00:23 +03:30
mohmdsdgandCursor 279e4bc881 Enable gated multi-level referral profit and harden chat/SMS notify paths.
Honor enable_customer_level_profit for order referral payouts, and tighten support-chat webhook/SMS plus SuperAdmin SMS panel sync settings.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-10 16:48:53 +03:30
mohmdsdgandCursor f421fcb83f Add formula-based product pricing (P/W/MG) for Parsian-style unit prices.
Port FormulaPriceService from colleague app so admins can compute a single unit price from reference mid, weight, and wage instead of offset coefficients.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-10 16:47:29 +03:30
mohmdsdg f42ae09d14 fix support issue 2026-08-05 12:56:52 +03:30
mohmdsdg bfb8b91133 added trigger for chat sms 2026-08-04 18:59:38 +03:30
mohmdsdg eaff9dead2 added gholak 2026-08-01 17:30:14 +03:30
mohmdsdg 2d713ce592 Merge remote-tracking branch 'origin/montify' into Abshode_Khanegi 2026-08-01 15:52:17 +03:30
mohmdsdg abb778e090 added chat 2026-07-30 15:46:11 +03:30
mohmdsdg 77e0ba0bb3 fix some bugs from accounting 9 2026-07-28 21:57:29 +03:30
mohmdsdg 745f7fcfd6 fix some bugs from fee 2026-07-28 10:33:11 +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 22a5e566b4 fix pargar mande 2026-07-25 12:02:58 +03:30
mohmdsdg 52ff3a088d fix notif 3 2026-07-24 22:37:48 +03:30
mahmood 572815a6a9 Feat add payment with gateway of montify 2026-07-24 16:50:21 +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 01031e9e01 all customer from pargar fixing 2 2026-07-22 00:31:38 +03:30
mohmdsdg 227534a493 fix some bugs 2 2026-07-21 21:23:26 +03:30
mohmdsdg 49e80a1b97 fix pargar bugs 2 2026-07-21 13:25:18 +03:30
mohmdsdg 160d6bd923 handled some bugs and adde some feature for banner 2026-07-19 15:53:05 +03:30
mohmdsdg 285a159762 fix profit value after each order 2 2026-07-18 17:37:41 +03:30
mohmdsdg 8f3fb35b2b fix some bugs 2026-07-14 12:35:03 +03:30
mohmdsdg 277cf31d93 fix bug 22/4 2 2026-07-13 19:03:30 +03:30
mohmdsdg 7eb4650b80 fix bug in 22/4 2026-07-13 13:31:44 +03:30
mohmdsdg 47a2f8e6bf change transition structure 2 2026-07-10 23:29:36 +03:30
mohmdsdg abc58c4180 fix bug ۲ 2026-07-10 00:19:30 +03:30
mohmdsdg af6f9a2fee fixed buy and sell 2026-07-09 13:37:03 +03:30
mohmdsdg a4e98d8047 fix some handling 3 2026-07-08 12:45:14 +03:30
mohmdsdg 5781d5bf53 fix some handling 2 2026-07-08 11:25:19 +03:30
mohmdsdg c05a24d57b هپشلث عحمخشی 2026-07-06 22:01:16 +03:30
mohmdsdg 61383a6dda banner 2026-07-06 21:04:37 +03:30