...
This commit is contained in:
@@ -89,11 +89,13 @@
|
||||
if (invoice.InvoiceSendTaxs.Any(a=>a.InvoiceType==invoice.invoiceType
|
||||
&& a.SentStatus==SentStatus.Send))
|
||||
{
|
||||
SendInvoice = false;
|
||||
<h6 >این صورتحساب با این وضعیت به سامانه مودیان ارسال شده ،برای اطلاع از وضعیت لطفا تعیین وضعیت کنید</h6>
|
||||
}
|
||||
else if (invoice.InvoiceSendTaxs.Any(a => a.InvoiceType == invoice.invoiceType
|
||||
&& a.SentStatus == SentStatus.Successful))
|
||||
{
|
||||
SendInvoice = false;
|
||||
<h6>
|
||||
این صورتحساب با این وضعیت به سامانه مودیان ارسال و تائید شده
|
||||
</h6>
|
||||
@@ -107,6 +109,7 @@
|
||||
else if (invoice.InvoiceSendTaxs.Any(a => a.InvoiceType == invoice.invoiceType
|
||||
&& (a.SentStatus == SentStatus.pending || a.SentStatus == SentStatus.IN_PROGRESS)))
|
||||
{
|
||||
SendInvoice = false;
|
||||
<h6 >
|
||||
این صورتحساب با این وضعیت به سامانه مودیان ارسال و در حال بررسی می باشد
|
||||
</h6>
|
||||
@@ -114,6 +117,7 @@
|
||||
else if (invoice.InvoiceSendTaxs.Any(a => a.InvoiceType == invoice.invoiceType
|
||||
&& (a.SentStatus == SentStatus.NOT_FOUND || a.SentStatus == SentStatus.Unknown)))
|
||||
{
|
||||
SendInvoice = false;
|
||||
<h6 >
|
||||
این صورتحساب با این وضعیت به سامانه مودیان ارسال شده ولی وضعیت آن مشخص نیست
|
||||
</h6>
|
||||
@@ -327,9 +331,9 @@
|
||||
<Button class="mt-3" Color="ButtonColor.Danger" @onclick="ShowConfirmationDeleteAsync" Type="ButtonType.Button">
|
||||
حذف
|
||||
</Button>
|
||||
@* <Button class="mt-3" Color="ButtonColor.Primary" @onclick="ShowReport" Type="ButtonType.Button">
|
||||
<Button class="mt-3" Color="ButtonColor.Primary" @onclick="ShowReport" Type="ButtonType.Button">
|
||||
چاپ
|
||||
</Button> *@
|
||||
</Button>
|
||||
|
||||
}
|
||||
}
|
||||
@@ -379,10 +383,10 @@
|
||||
public List<ForCustomerSearch>? Cus { get; set; }
|
||||
public List<IdName<int>>? Patterns { get; set; }
|
||||
public InvoiceDTO? invoice { get; set; }
|
||||
|
||||
|
||||
protected override async Task OnInitializedAsync()
|
||||
{
|
||||
|
||||
fv.invoice = null;
|
||||
invoice = new InvoiceDTO();
|
||||
await base.OnInitializedAsync();
|
||||
}
|
||||
@@ -466,6 +470,7 @@
|
||||
{
|
||||
if (InvoiceID.HasValue)
|
||||
{
|
||||
|
||||
hc._nav.NavigateTo($"TaxPayerInvoiceItem/{InvoiceID}");
|
||||
}
|
||||
}
|
||||
@@ -473,6 +478,7 @@
|
||||
{
|
||||
if (InvoiceID.HasValue)
|
||||
{
|
||||
fv.invoice = invoice;
|
||||
hc._nav.NavigateTo($"InvoiceReport/{InvoiceID}");
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user