This commit is contained in:
mmrbnjd
2024-05-28 21:22:35 +03:30
parent dd17d8cb1e
commit 127c2cb326
4 changed files with 70 additions and 17 deletions

View File

@@ -35,7 +35,7 @@
<ItemGroup>
<Reference Include="Service">
<HintPath>..\..\..\LocalGit\TaxPayerTools\Service\bin\Debug\Service.dll</HintPath>
<HintPath>..\..\Dlls\Service.dll</HintPath>
</Reference>
</ItemGroup>

View File

@@ -22,20 +22,13 @@
@if (InvoiceID == 0 || InvoiceID == null ? false : true)
{
<div class="row g-3">
<div class="col-md-1">
<Button Color="ButtonColor.Success" Outline="true"> فاکتور </Button>
</div>
<div class="col-md-2">
<Button Color="ButtonColor.Info" Disabled="true" Outline="true"> برگشت از فروش </Button>
</div>
<div class="col-md-1">
<Button Color="ButtonColor.Primary" Disabled="true" Outline="true"> اصلاح </Button>
</div>
<div class="col-md-1">
<Button Color="ButtonColor.Danger" Disabled="true" Outline="true"> ابطال </Button>
</div>
<div class="col-md-1">
<Button Color="ButtonColor.Dark" Outline="true"> لغو </Button>
<div class="multi-button">
<button class="button" id="cut"><span>فاکتور</span></button>
<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>
</div>
</div>
<br />

View File

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

View File

@@ -101,3 +101,63 @@ a, .btn-link {
code {
color: #c02d76;
}
.multi-button {
background-color: white;
border: 1px solid white;
border-radius: 14px;
padding: 7px;
box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.1), 0 6px 15px 0 rgba(0, 0, 0, 0.1);
place-items: center;
}
#cut {
background-color: rgb(85,131,241);
border: 1px solid rgb(85,131,241);
}
#cut {
background-color: rgb(85,131,241);
border: 1px solid rgb(85,131,241);
}
#copy {
background-color: rgb(39,166,75);
border: 1px solid rgb(39,166,75);
}
#paste {
background-color: rgb(242,185,42);
border: 1px solid rgb(242,185,42);
}
#sred {
background-color: rgb(242 42 42);
border: 1px solid rgb(242 42 42);
}
#sred1 {
background-color: #ff7373;
border: 1px solid #ff7373;
}
.button {
box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.09), 0 6px 15px 0 rgba(0, 0, 0, 0.09);
padding: 10px 17px 10px 17px;
font: 15px Ubuntu;
color: white;
border-radius: 7px;
} .button span {
cursor: pointer;
display: inline-block;
position: relative;
transition: 0.5s;
} .button:hover span {
padding-right: 25px;
} .button:hover span:after {
opacity: 1;
right: 0;
}