Commit Graph

60 Commits

Author SHA1 Message Date
masoodafar-web b00af9e326 feat: add referral code support to phone verification form
Build and Deploy to Kubernetes / build-and-deploy (push) Successful in 5m9s
2026-04-29 00:46:53 +03:30
masoodafar-web 2f9ef15859 fix: remove double ×10 conversion in wallet charge — FO should send Toman, not Rial
Build and Deploy to Kubernetes / build-and-deploy (push) Failing after 2m40s
Root cause: FrontOffice was converting Toman→Rial (×10) before sending to CMS,
but CMS ZarinPalService already does Toman→Rial conversion internally.
This caused double ×10 = amounts shown 10x higher in payment gateway.

Fixes:
- MagicWallet.razor.cs: remove ×10 conversion, send _chargeAmount (Toman) directly
- MagicWallet.razor: fix Max field (no /10), fix preset filter (no ×10)
- MagicWallet.razor.cs: fix FormatPrice — values from CMS are Toman, not Rial
- ChargeDiscountWallet.razor.cs: same fix — send Toman directly
- ClubMembershipContractDialog.razor: fix Price display (no /10)
2026-02-27 21:53:01 +03:30
masoodafar-web 3c1a8ffd53 fix: 4 UI fixes for package display
Build and Deploy to Kubernetes / build-and-deploy (push) Failing after 2m54s
1. Toman/Rial mismatch — Price from server is in Rial, now divides by 10 for correct Toman display
2. ضریب تخفیف → ضریب اعتبار label change in dialog + packages page
3. Back button already functional (ArrowForward in TitleContent) — verified
4. HTML rendering in package description via MarkupString
2026-02-27 20:44:18 +03:30
masoodafar-web a3681a8bcd feat: داشبورد — لیست کاشی پکیج‌ها + مدال انتخاب روش پرداخت
- حذف متن hardcoded 'پکیج پایه ۵۶ میلیون تومان' و دیالوگ inline
- ایجاد PackagePurchaseDialog — کامپوننت مستقل 2 مرحله‌ای:
  مرحله ۱: نمایش کاشی‌های پکیج (ریسپانسیو ۲-۳ تایی)
  مرحله ۲: انتخاب روش پرداخت (درگاه بانکی / دایا الماس)
