Commit Graph
72 Commits
Author SHA1 Message Date
mohmdsdg 7d1f8958e5 fix hamkar table 2026-08-20 15:52:42 +03:30
mohmdsdgandCursor 832a7683fb fix(migration): parse error in show_in_list COMMENT SQL string
Use double-quoted PHP string for Persian COMMENT; '' is SQL escaping, not valid inside PHP single quotes.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-19 14:16:46 +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
mohmdsdgandCursor 7d405cb83b feat(server): store and apply negative special price profits
Keep signed buy/sell extras so discounts work on quotes and orders, and ignore the nested user clone in this repo.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-17 13:11:00 +03:30
mohmdsdg bd8284e4f8 added setting for user 2026-08-16 22:00:23 +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 ef32046e85 بهط شیی 2026-08-02 14:00:00 +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 87f0e2beed fix pargar and login 2026-08-01 14:04:01 +03:30
mohmdsdg abb778e090 added chat 2026-07-30 15:46:11 +03:30
mohmdsdg f921e97466 fix description 2026-07-29 21:46:48 +03:30
mohmdsdg dd77e2ce81 fix some bugs from tahesab 2026-07-29 14:58:33 +03:30
mohmdsdg 77e0ba0bb3 fix some bugs from accounting 9 2026-07-28 21:57:29 +03:30
mohmdsdg 736d0a4fd1 fix some bugs from accounting 8 2026-07-28 21:01:42 +03:30
mohmdsdg 074b48de95 fix some bugs from zarin 2026-07-28 14:02:23 +03:30
mahmood 5bcd8f6466 fix withdraw error on montify track number 2026-07-27 00:55:13 +03:30
mahmood 94a501078b fix some for gateway 2026-07-26 22:19:07 +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 69b7ba69b9 added notif 2026-07-23 21:41:51 +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 133f4156c6 all customer from pargar fixing 3 2026-07-22 01:05:00 +03:30
mohmdsdg 356471c9f3 fix some bugs 3 2026-07-21 21:31:16 +03:30
mohmdsdg 227534a493 fix some bugs 2 2026-07-21 21:23:26 +03:30
mohmdsdg 285a159762 fix profit value after each order 2 2026-07-18 17:37:41 +03:30
mohmdsdg dc095e47cd fix some bugs 2026-07-14 22:03:39 +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 555f09b9c7 fix bug 3 2026-07-12 18:35:53 +03:30
mohmdsdg b29cb4e37a fix bug 2 2026-07-12 18:31:17 +03:30
mohmdsdg 7095a7a102 fix bug 2026-07-12 12:00:29 +03:30
mohmdsdg 47a2f8e6bf change transition structure 2 2026-07-10 23:29:36 +03:30
mohmdsdg 239736aefd fixed some bugs 2 2026-07-08 17:13:04 +03:30
mohmdsdg af6c751ede added pargar 3 2026-07-05 21:17:21 +03:30
mohmdsdg 3ac8d2215e added pargar 2 2026-07-05 21:15:24 +03:30
mohmdsdg 7ac7bbdb90 added pargar 2026-07-05 16:43:34 +03:30
mohmdsdg 3373bc82ca added percent in product price 3 2026-07-04 22:14:18 +03:30
mohmdsdg 4ef0dfb2c0 added percent in product price 2026-07-04 18:00:57 +03:30
mohmdsdg 4dea2fb212 fix amount 2026-07-04 12:06:56 +03:30
Mahdi 163097f42a add SMSpanel 2026-07-04 11:55:10 +03:30
mohmdsdg 24edbf3ff3 fix sql 2026-07-02 00:29:48 +03:30
mohmdsdg cd81ea8af0 fix kashkool 2026-06-30 21:44:39 +03:30