Commit Graph
162 Commits
Author SHA1 Message Date
mohmdsdgandCursor 6facf5d72d Show greater price alerts above the product name and smaller ones below.
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-10-04 20:09:45 +03:30
mohmdsdg da68f0a582 Reload wallet assets after a physical delivery request.
The kashkool balance updates with the same assets refresh as the other user apps.
2026-09-29 20:20:28 +03:30
mohmdsdg 9cb0979606 chore: sync price monitor updates 2026-09-28 18:04:49 +03:30
mohmdsdg f778064aef chore: sync latest updates 2026-09-28 14:52:43 +03:30
mohmdsdg 1ac5095177 chore: sync project updates 2026-09-28 14:12:30 +03:30
mohmdsdgandCursor bc64ff47b2 Open the price stream on the TV board with the TV key header.
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-27 22:27:46 +03:30
mohmdsdgandCursor 8083c4f06d Match the TV header quote to the product list buy and sell prices.
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-27 21:42:17 +03:30
mohmdsdgandCopilot 7770c763cc chore: sync graphify and UI updates
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-09-22 11:36:14 +03:30
mohmdsdgandCursor b4a8546ce6 Stop applying special pricing twice on live quotes so sell stays below buy.
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-20 23:59:55 +03:30
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 03f509d83e Keep the TV MontZar credit logo small and load it from bundled assets.
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-16 12:23:13 +03:30
mohmdsdgandCursor a33f130341 Prefer password login on the home screen with register and forgot-password actions.
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-15 17:33:28 +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 569e62fef4 Hide redundant amount label between product title and price.
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-13 20:43:45 +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
mohmdsdgandCursor f52575db9c Show the price-alert action on the account page when enabled.
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-12 11:54:55 +03:30
mohmdsdgandCursor 7f8ae8bd74 Fix single TV news headline showing twice and keep empty news hidden.
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-11 17:30:48 +03:30
mohmdsdg b211c8773b tv changes 2026-09-11 16:44:28 +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
mohmdsdg 0da9f68353 better theme for tv 2026-09-10 19:46:35 +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 e9abc9840a Close colleague wait modal when order is no longer pending.
Settle on pending:false or any non-waiting status, and stop polling after a max wait so rejected orders do not leave the overlay stuck.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-07 22:49:32 +03:30
mohmdsdgandCursor 47beece729 fix(logo): keep absolute nerkh avatar URLs intact
Stop rewriting legacy upload hosts to SuperAdmin; only prefix relative /uploads/ paths.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-07 20:10:11 +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
mohmdsdgandCursor 2d3c590c71 fix(products): ignore foreign SSE catalogs
Drop list events from other shops and honor show_in_list so the grid stops jumping.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-05 10:58:54 +03:30
mohmdsdgandCursor cb9762b0d6 fix(products): treat SSE list as full active catalog
Stop keeping deactivated products when the stream shrinks, update prices in place to avoid grid flicker, and only keep admin-active items.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-05 10:12:16 +03:30
mohmdsdgandCursor 3e15cb1481 fix(products): hide empty categories and stabilize catalog list
Only show active products, keep partial SSE lists from dropping items, and hide category tabs with no products.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-05 09:55:32 +03:30
mohmdsdg 57780ae99c fix bug 2026-09-04 01:50:59 +03:30
mohmdsdgandCursor 3dda7fcf60 fix(build): drop missing transactions page data import.
Ghatreh lacks useTransactionsPageData; the dynamic import broke Vite production builds.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-04 00:43:00 +03:30
mohmdsdgandCursor bddd591d63 feat(boot): use boot-loader as splash with cached tenant logo
Remove the Vue splash overlay and unused duplicate public logos from dist output.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-03 20:24:44 +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 8929501be5 Show pending-admin messages from profile and bank-card save responses.
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-30 21:35:11 +03:30
mohmdsdgandCursor 383d371d00 Update auto-generated Vue component type declarations.
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-30 21:19:27 +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