- دایا الماس فقط برای پکیج پایه + دور اول نمایش داده میشه
- پکیج‌ها داینامیک از API بارگذاری میشن
- تغییر متن CTA از 'شروع فرآیند تامین اعتبار' به 'تهیه پکیج'
- تغییر متن راهنما از 'پکیج پایه را تهیه کنید' به 'یکی از پکیج‌ها را تهیه کنید'
- CSS: hover effects + badge + responsive tiles
2026-02-27 20:14:40 +03:30
masoodafar-web 816dcb70d1 fix: remove hardcoded 56M amounts — dynamic package pricing
Build and Deploy to Kubernetes / build-and-deploy (push) Failing after 2m52s
- ActivationSection: load base package price via PackageService on init
- ClubMembershipContractDialog: dynamic package name/price in contract text
2026-02-27 02:41:24 +03:30
masoodafar-web bf0eb089bb fix: re-init scroll animations after data loads from DB
Build and Deploy to Kubernetes / build-and-deploy (push) Successful in 6m55s
- initScrollAnimations ran only on firstRender when data wasn't loaded yet
- Items with fade-in-up class stayed invisible (opacity:0) after data render
- Now tracks _dataLoaded/_animationsInitialized flags to re-init JS after data loads
- Also fixes stat counter animations not running (stats were empty on firstRender)
2026-02-17 23:57:41 +03:30
masoodafar-web bba9c1d1d8 feat: Add Licenses page + SitePageSettingsService
Build and Deploy to Kubernetes / build-and-deploy (push) Successful in 6m18s
- SitePageSettingsService: new gRPC client for simplified page settings
- Licenses.razor: new page showing license certificates from CMS
- RouteConstants: added Licenses route
- Footer + MainLayout: added Licenses navigation link
- Proto NuGet updated to 0.0.180
2026-02-17 22:35:20 +03:30
Masoud 183ce0a2e5 fix: update references from "تخفیفی" to "اعتباری" across multiple files
Build and Deploy to Kubernetes / build-and-deploy (push) Successful in 5m55s
2026-02-17 15:28:52 +03:30
Masoud f070a0b294 fix: update references from "فروشگاه تخفیفی" to "فروشگاه اعتباری" across multiple files
Build and Deploy to Kubernetes / build-and-deploy (push) Successful in 5m38s
2026-02-17 15:22:19 +03:30
masoodafar-web 6db83ccd90 feat: full FrontOffice updates - discount store, blog, payment gateway, UI improvements
Build and Deploy to Kubernetes / build-and-deploy (push) Failing after 4m55s
- Discount store pages (products, cart, orders, order detail)
- Blog pages and services
- Payment gateway callback page
- AppImage component, EmptyState, LoadingState, PageHeader
- DiscountCartService, DiscountOrderService, DiscountProductService
- BlogCategoryService, BlogPostService, SitePageService, ImageCacheService
- PhoneVerifyForm component
- Profile Hub page
- UI/UX improvements across all pages
- landing.js for homepage
- Config and routing updates
2026-02-16 00:51:39 +03:30
masoodafar-web eab978188a Refactor: Update Protobuf references to CMSMicroservice across multiple components
- Changed Protobuf imports from FrontOffice.BFF to CMSMicroservice in Profile components (EditAddressDialog, Index, PaymentCallback, Personal, Settings).
- Updated CheckoutSummary, OrderDetail, OrderTracking, and Orders pages to use new UserOrder Protobuf definitions.
- Refactored WalletService, PackageService, and other utility services to align with new Protobuf structure.
- Adjusted appsettings.json for local development URL.
- Removed unused validators and simplified validation logic in AuthDialog.
- Enhanced ClubMembershipContractDialog to utilize new OtpToken service for OTP handling.
2026-02-03 00:02:16 +03:30
masoodafar-web 29ce8cad38 Refactor commission-related pages and terminology to enhance clarity and consistency
Build and Deploy / build (push) Successful in 1m22s
- Updated CommissionDashboardPage to reflect new terminology for rewards instead of commissions.
- Removed CommissionHistoryPage as its functionality has been integrated into the dashboard.
- Adjusted WeeklyBalancePage to align with new reward terminology and improved layout.
- Modified Index, NetworkStatisticsPage, MyPackages, Packages, Profile, and Wallet pages to use consistent terms related to team and rewards.
- Updated ClubMembershipContractDialog to clarify user invitation terms.
- Enhanced footer description to reflect the focus on sales teams.
2025-12-29 00:35:12 +03:30
masoodafar-web e3521af071 feat: enhance WithdrawalRequests page with payout selection and improved submission logic; add sorting options for products
Build and Deploy / build (push) Successful in 1m18s
2025-12-27 06:22:41 +03:30
masoodafar-web 43cdf7c897 feat: enhance ReleaseNotesDialog with improved UI elements and animations; update button labels and alert messages
Build and Deploy / build (push) Successful in 1m26s
2025-12-27 05:06:03 +03:30
masoodafar-web 9cd275a777 feat: implement version check and update dialog; add browser cache clearing functionality
Build and Deploy / build (push) Successful in 1m40s
2025-12-27 04:47:27 +03:30
masoodafar-web 025e8d3c3e feat: add withdrawal requests feature and update VAT loading mechanism
Build and Deploy / build (push) Successful in 1m25s
2025-12-20 04:03:11 +03:30
masoodafar-web 9ee464b8b4 feat: implement VAT management service and integrate VAT calculations across components 2025-12-19 00:30:33 +03:30
masoodafar-web 6b457d0ce6 feat: integrate d3-org-chart for network visualization and add SignalR token notification service 2025-12-18 03:19:06 +03:30
masoodafar-web 27c2c0259b feat: add club membership contract dialog and city autocomplete 2025-12-17 22:46:07 +03:30
masoodafar-web d8e1fe77b3 Update order system with new gRPC services and wallet integration 2025-11-28 05:12:55 +03:30
masoodafar-web 973beb9e2f Add MainService for state management and update Index and AuthDialog to utilize it 2025-11-20 21:07:05 +03:30
masoodafar-web 52b8298a18 Add OtpDialogService for mobile-friendly OTP authentication dialog 2025-11-17 02:53:51 +03:30
masoodafar-web 772ed3523e Enhance authentication flow; add user registration completion check and update contract acceptance process 2025-11-17 00:17:10 +03:30
masoodafar-web 230ba41113 Add device detection and PDF generation features; refactor AuthDialog and update print utilities 2025-11-14 13:12:31 +03:30
masoodafar-web e86cb7aa47 Refactor AuthDialog to remove captcha handling and improve dialog display options 2025-11-14 10:49:46 +03:30
masoodafar-web 07ea8f0f47 Update MudBlazor integration, improve captcha handling, and upgrade project dependencies 2025-11-14 09:32:19 +03:30
MeysamMoghaddam 33fe8fd3a5 u 2025-11-09 19:57:54 +03:30
MeysamMoghaddam 2e5aaac095 U 2025-11-09 11:39:54 +03:30
MeysamMoghaddam 0b253074a9 u 2025-10-22 19:11:28 +03:30
MeysamMoghaddam 47a185bfbe u 2025-10-22 16:13:37 +03:30
MeysamMoghaddam d69a3617d9 u 2025-10-20 21:17:53 +03:30
MeysamMoghaddam 59e58abaf9 u 2025-10-20 21:02:13 +03:30
MeysamMoghaddam 4c022f18c6 u 2025-10-20 20:55:55 +03:30
MeysamMoghaddam 8abb5dcd5b u 2025-10-13 22:40:23 +03:30
MeysamMoghaddam 560694fc28 u 2025-10-13 22:31:53 +03:30
MeysamMoghaddam faa50d49a7 Update OrganizationChartLevel.razor.css 2025-10-13 21:54:30 +03:30
MeysamMoghaddam 6d9831de5c Update OrganizationChart.razor.css 2025-10-13 21:44:53 +03:30
MeysamMoghaddam 39b82ed3bc u 2025-10-13 21:36:05 +03:30
MeysamMoghaddam a10d1c05c7 Update OrganizationChartLevel.razor.cs 2025-10-13 21:07:56 +03:30
MeysamMoghaddam 24380d5dda u 2025-10-13 20:52:23 +03:30
MeysamMoghaddam 45896f8c14 Update OrganizationChartLevel.razor.css 2025-10-13 20:31:36 +03:30
MeysamMoghaddam 417f9beb03 Create OrganizationChartLevel.razor.css 2025-10-13 20:24:21 +03:30
MeysamMoghaddam 3f3e1c2a87 u 2025-10-13 20:20:07 +03:30
MeysamMoghaddam 4d6332854e u 2025-10-13 19:46:29 +03:30
MeysamMoghaddam 18d2ac62b7 u 2025-10-13 18:56:46 +03:30
MeysamMoghaddam 832fc18630 u 2025-10-13 17:18:04 +03:30
MeysamMoghaddam 86abecb3ce u 2025-10-13 17:12:25 +03:30
MeysamMoghaddam 5211f7ce38 u 2025-10-12 23:43:34 +03:30
MeysamMoghaddam 707eac088a u 2025-10-12 17:26:27 +03:30
MeysamMoghaddam 360adf7590 Update MainLayout.razor 2025-10-12 14:34:54 +03:30