Commit Graph
100 Commits
Author SHA1 Message Date
mohmdsdgandCursor 7cced9e5de feat(admin): group SMS charge settings and edit referral bonus
Keep sms_charge_* in advanced settings and show referral_bonus_amount in normal settings.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-01 21:38:27 +03:30
mohmdsdgandCursor 848752756f fix(tahesab): stop repeating mande-by-codes on the customer sync list
Watching the paged array retriggered the same POST when mande was empty.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-01 21:38:19 +03:30
mohmdsdgandCursor c7b1a75fbb fix(admin): add zarin_idbank labels for cash wallet documents
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-01 16:51:16 +03:30
mohmdsdgandCursor bfad8abd1e fix(colleague): show pending and failed partner-cover status on order tables
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-31 22:14:36 +03:30
mohmdsdgandCursor 6d1459ebcd fix(pricing): label montzar rows as تابلو montzar in price history
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-31 09:45:44 +03:30
mohmdsdgandCursor 589a517ffe Hide Zaarbox key on Montzar and tighten product pricing UI.
Hide zaarbox_price_key when price_provider is montzar, add +/- for fixed melted and manual prices, drop formula on fixed, and remove the show-in-assets switch.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-30 21:35:10 +03:30
mohmdsdgandCursor 67c701fc9d Update auto-generated Vue component type declarations.
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-30 21:19:26 +03:30
mohmdsdgandCursor 1c4b2d4435 Require review before Tahesab wallet sync and harden accounting admin UX.
Single-customer and row sync preview balances with documents before overwrite/keep; bulk sync keeps confirm. Also ship Zarin wallet sync actions, field help, and get_user cache improvements.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-30 21:18:26 +03:30
mohmdsdgandCursor 04cc03fe25 Sync Tahesab wallet balance on import and let admins resolve conflicts.
Add customer search on the Tahesab-only list, bulk/per-customer mande sync UI, and a decision modal when app balance differs from Tahesab.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-30 14:16:36 +03:30
mohmdsdgandCursor 084b449177 Add customers gold credit menu with request and active tabs.
Gate the submenu on enable_gold_credit and wire settings UI for SuperAdmin and tenant credit options.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-30 00:17:03 +03:30
mohmdsdgandCursor 14d2bb603e fix(admin): apply SuperAdmin flags on بروزرسانی and fix overlay card keys
Pull live program-settings, set menu flags from the response, and key setting cards by setting key so id-null overlay rows no longer share one toggle state.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-29 22:42:30 +03:30
mohmdsdgandCursor 085c024654 fix(admin): refresh SuperAdmin flags when clicking بروزرسانی
Reload live program-settings overlay before reloading the settings list so menus like special pricing update without relying on cached flags.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-29 22:39:08 +03:30
mohmdsdgandCursor a694ae5cde Treat mesghal pasted into per-gram price as gram on admin orders.
Prevents the order preview and submit from turning a rial amount into under-weighted soot.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-29 13:50:12 +03:30
mohmdsdgandCursor 00351673f8 fix(admin): active-only colleague account code and karat placement
Show montzar colleague account field only for the connected accounting provider (also on customer sync pages), untruncate hesab-ketab menu labels, and move product karat under weight/unit.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-27 18:47:38 +03:30
mohmdsdg 827adfe756 fix accounting fails 2026-08-27 16:15:11 +03:30
mohmdsdg da5b113406 fix moshtari code 2026-08-27 14:37:39 +03:30
mohmdsdgandCursor 52057805ff feat(banners): make products hero slides addable and fix theme slots
Admins can add/remove any number of product banners, and profile/fund slots keep relative storage paths for refresh-safe previews.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-26 18:31:41 +03:30
mohmdsdgandCursor 464995a43e fix(banners): save relative storage paths so admin preview survives refresh
Uploads were stored as host-specific URLs and a force-reload could wipe a just-saved image, leaving a broken dark-theme preview.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-26 18:01:26 +03:30
mohmdsdgandCursor 3d63e2cf7f feat(admin): colleague accounting codes and reliable banner saves
Add per-provider Montzar account codes on the colleague transactions page, rename the menu label, and auto-persist banner uploads with https file URLs.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-26 16:59:24 +03:30
mohmdsdgandCursor 1c26ec3eaf fix(admin): keep manual price input and stop false server-unavailable overlay
Manual mode no longer keeps formula/reference UI, and 500 messages containing "server" no longer lock the whole panel.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-25 20:49:53 +03:30
mohmdsdgandCursor b313b66d48 fix(trading-hours): save schedule edits immediately and match display help
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-25 02:29:02 +03:30
mohmdsdgandCursor 0d072ba82d feat(automations): auto-close TimePicker and show skipped send status
TimePicker closes on select without Ok button; send log shows skipped entries from cooldown/max limits.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-24 22:31:27 +03:30
mohmdsdgandCursor 7a2254bc2d feat(automations): use Ant TimePicker with minute precision and Jalali dates
Replace hour-only select with HH:mm picker, show last run and send logs in Jalali, and display scheduled times as HH:mm in the table.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-24 22:13:06 +03:30
mohmdsdgandCursor eb435fe3ab docs(automations): note automatic app name footer in SMS body help
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-24 21:57:20 +03:30
mohmdsdgandCursor 3838d0a56c feat(automations): add test run button and send log modal in admin
Expose run-now and sends APIs in the automations UI, show SMS hour and last run columns, and group advanced settings toolbar actions together.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-24 21:46:13 +03:30
mohmdsdgandCursor 71bf8dfc47 feat(settings): add SuperAdmin sync button on advanced settings
Lets deploy admins clear overlay cache and reload can_edit=0 switches like enable_automation without SSH.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-24 21:22:49 +03:30
mohmdsdg 91ae4ed207 feat(settings): add enamad_logo and group enamad under general brand
Expose enamad_logo in editable settings and place enamad keys in عمومی و برند.
2026-08-24 19:39:07 +03:30
mohmdsdgandCursor 67652f0cd8 feat(automations): gate menu and route behind enable_automation
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-24 16:15:52 +03:30
mohmdsdg 010e287c70 m 2026-08-24 12:59:34 +03:30
mohmdsdgandCursor 6bbd8704b8 setting pushed
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-24 09:48:27 +03:30
mohmdsdg a75c4d915d added tv params 2026-08-22 21:49:10 +03:30
mohmdsdg eb434cd606 fix title navbar 2026-08-20 16:47:00 +03:30
mohmdsdgandCursor f6efeeff3e fix(settings): show Montzar keys when price_provider is empty
Regular settings hid all montzar_* unless price_provider was already
loaded as montzar, so search only found referral_gift_buy_from_montzar.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-19 21:27:20 +03:30
mohmdsdgandCursor ed326a41d2 fix(settings): show code-managed keys in regular settings panel
Runtime Montzar/price keys visible when can_edit=1 from API (readonly).

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-19 20:15:29 +03:30
mohmdsdgandCursor 6da3f84a89 fix(settings): code-managed keys in advanced panel only
Align can_edit lists with deploy SQL: runtime Montzar/price keys stay in
tenant advanced settings (read-only), not super admin catalog.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-19 19:55:41 +03:30
mohmdsdgandCursor 1a8001fb75 fix(price-trigger): SMS-only in admin price trigger editor
Remove email action from form and always show sms in the table column.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-19 19:02:46 +03:30
mohmdsdgandCursor ba4557c526 fix(admin): pricing table toTime import and swap support/config menu order
Fix ReferenceError in store price sync log columns and place پیکربندی before چت پشتیبانی in the header menu.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-19 14:11:27 +03:30
mohmdsdgandCursor 46c397804f feat(settings): montzar_product_id as select from partner product API
Load products from /admin/montzar/products with searchable select UI.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-19 14:02:48 +03:30
mohmdsdgandCursor 022796738d fix(product): place reference adjustment next to zero-price toggle
Reorder pricing grid so تعدیل and قیمت صفر از مرجع sit side by side
below مرجع قیمت and formula sections.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-19 13:59:23 +03:30
mohmdsdgandCursor db29998e40 fix(product): show formula price beside pricing fields for melted products
Formula section was only in non-melted automatic mode; now appears next to
adjustment fields for melted app/reference/fixed and all non-melted sources.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-19 13:57:59 +03:30
mohmdsdgandCursor 2471a447b7 ui(product): use 2-column grid layout for formula/live-price and visibility/TV formula
- Pricing tab: formula section and live price preview side by side in 2-col grid
- Specs tab: visibility switches and TV formula side by side in 2-col grid
- Reduces wasted horizontal space

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-19 12:28:30 +03:30
mohmdsdgandCursor eeaf0ce94a fix(product): fix dark mode colors for section titles and borders
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-19 12:25:52 +03:30
mohmdsdgandCursor 0a0d1d8680 ui(product): restructure product specs tab with sections and fix pricing tab gap
- Product specs tab: group fields into bordered sections (اطلاعات پایه, وزن و واحد, تنظیمات نمایش)
- Visibility switches in a compact panel with divider lines
- Weight/unit/inventory fields in same grid row
- Pricing tab: wrap all content in flex-col gap-4
- Remove unnecessary product-editor-panel border from non-melted pricing block

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-19 12:23:52 +03:30
mohmdsdgandCursor 6cb2488221 ui(product): improve formula sections and group visibility switches
- FormulaPriceSection: compact inline guide with variables and functions
- TvFormulaPriceSection: same compact guide style, remove verbose text
- Product specs tab: group visibility switches (list, assets, TV) in single bordered panel

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-19 12:17:44 +03:30
mohmdsdgandCursor 30d857bde5 fix(product): add inline guide for TV formula variables and functions
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-19 12:13:16 +03:30
mohmdsdgandCursor f1699f2848 fix(product): simplify TV formula help text and show regular formula for melted products
- Move FormulaPriceSection outside usesMeltedPricing guard so it appears for all product types
- Shorten TV formula tooltip to a single sentence

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-19 12:06:27 +03:30
mohmdsdgandCursor 2ab99255da feat(product): add show_in_list toggle and TV price formula UI
- show_in_list switch in product editor
- TvFormulaPriceSection component (blue theme) shown when show_on_tv is on
- Form defaults, model type, and submit logic for new fields

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-19 11:51:57 +03:30
mohmdsdgandCursor c332e9df24 feat(admin): let price alerts pick a product
Show the product on the form and table so each alert is tied to one item.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-18 22:23:22 +03:30
mohmdsdgandCursor 14c9843abb fix(admin): merge SuperAdmin settings over local can_edit locks
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-18 17:57:20 +03:30
mohmdsdgandCursor 808562d3ed feat(admin): add product switch for TV board display
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-18 17:17:01 +03:30
mohmdsdgandCursor 69b6a1c4a9 feat(admin): overlay system settings from SuperAdmin program-settings
Fetch /api/public/program-settings with 3-host retry and hide the local
advanced-configuration editor in favor of SuperAdmin.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-18 16:10:37 +03:30
mohmdsdgandCursor 7440a53c80 feat(admin): signed profit/discount fields for special price packages
Let buy/sell extras be entered as profit or discount so negative values work in the editor and table.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-17 13:10:59 +03:30
mohmdsdg 8636fd1aea added setting for users 2 2026-08-16 22:03:59 +03:30
mohmdsdg 17dea2a52f added setting for users 2026-08-16 22:00:48 +03:30
mohmdsdg 84b0a4767a added table of co-woeker requests and new features 4 2026-08-16 20:49:40 +03:30
mohmdsdg 7d38ed23e9 added table of co-woeker requests and new features 3 2026-08-16 20:46:48 +03:30
mohmdsdg f192d3e171 added table of co-worker 2026-08-16 20:27:13 +03:30
mohmdsdg 609f6b2fa3 added table 2026-08-16 20:01:54 +03:30
mohmdsdg 27f3a6212a fixsome changes 2026-08-16 14:03:11 +03:30
mohmdsdg 2b27b16296 fix persian number in input 2026-08-14 21:05:11 +03:30
mohmdsdg 5dd9f7db96 fix 2026-08-12 00:59:14 +03:30
mohmdsdgandCursor 7c58501268 feat: failover SuperAdmin domains for get_user/get_version
Try adm.montzar, adm.montech, then adm.montest before legacy registry URLs.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-11 12:13:42 +03:30
mohmdsdgandCursor de97d7caa6 Add customer multi-level referral profit editor and related settings UI.
Expose enable_customer_level_profit in config and let admins edit per-customer level percents from the customers table/mobile sheets.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-10 16:48:53 +03:30
mohmdsdgandCursor 4dde172ed7 Add formula price controls to the product editor.
Admins can enable a reference-based formula (P/W/MG) with live calculated unit price preview, matching the colleague-app pricing flow.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-10 16:47:39 +03:30
mohmdsdg 3ea6b02b47 fix support issue 3 2026-08-06 14:48:53 +03:30
mohmdsdg 62a1d917a8 fix support issue 3 2026-08-05 14:52:18 +03:30
mohmdsdg b759aa9570 fix support issue 2 2026-08-05 14:01:05 +03:30
mohmdsdg 4dcc3c7135 fix support issue 2026-08-05 12:57:05 +03:30
mohmdsdg e8d5dc9f66 added trigger for chat sms 2026-08-04 18:59:52 +03:30
mohmdsdg 45647e7266 added rahimi dashboard 2026-08-03 22:22:39 +03:30
mohmdsdg 82e72b9811 fix some bugs 2026-08-03 11:53:14 +03:30
mohmdsdg 57895c129e fix gift 2026-08-02 16:49:27 +03:30
mohmdsdg 9a975e1cba added fund 2026-08-01 17:30:37 +03:30
mohmdsdg 6a9e5aee47 fix some setting 2026-08-01 16:45:16 +03:30
mohmdsdg 0ff7e1d835 fix pargar and login 2026-08-01 15:55:03 +03:30
mohmdsdg 1aa8f6b867 fix some bugs from chart 2026-08-01 15:54:13 +03:30
mohmdsdg 31836f3f8e Merge remote-tracking branch 'origin/montify' into modular 2026-08-01 15:53:49 +03:30
mohmdsdg 3d86b56c7b added chat 3 2026-07-30 20:43:12 +03:30
mohmdsdg f4733214ed added chat 2 2026-07-30 18:30:32 +03:30
mohmdsdg 99698e345a added button for site 2 2026-07-29 20:48:06 +03:30
mohmdsdg 96fa254abb fix price 2026-07-29 16:02:41 +03:30
mohmdsdg 2cf4ec1bd9 fix some bugs from accounting 3 2026-07-28 21:57:39 +03:30
mohmdsdg f3a082ef73 fix some bugs from accounting 2 2026-07-28 21:01:59 +03:30
mohmdsdg 19afd28e60 fix some bugs from accounting 2 2026-07-28 17:53:44 +03:30
mohmdsdg 4cd11919f5 fix some bugs from accounting 2026-07-28 17:43:35 +03:30
mohmdsdg 2cb7c605e6 fix some bugs from zarin 2026-07-28 15:04:04 +03:30
mohmdsdg b1685b47d5 fix some pargar bugs 2026-07-27 21:44:32 +03:30
mohmdsdg 993de3a4cf fix bug of pargar 4 2026-07-26 21:29:10 +03:30
mohmdsdg 9d20b99579 fix bug of pargar 3 2026-07-26 19:57:10 +03:30
mohmdsdg dff1b4080b fix bug of pargar 3 2026-07-26 19:52:47 +03:30
mohmdsdg 14837f70a9 fix bug of pargar 3 2026-07-26 19:17:05 +03:30
mohmdsdg 017e375c4d fix pargar mande 2026-07-25 16:47:12 +03:30
mohmdsdg 5b11dccbb8 fix notif 3 2026-07-24 23:12:36 +03:30
mohmdsdg 3c41a3d23f fix notif 2026-07-24 17:01:40 +03:30
mohmdsdg ab83ba7e6a fixed navbar 2026-07-24 16:10:40 +03:30
mohmdsdg bd441a0e8e added notif 2 2026-07-23 22:24:26 +03:30
mohmdsdg d505f3b5bd fix edits for borsemes 2026-07-23 17:53:28 +03:30
mohmdsdg 73feee2048 fix edits for borsemes 2026-07-23 12:28:48 +03:30
mohmdsdg d3727265e8 remove some text 2026-07-22 18:37:15 +03:30
mohmdsdg 090dbbe239 added online and trigger 2026-07-22 18:12:45 +03:30