...
This commit is contained in:
@@ -6,7 +6,7 @@
|
||||
@inject HttpClientController hc;
|
||||
@inject Fixedvalues fv;
|
||||
<PageTitle>کالا</PageTitle>
|
||||
<Modal Size="ModalSize.ExtraLarge" @ref="modal" />
|
||||
<Modal @ref="modal" />
|
||||
<Preload LoadingText="در حال بارگذاری..." />
|
||||
@* search *@
|
||||
<div class="row">
|
||||
@@ -21,7 +21,7 @@
|
||||
<li class="list-group-item" data-toggle="modal" data-target="#issue">
|
||||
<div class="row g-3">
|
||||
<div class="col-md-1">
|
||||
<input @bind-value="itemsearch.CODID" placeholder="شناسه" style="text-align:center;" class="form-control" type="text" >
|
||||
<input @bind-value="itemsearch.CODID" placeholder="شناسه" style="text-align:center;" dir="ltr" class="form-control" type="text">
|
||||
</div>
|
||||
<div class="col-md-2">
|
||||
<input @bind-value="itemsearch.Title" placeholder="نام کالا" style="text-align:center;" class="form-control" type="text">
|
||||
@@ -39,7 +39,7 @@
|
||||
</select>
|
||||
</div>
|
||||
<div class="col-md-2">
|
||||
<input @bind-value="itemsearch.ItemTaxID" placeholder="شناسه مالیاتی" style="text-align:center;" class="form-control" type="text">
|
||||
<input @bind-value="itemsearch.ItemTaxID" placeholder="شناسه مالیاتی" dir="ltr" style="text-align:center;" class="form-control" type="text">
|
||||
</div>
|
||||
|
||||
<div class="col-auto">
|
||||
@@ -66,12 +66,16 @@
|
||||
|
||||
|
||||
</div>
|
||||
<div class="col-auto">
|
||||
|
||||
<Button Color="ButtonColor.Info" @onclick="Showstuff" Type="ButtonType.Button">
|
||||
<div class="col-auto" >
|
||||
<a href="https://stuffid.tax.gov.ir/" target="_blank" rel="noopener noreferrer">
|
||||
<Button Color="ButtonColor.Info" Type="ButtonType.Button">
|
||||
دریافت شناسه کالا
|
||||
</Button>
|
||||
</a>
|
||||
@* <Button Color="ButtonColor.Info" @onclick="Showstuff" Type="ButtonType.Button">
|
||||
دریافت شناسه کالا
|
||||
</Button>
|
||||
|
||||
*@
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -166,7 +170,7 @@
|
||||
}
|
||||
public async Task LoadCod(int pi)
|
||||
{
|
||||
|
||||
if (itemsearch.UnitID == 0) itemsearch.UnitID = null;
|
||||
itemsearch.PageSize = 10;
|
||||
itemsearch.PageIndex = pi;
|
||||
PreloadService.Show(SpinnerColor.Dark);
|
||||
@@ -213,7 +217,7 @@
|
||||
public async Task CodItem(int ID)
|
||||
{
|
||||
var parameters = new Dictionary<string, object>();
|
||||
|
||||
modal.Size = ModalSize.Regular;
|
||||
if(ID == 0) parameters.Add("Cod", new RCOD(){ID=0});
|
||||
else parameters.Add("Cod", request.list.Where(w=>w.ID==ID).First().Clone());
|
||||
parameters.Add("Unitrequest", Unitrequest);
|
||||
@@ -225,6 +229,7 @@
|
||||
public async Task Showstuff()
|
||||
{
|
||||
var parameters = new Dictionary<string, object>();
|
||||
modal.Size = ModalSize.ExtraLarge;
|
||||
await modal.ShowAsync<Front.CUSComponent.Taxstuff>(title: "دریافت شناسه کالا", parameters: parameters);
|
||||
|
||||
|
||||
|
@@ -380,29 +380,19 @@
|
||||
<div class="row">
|
||||
@if (fv.dashBoard == null)
|
||||
{
|
||||
<div class="col-auto" >
|
||||
<Spinner Visible="fv.dashBoard == null" Color="SpinnerColor.Primary" />
|
||||
|
||||
<p>در حال بارگذاری...</p>
|
||||
</div> <div class="col-auto">
|
||||
<p>در حال بارگذاری...</p>
|
||||
</div>
|
||||
}
|
||||
@if (fv.dashBoard != null)
|
||||
else
|
||||
{
|
||||
<!-- Order Statistics -->
|
||||
<LastActivityServices dashBoard="fv.dashBoard" />
|
||||
<!--/ Order Statistics -->
|
||||
}
|
||||
<!-- MostInvoicedCustomer -->
|
||||
@if (fv.dashBoard != null)
|
||||
{
|
||||
<MostInvoicedCustomer model="fv.dashBoard?.MostInvoicedCustomer" />
|
||||
|
||||
}
|
||||
<!--/ MostInvoicedCustomer -->
|
||||
<!-- MostInvoicedProduct -->
|
||||
@if (fv.dashBoard != null)
|
||||
{
|
||||
<MostInvoicedProduct model="fv.dashBoard?.MostInvoicedProduct" />
|
||||
|
||||
}
|
||||
|
||||
<!--/ MostInvoicedProduct -->
|
||||
</div>
|
||||
|
||||
|
Reference in New Issue
Block a user