Commit Graph
68 Commits
Author SHA1 Message Date
mohmdsdgandCursor 3b83eac099 Keep gold quotes live from last and apply SSE catalog list so cards refresh without a page reload.
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-20 18:20:06 +03:30
mohmdsdgandCursor c623a32bb5 fix: colleague price products use DealProduct, not indexGold
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-16 22:11:59 +03:30
mohmdsdgandCursor 7ab78bd550 Stop multiplying colleague prices by weight and fee from unit price.
Colleague quotes are per piece, and the settings service charge is a percent of that price times count.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-14 22:21:08 +03:30
mohmdsdg 71da064cab fix some things 2026-09-14 12:57:53 +03:30
mohmdsdgandCursor fcc7c70310 Merge origin/kashkool into kashkool.
Keep the /gold trade product fix and bring in the remote catalog, account menu, and product-page updates.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-13 18:38:12 +03:30
mohmdsdg fdc24083cf fix price 2026-09-13 18:33:38 +03:30
mohmdsdg 6f725bc0ef fix some bugs from ghatreh 2026-09-13 16:32:37 +03:30
mohmdsdgandCursor f6b1044a17 Drive the account menu from settings and show notification/permission actions.
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-12 13:25:29 +03:30
mohmdsdg b78fbbdc4e Hide after-hours prices and skip stock checks when the shop is not a store. 2026-09-11 00:49:29 +03:30
mohmdsdgandCursor d4e3a99e61 Let melted products trade without store inventory, and split TV sell prices with extra tickers.
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-10 15:10:10 +03:30
mohmdsdgandCursor c2f6f9d226 fix(register): hide or require referral from settings like other apps
Also keep exact trade grams from rial and poll colleague wait every 10s.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-09 21:03:32 +03:30
mohmdsdgandCursor 0f6d8b37f4 Match SSE ping comments to the 20s server heartbeat.
Rename the equals price-trigger condition to reach-this-price.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-08 18:11:26 +03:30
mohmdsdgandCursor 5015fb2838 fix(trade): keep exact grams when the input shows rounded display
Percent and cash conversions no longer lose precision by rounding the gram field to three decimals.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-08 14:56:14 +03:30
mohmdsdgandCursor 7ab391d48f fix: rewrite nerkh logo URLs to the SuperAdmin host
App logos now follow get_user.user.avatar instead of leftover nerkh.gold paths.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-07 16:56:54 +03:30
mohmdsdgandCursor 065a0b3178 fix(tv): show board prices from tv_price instead of list price
The monitor uses the TV formula field so the catalog list price stays unchanged.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-06 21:35:54 +03:30
mohmdsdgandCursor 4104235546 feat: landing settings helper plus wallet and profile UX fixes
Expose landing_* readers, fix OTP contrast on dark modal, and keep auth badge/card submit loading consistent.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-05 17:02:22 +03:30
mohmdsdgandCursor bc2acc3eb6 fix(trade): use stream closed and trade_open instead of device clock
Changing the phone time can no longer open a product that the server has closed.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-05 12:58:19 +03:30
mohmdsdg 57780ae99c fix bug 2026-09-04 01:50:59 +03:30
mohmdsdgandCursor 0d19412c96 feat(trade): wait on colleague order until status is final
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-02 15:55:08 +03:30
mohmdsdgandCursor 164bb267f1 fix(trade): show three gram decimals when converting from rial
Keep the rial-locked order amount unchanged; only the gram input display is capped.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-01 15:45:13 +03:30
mohmdsdgandCursor 5b06034255 Show accounting adjust notes on transactions and polish input/lottie boot.
Transaction detail surfaces note text for adjustments; Persian digit input and local Lottie preload are included.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-30 21:18:29 +03:30
mohmdsdgandCursor 449fad5ed1 fix(price): delay empty-quote UI until settle window
Avoid flashing no-quote too early while waiting for live/SSE price after first empty response.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-27 18:47:42 +03:30
mohmdsdgandCursor 059ba0b565 fix(files): join storage URLs onto /server so public images load
Relative storage paths were resolved on the SPA host instead of the API, so uploaded files 404'd.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-26 18:01:25 +03:30
mohmdsdgandCursor 4675a5b5e3 fix(home): show quote skeleton while loading and harden auth/images
Prefer server quote status, avoid false no-quote before ready, toast on 401 re-login, and keep product/banner image URLs absolute.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-26 16:59:29 +03:30
mohmdsdgandCursor ff3a1cb00b fix(products): absolutize image URLs and preserve them on SSE merge
Relative full_src now uses node_server, and empty live-list file payloads no longer wipe catalog images.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-25 20:49:53 +03:30
mohmdsdgandCursor 29579f80d3 fix(products): keep newly uploaded image when SSE list is stale
The live product stream was replacing the catalog with an older payload, so the new photo flashed then jumped back. Keep the newer file_id and stop resetting the img on unrelated price ticks.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-25 16:14:49 +03:30
mohmdsdgandCursor 16ade71598 feat(user): gate menus by SuperAdmin flags and show physical delivery
Hide fund/earn/gift entries when access is off, add matching route guards, and surface physical delivery instead of price alert on mobile profile.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-25 14:19:26 +03:30
mohmdsdgandCursor 2238a34c53 fix(price): hide stored fallback when last-price display is off
Treat only live quote sources as open; a leftover database price should not stay on screen after the admin switch is turned off.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-25 03:01:10 +03:30
mohmdsdgandCursor ea71591557 fix(price): apply live trading-hours settings without refresh
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-25 02:29:14 +03:30
mohmdsdg be59cca162 fix tv 2026-08-22 21:50:39 +03:30
mohmdsdgandCursor 444178df05 feat: add gold day calculator and polish desktop UI
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-20 21:35:18 +03:30
MojtabaSoumi d2737a4998 1405/05/29-add tv page 2026-08-20 10:06:55 +03:30
mohmdsdgandCursor 866ffbf774 fix(fee): default service fee to 0 when setting is empty
Read fee_service_charge_percentage only; no implicit 0.01 fallback.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-19 19:55:42 +03:30
mohmdsdgandCursor 47ac13b114 feat: mobile keyboard auto-scroll for input fields
- initMobileInputKeyboardScroll utility using visualViewport API
- mobile-keyboard-scroll.less for scroll-margin and padding adjustments

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-19 11:52:00 +03:30
mohmdsdgandCursor e01192fb5e feat: align fee summary, special pricing and support chat with modular
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-18 17:57:22 +03:30
mohmdsdgandCursor 5d3ca82236 feat: align piggy, support chat and numeric input with modular app
Persian keyboards send ٫ ، and / as decimal or thousand separators, so amount
and weight fields now normalize input before parsing. Support chat reopens an
existing thread instead of starting a new one, and axios surfaces the server
message on failure.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-11 22:17:17 +03:30
mohmdsdg d6608283f6 fix some bugs 2026-08-03 11:52:44 +03:30
mohmdsdg 5b0bb45e52 added chat 2 2026-07-30 18:33:08 +03:30
mohmdsdg a49b20dfd4 fix some bugs from accounting 7 2026-07-28 21:02:44 +03:30
mohmdsdg 0106c94d24 fix some bugs 2026-07-19 21:49:31 +03:30
MojtabaSoumi 37d86ba36e 1405/04/27
-responive bugs
2026-07-18 15:46:38 +03:30
MojtabaSoumi c2a355f2de 1405/04/27
-
2026-07-18 11:30:40 +03:30
mohmdsdg 362040a649 update 2026-07-16 15:21:53 +03:30
mohmdsdg 5d390fb225 update 2026-07-16 11:14:58 +03:30
mohmdsdg 51e3c3f0cb added pargar 2026-07-05 20:49:01 +03:30
mohmdsdg 3561e8ae07 Merge remote-tracking branch 'origin/kashkool' into kashkool 2026-07-02 09:43:22 +03:30
mohmdsdg ce8029919c fix bugs 2026-07-01 22:29:18 +03:30
MojtabaSoumi c3aaeaf91a 1405/04/10-fix bugs 2026-07-01 18:16:12 +03:30
mohmdsdg 4fa2c0d57d fix bugs 2026-06-30 22:21:56 +03:30
mohmdsdg 8b855e5ee4 fix kashkool 2026-06-29 22:43:28 +03:30