This commit is contained in:
mmrbnjd
2024-06-14 22:37:22 +03:30
parent 39c9de8f4c
commit 376da0e7d0
10 changed files with 3815 additions and 13 deletions

View File

@@ -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}");
}
}