feat: Implement role-based access control and manual payment management

- Added role-based permission checks in NavMenu for dashboard and management links.
- Created ManualPaymentDialog for creating and managing manual payments.
- Implemented TransactionDetailsDialog for displaying transaction details.
- Developed Transactions page for viewing and filtering transactions.
- Introduced RolePermissionsDialog for managing role permissions.
- Established AuthorizationService to handle permission checks and user roles.
- Enhanced UI components with MudBlazor for better user experience.
This commit is contained in:
masoodafar-web
2025-12-05 17:27:23 +03:30
parent b89f801742
commit 5cec4e9313
24 changed files with 1329 additions and 114 deletions
@@ -131,6 +131,16 @@
<Columns>
<PropertyColumn Property="x => x.Id" Title="شناسه"/>
<PropertyColumn Property="x => x.Amount" Title="مبلغ"/>
<PropertyColumn Property="x => x.VatAmount" Title="مبلغ VAT">
<CellTemplate>
@(context.Item.VatAmount > 0 ? context.Item.VatAmount.ToString("N0") : "-")
</CellTemplate>
</PropertyColumn>
<PropertyColumn Property="x => x.VatPercentage" Title="درصد VAT">
<CellTemplate>
@(context.Item.VatPercentage > 0 ? $"{context.Item.VatPercentage:0}٪" : "-")
</CellTemplate>
</PropertyColumn>
<PropertyColumn Property="x => x.UserFullName" Title="نام کاربر"/>
<PropertyColumn Property="x => x.UserNationalCode" Title="کدملی"/>
<TemplateColumn Title="روش پرداخت">