Commit Graph
311 Commits
Author SHA1 Message Date
safavimohadeseh78andCursor 3df3164e0b feat(convert): show convert requests under hesab ketab
Admins review pending cathode-to-wire requests in the shared table, and on mobile they see cards.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-11-01 13:13:09 +03:30
safavimohadeseh78 dfc6f8dc64 feat(shayegan): product item field and customer register in admin 2026-10-28 16:44:24 +03:30
safavimohadeseh78 88271dba2a feat(customers): add Digipay installment admin section
Wire routes, settings groups, page access, and customer UI for installment management.
2026-10-21 03:38:59 -04:00
safavimohadeseh78 e5b3d0c931 changes of giftCard page 2026-10-20 12:11:46 +03:30
safavimohadeseh78 2927d64c64 fix bugs 2026-10-17 14:13:05 +03:30
safavimohadeseh78andCursor d067551d37 fix(accounting): use useAxios in Shayegan API client
Match zarin/tahesab HTTP helper so Vite can resolve the module.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-10-05 17:31:27 +03:30
safavimohadeseh78andCursor 8a4f95da7d feat(accounting): Shayegan docs tab and fixed provider UI
Show Shayegan sync table/health in admin and always treat boursecu accounting as Shayegan.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-10-05 17:12:55 +03:30
safavimohadeseh78 7e869902d6 change gift-card 2026-09-21 11:10:34 +03:30
safavimohadeseh78 8004dd52b3 gift card export, new category, login theme fix 2026-09-20 17:25:25 +03:30
safavimohadeseh78 7ff90b05d0 changes of giftcard 2026-09-12 10:12:21 +03:30
safavimohadeseh78 3c56672a27 fix(customers): online customer form tweaks 2026-09-09 16:57:32 +03:30
safavimohadeseh78andCursor 2d5e8da2cb feat(gift-card): show admin menu from has_page_gift_card
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-07 09:36:10 +03:30
mohmdsdgandCursor 0f60c1e1a5 fix(wallet): keep gold and silver asset details separate
Stop merging count_products into inventory cards so silver items are not duplicated and each metal shows its own total.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-06 13:40:41 +03:30
mohmdsdgandCursor 3fc62ba100 fix(products): set direct_price when saving manual pricing
Manual source left direct_price=0 so customer enrich overwrote stored price with live gold buy.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-06 11:38:46 +03:30
mohmdsdgandCursor 9ef381f00e feat(tahesab): three-way mande decision UI including push to Tahesab
Clarify overwrite vs keep vs push-to-tahesab, warn when app balance is zero, and update colleague wait-callback help text.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-05 22:30:58 +03:30
mohmdsdgandCursor e0b89223ac feat: website settings menu gated by has_landing
Add تنظیمات وبسایت before پیکربندی with landing_* subsections, and show unit addon on numeric setting fields.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-05 17:01:51 +03:30
mohmdsdgandCursor dec36cc31e feat(products): add list and TV visibility icons in operations
Clarify tooltips for product-list vs TV board, keep the same switches in the editor, and show separate status columns.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-05 10:16:37 +03:30
mohmdsdgandCursor 7c95f1f9d6 feat(tahesab): show remaining-time estimate in sync progress modal
Estimate ETA from processed throughput for customer export and document sync.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-03 20:24:44 +03:30
mohmdsdgandCursor 11f60f205a feat(tahesab): add local status reset before resending wiped documents
Confirm and call reset-local so the pending count includes previously successful rows, then send all as usual.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-03 13:43:16 +03:30
mohmdsdgandCursor 62a6a91455 feat(tahesab): poll customer sync from any page and reuse the progress modal
Start outbound/inbound on the server; hydrate after refresh so the transfer modal returns without opening accounting.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-03 10:09:54 +03:30
mohmdsdgandCursor 6ab14313dd chore(admin): register TahesabDocSyncProgress in generated component types
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-02 21:00:22 +03:30
mohmdsdgandCursor ba12569b97 feat(tahesab): minimizable modal for bulk document sync progress
One-click start on customer-sync and documents tabs; poll every 10s, restore the modal after refresh if the server job is still running, and show failed counts with stop.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-02 20:48:14 +03:30
mohmdsdgandCursor 4d8d35c37d feat(admin): add colleague order callback settings
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-02 15:55:05 +03:30
mohmdsdgandCursor b7a986c4d3 fix(admin): send only edit-form fields when saving a customer
Stop cloning the table row into the PUT body so wallet and last-seen are not written back.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-02 11:18:59 +03:30
mohmdsdgandCursor 509d26d04b fix(admin): cap get_version and get_user waits at 10s
Keep the longer overlay window, but stop waiting 20–25s per bootstrap request.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-01 21:56:52 +03:30
mohmdsdgandCursor 7245812d1a fix(admin): wait longer for slow get_version instead of aborting a 200
Preferred host had a 3.5s abort while the response arrived around 7s, so DevTools showed OK and the UI still showed a connection error.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-01 21:53:50 +03:30
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