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:
@@ -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="روش پرداخت">
|
||||
|
||||
Reference in New Issue
Block a user