...
This commit is contained in:
@@ -35,7 +35,7 @@
|
|||||||
|
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<Reference Include="Service">
|
<Reference Include="Service">
|
||||||
<HintPath>..\..\Dlls\Service.dll</HintPath>
|
<HintPath>..\..\..\LocalGit\TaxPayerTools\Service\bin\Debug\Service.dll</HintPath>
|
||||||
</Reference>
|
</Reference>
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
|
|
||||||
|
@@ -24,11 +24,38 @@
|
|||||||
<div class="row g-3">
|
<div class="row g-3">
|
||||||
|
|
||||||
<div class="multi-button">
|
<div class="multi-button">
|
||||||
<button class="button" id="cut"><span>فاکتور</span></button>
|
@switch (invoice.invoiceType)
|
||||||
<button class="button" id="copy"><span>برگشت فروش</span></button>
|
{
|
||||||
<button class="button" id="paste"><span>اصلاح</span></button>
|
case(InvoiceType.Bidding):
|
||||||
<button class="button" id="sred"><span>ابطال</span></button>
|
<button class="button" id="cut"><span>فاکتور</span></button>
|
||||||
<button class="button" id="sred1"><span>لغو</span></button>
|
<button class="button" id="sred1"><span>لغو</span></button>
|
||||||
|
break;
|
||||||
|
|
||||||
|
case (InvoiceType.Sale):
|
||||||
|
<button class="button" id="copy"><span>برگشت فروش</span></button>
|
||||||
|
<button class="button" id="paste"><span>اصلاح</span></button>
|
||||||
|
<button class="button" id="sred"><span>ابطال</span></button>
|
||||||
|
<button class="button" id="sred1"><span>لغو</span></button>
|
||||||
|
break;
|
||||||
|
|
||||||
|
case (InvoiceType.BackFrmSale):
|
||||||
|
<button class="button" id="sred"><span>ابطال</span></button>
|
||||||
|
<button class="button" id="sred1"><span>لغو</span></button>
|
||||||
|
break;
|
||||||
|
|
||||||
|
case (InvoiceType.Repair):
|
||||||
|
<button class="button" id="sred"><span>ابطال</span></button>
|
||||||
|
<button class="button" id="sred1"><span>لغو</span></button>
|
||||||
|
<button class="button" id="copy"><span>برگشت فروش</span></button>
|
||||||
|
break;
|
||||||
|
|
||||||
|
case (InvoiceType.Cancellation):
|
||||||
|
<button class="button" id="sred1"><span>لغو</span></button>
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<br />
|
<br />
|
||||||
|
@@ -34,9 +34,9 @@ builder.Services.AddScoped(sp => new UserAuthenticationDTO()
|
|||||||
}) ;
|
}) ;
|
||||||
|
|
||||||
|
|
||||||
builder.Services.AddScoped(sp => new HttpClient { BaseAddress = new Uri("https://localhost:7075/api/") });
|
//builder.Services.AddScoped(sp => new HttpClient { BaseAddress = new Uri("https://localhost:7075/api/") });
|
||||||
|
|
||||||
//builder.Services.AddScoped(sp => new HttpClient { BaseAddress = new Uri("http://localhost:5271/api/") });
|
builder.Services.AddScoped(sp => new HttpClient { BaseAddress = new Uri("http://localhost:5271/api/") });
|
||||||
|
|
||||||
CultureInfo.DefaultThreadCurrentCulture = new CultureInfo("fa-Ir");
|
CultureInfo.DefaultThreadCurrentCulture = new CultureInfo("fa-Ir");
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user