Commit Graph

45 Commits

Author SHA1 Message Date
masoodafar-web c793630962 chore: update proto NuGet to 0.0.192
Build and Deploy to Kubernetes / build-and-deploy (push) Failing after 1m15s
2026-03-11 23:46:25 +03:30
masoodafar-web ff3696cda3 feat: implement payment verification methods for magic wallet and discount wallet
Build and Deploy to Kubernetes / build-and-deploy (push) Failing after 2m37s
2026-02-28 03:27:58 +03:30
masoodafar-web ecc4f447ba F6+F7: مقادیر داینامیک کیف‌پول جادویی، اصلاح rename، افزایش سقف تخفیفی
Build and Deploy to Kubernetes / build-and-deploy (push) Failing after 2m34s
F6: MagicWallet.razor — جایگزینی ×2.5 و سقف‌های ثابت با مقادیر از API
    - WalletService: MagicMultiplier + MagicMaxCredit از gRPC response
    - Index.razor.cs: 'شارژ ×2.5' → 'شارژ چند‌برابری' (تایل داشبورد)
F7: ChargeDiscountWallet.razor — Max از 100M تومان به 1B تومان
اصلاح rename:
    - ConfigureServices: UserWalletChangeLog → UserWalletHistory
    - WalletService: اصلاح تمام رفرنس‌ها
NuGet: v0.0.189
2026-02-27 09:01:12 +03:30
masoodafar-web 3bffc13ffd feat(T4.2+T4.3+F3): conditional payment, re-purchase, PV display
Build and Deploy to Kubernetes / build-and-deploy (push) Failing after 2m33s
T4.2: Conditional Payment in Checkout
- Load package flags via PackageService.GetAllPackagesAsync
- Respect SupportsDirectPurchase/SupportsDayaPurchase flags
- Add Daya loan payment button when supported
- Show alert when no payment method available

T4.3: MyPackages Re-Purchase Logic
- Load MagicWallet status to detect cycle completion
- Show re-purchase CTA when magic cycle is complete
- Show magic wallet progress bar during active cycle
- Display deposit progress, remaining, and credited amounts

F3: PV Display in Order Details
- Add CalculateOrderPVAsync to OrderService
- Show per-product PV and total PV in Store OrderDetail
- Update NuGet to v0.0.188
2026-02-26 22:01:55 +03:30
masoodafar-web a956cb90a1 feat(commission): add per-package filtering to commission pages
- CommissionDtos: add PackageId + PackageTitle to CommissionPayoutDto and WeeklyBalanceDto
- CommissionService: add packageId parameter to GetMyCommissionPayoutsAsync and GetMyWeeklyBalanceAsync
- CommissionDashboardPage: add package filter dropdown + package column in desktop/mobile views
- WeeklyBalancePage: add package filter dropdown + package chip in balance info section
- Update NuGet Foursat.CMSMicroservice.Protobuf to v0.0.187
2026-02-26 21:08:30 +03:30
masoodafar-web 40882c8b80 Phase 8d: NuGet bump 0.0.185 → 0.0.186 (proto cleanup) 2026-02-26 18:00:47 +03:30
masoodafar-web d71d463668 Phase 8c: FO Package pages — Customer RPCs + dynamic features
- NuGet: 0.0.182 → 0.0.185 + local feed source
- PackageDetail: GetPackageAsync → GetCustomerPackageDetailsAsync
  Features & specs now driven by API (PackageFeature) not hardcoded
- Packages.razor: Un-excluded from build, dynamic feature bullets
  from CustomerPackageModel (DiscountMultiplier, MagicWallet, etc.)
- PackageService: Enriched PackageDto with 8 new package fields
  GetUserPackageStatusAsync connected to real RPC (was stub)
