Go to file
Amir Hossein Khademi 48d3386233 Add brand-specific discount feature
-  Add `MudAutocomplete` for brand selection in UI
  Introduced a new component in `DiscountActionDialogBox.razor`.
- 🆕 Introduce `IsBrandEnable` property in ViewModel
  Added to manage the state of brand-specific discounts.
- 🔄 Update ViewModel logic for `IsBrandEnable`
  Ensured mutual exclusivity with other discount types.
- 🛠️ Handle brand selection in `SubmitEditAsync`
  Added logic for brand selection and validation.
- 🔍 Modify `SearchBrand` method in ViewModel
  Fetch and return brand data for selection.
- 📦 Change target framework to `net5.0`
  Updated `Netina.Common.csproj` and `Netina.Domain.csproj`.
- 🆙 Update `UpdateDiscountCommand` and `DiscountLDto`
  Included `BrandId` and `BrandName` properties.
- 🛠️ Modify `UpdateDiscountCommandHandler`
  Handle brand-specific discount updates.
- 🆕 Add `SubmitEditAsync` method in ViewModel
  For handling discount edits.

Changes made by Amir.H Khademi
2025-04-14 18:02:07 +03:30
.config Add project files. 2023-12-16 20:25:12 +03:30
.vscode feat : add payment , zarinpal gateway 2024-02-12 10:46:18 +03:30
Netina.Api Add BrandId columns and update project framework 2025-03-29 01:51:08 +03:30
Netina.Common Add brand-specific discount feature 2025-04-14 18:02:07 +03:30
Netina.Core Merge remote-tracking branch 'origin/subProduct' 2025-03-27 10:35:37 +03:30
Netina.Domain Add brand-specific discount feature 2025-04-14 18:02:07 +03:30
Netina.Infrastructure Add MetaTags support and update project configurations 2024-12-11 00:25:26 +03:30
Netina.Repository Add brand-specific discount feature 2025-04-14 18:02:07 +03:30
Tools/NetinaShop.WordPressDBConverter Add MetaTags support and update project configurations 2024-12-11 00:25:26 +03:30
.dockerignore Add project files. 2023-12-16 20:25:12 +03:30
.gitattributes Add .gitattributes and .gitignore. 2023-12-16 20:25:08 +03:30
.gitignore Add .gitattributes and .gitignore. 2023-12-16 20:25:08 +03:30
.version Add MetaTags support and update project configurations 2024-12-11 00:25:26 +03:30
Dockerfile edit docker file 2024-04-17 12:27:59 +03:30
Netina.sln feat : add version 0.22.25.43 , fix payment issue 2024-04-17 12:24:47 +03:30