...
This commit is contained in:
@@ -3,6 +3,7 @@
|
||||
@inject HttpClientController hc;
|
||||
<Preload LoadingText="در حال بارگذاری..." />
|
||||
<Toasts class="p-3" Messages="messages" Placement="ToastsPlacement.MiddleCenter" />
|
||||
@layout EmptyLayout
|
||||
@page "/InvoiceReport/{ExternalAccessCode}"
|
||||
@using Front.Services
|
||||
|
||||
@@ -13,7 +14,7 @@
|
||||
protected async override Task OnParametersSetAsync()
|
||||
{
|
||||
if (!string.IsNullOrEmpty(ExternalAccessCode))
|
||||
ShowReport();
|
||||
await ShowReport();
|
||||
await base.OnParametersSetAsync();
|
||||
}
|
||||
|
||||
|
@@ -16,7 +16,8 @@
|
||||
|
||||
<Modal @ref="Codemodal" title="لینک برای دانلود" IsVerticallyCentered="true">
|
||||
<BodyTemplate>
|
||||
@ExUrl
|
||||
<h5>با لینک زیر دیگران میتوانند به این صورتحساب دسترسی داشته باشند</h5>
|
||||
<NavLink href="@ExUrl">@ExUrl</NavLink>
|
||||
</BodyTemplate>
|
||||
<FooterTemplate>
|
||||
<Button Color="ButtonColor.Secondary" @onclick="OnHideModalClick">Close</Button>
|
||||
@@ -342,7 +343,7 @@
|
||||
<Button class="mt-3" Color="ButtonColor.Primary" @onclick="ShowReport" Type="ButtonType.Button">
|
||||
pdf
|
||||
</Button>
|
||||
<Button class="mt-3" Color="ButtonColor.Secondary" @onclick="onClickExternalAccessCode" Type="ButtonType.Button">
|
||||
<Button class="mt-3" Color="ButtonColor.Info" @onclick="onClickExternalAccessCode" Type="ButtonType.Button">
|
||||
لینک
|
||||
</Button>
|
||||
}
|
||||
|
Reference in New Issue
Block a user