2026-02-26 17:52:37 +03:30
masoodafar-web 214fe9efbd refactor: update CMS protobuf package to version 0.0.182
Build and Deploy to Kubernetes / build-and-deploy (push) Has been cancelled
2026-02-22 20:48:08 +03:30
masoodafar-web a2e1e1fead feat: Magic Wallet Phase 6 UI + purchase cycle controls
- FrontOffice.Main.csproj: switch to ProjectReference for CMS Protobuf
- MagicWallet.razor.cs: update default record with PurchaseCycleCount
- WalletService.cs: add PurchaseCycleCount to MagicWalletStatus record
- Profile/Index.razor.cs: load _purchaseCycleCount from MagicWalletStatus
- Profile/Index.razor: conditional purchase dialog (IPG vs Daya by cycle)
- Licenses.razor: fix grid column size xs=6
2026-02-22 20:04:44 +03:30
masoodafar-web be2633ddaf refactor: update CMS protobuf package to version 0.0.181
Build and Deploy to Kubernetes / build-and-deploy (push) Successful in 6m28s
2026-02-21 20:20:47 +03:30
masoodafar-web 104e4df1a6 feat: implement Magic Wallet feature with charging and status display
Build and Deploy to Kubernetes / build-and-deploy (push) Failing after 6m25s
2026-02-21 19:50:43 +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
masoodafar-web 81f32e6ec1 feat: show PaymentStatus on discount orders + failed payment UX
Build and Deploy to Kubernetes / build-and-deploy (push) Successful in 6m25s
- Updated NuGet to Protobuf v0.0.179
- Added PaymentStatus to DiscountOrderSummary and DiscountOrderDetail records
- OrderDetail: show payment status chip (Pending/Success/Failed/Refunded)
- OrderDetail: show alert with re-order link for failed payments
- Orders: updated desktop table and mobile cards with PaymentStatus chips
- Added GetPaymentStatusText() and GetPaymentStatusColor() helpers
2026-02-16 22:38:40 +03:30
masoodafar-web b102b89bfb fix: switch to NuGet package reference for CMS Protobuf (Docker build fix)
Build and Deploy to Kubernetes / build-and-deploy (push) Successful in 6m36s
- Changed from ProjectReference to PackageReference (v0.0.178)
- Docker build context only includes src/, cannot resolve ../../../CMS path
- Local dev and Docker both now use NuGet package from Nexus
2026-02-16 01:39:06 +03:30
masoodafar-web 081b9d3c10 refactor: update user address models and methods to use CustomerAddressModel across multiple components
Build and Deploy to Kubernetes / build-and-deploy (push) Failing after 3m8s
2026-02-08 00:25:12 +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 368d429897 feat: update commission protobuf version; enhance weekly balance display with new member counts and carryover logic
Build and Deploy / build (push) Successful in 1m26s
2025-12-28 23:53:45 +03:30
masoodafar-web 3fdaa2c22a feat: update commission status handling and UI; enhance status representation with computed properties and improve filtering logic
Build and Deploy / build (push) Successful in 2m20s
2025-12-27 07:31:31 +03:30
masoodafar-web 1c61fe6846 feat: update NetworkMembership Protobuf version and add referral code functionality with UI enhancements
Build and Deploy to Production / build-and-deploy (push) Has been cancelled
2025-12-26 05:51:24 +03:30
masoodafar-web 516da671c6 feat(AppVersion): Add AppVersionService for cache invalidation on version update
Build and Deploy to Production / build-and-deploy (push) Successful in 1m37s
- Add AppVersionService to check version and clear cache if needed
- Update Configuration.Protobuf package to 0.0.4 with AppVersion proto
- Integrate version check in App.razor on app initialization
2025-12-25 18:45:01 +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 3af564be73 feat: add payment callback and referral link features
Build and Deploy / build (push) Failing after 1m21s
2025-12-16 02:33:56 +03:30
masoodafar-web ebae8f3e16 Add Docker deployment configuration and update package references 2025-12-07 00:05:55 +03:30
masoodafar-web feaaeada47 feat: Add gRPC clients and services for Club, Commission, Network, and Discount functionalities 2025-12-04 19:53:38 +03:30
masoodafar-web 771c740c62 Update wallet service with Jalali date conversion and UI improvements 2025-11-28 14:43:58 +03:30
masoodafar-web 6ab835f7e9 Add category browsing and product filtering with breadcrumbs 2025-11-28 11:15:58 +03:30
masoodafar-web 82ddafda33 Update product service and detail view with gallery support 2025-11-28 09:10:22 +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 30bac23114 Refactor CartService to use async methods for cart operations and integrate gRPC for backend synchronization 2025-11-20 20:10:17 +03:30
masoodafar-web ddb47fda08 Add Products gRPC client and update ProductService for fetching products 2025-11-17 23:58:50 +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 680ef3a7e2 Implement Chromium-based PDF generation service; add fetchAndDownloadPdf utility and update contract generation endpoint 2025-11-14 15:20:46 +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 07ea8f0f47 Update MudBlazor integration, improve captcha handling, and upgrade project dependencies 2025-11-14 09:32:19 +03:30
masoodafar-web 99bfc1e619 update 2025-11-09 20:24:09 +03:30
MeysamMoghaddam 361f9268a3 u 2025-10-13 13:04:59 +03:30
MeysamMoghaddam b9a0cdff83 u 2025-10-13 08:42:31 +03:30
MeysamMoghaddam f74975bb08 Update FrontOffice.Main.csproj 2025-10-13 00:12:40 +03:30
MeysamMoghaddam 2497cec116 u 2025-10-12 18:16:59 +03:30
MeysamMoghaddam b466dfbc9a u 2025-10-09 20:50:37 +03:30
MeysamMoghaddam 63338dbb79 Update FrontOffice.Main.csproj 2025-09-28 07:19:27 +03:30
MeysamMoghaddam 1b8a584435 u 2025-09-28 01:28:44 +03:30