Modificate interfacce
This commit is contained in:
@@ -4,7 +4,7 @@
|
||||
<TargetFramework>net8.0</TargetFramework>
|
||||
<Nullable>enable</Nullable>
|
||||
<ImplicitUsings>enable</ImplicitUsings>
|
||||
<Version>1.1.2606.0917</Version>
|
||||
<Version>1.1.2606.1010</Version>
|
||||
</PropertyGroup>
|
||||
|
||||
<ItemGroup>
|
||||
|
||||
@@ -35,8 +35,8 @@
|
||||
@if (!string.IsNullOrEmpty(SelectCodGroup))
|
||||
{
|
||||
<div class="row">
|
||||
<div class="d-flex col-4 align-items-center text-center">
|
||||
<a href="@(DoPrint("MaterialReqOrd_01"))" target="_blank" class="btn btn-primary m-1">
|
||||
<div class="col align-items-center text-center">
|
||||
<a href="@(DoPrint("MaterialReqOrd_01"))" target="_blank" class="btn btn-primary p-1">
|
||||
Lista materiale selezionato
|
||||
</a>
|
||||
</div>
|
||||
|
||||
@@ -39,92 +39,86 @@
|
||||
</div>
|
||||
</div>
|
||||
}
|
||||
<div class="card shadow">
|
||||
<div class="card-header">
|
||||
@Traduci("cicli_elencoCicliAtt")
|
||||
</div>
|
||||
<div class="card-body p-1">
|
||||
@if (isLoading || ListRecords == null)
|
||||
{
|
||||
<LoadingData></LoadingData>
|
||||
}
|
||||
else if (totalCount == 0)
|
||||
{
|
||||
<div class="alert alert-info text-center display-4">@Traduci("noRecord")</div>
|
||||
}
|
||||
else
|
||||
{
|
||||
<table class="table table-sm table-striped">
|
||||
<thead>
|
||||
<tr>
|
||||
<th>
|
||||
<button class="btn btn-sm btn-primary" title="@Traduci("reset")" @onclick="DoReset"><i class="fa-solid fa-arrow-rotate-right"></i></button>
|
||||
</th>
|
||||
@if (selRecord == null)
|
||||
{
|
||||
<th>@Traduci("ord")</th>
|
||||
<th>@Traduci("descrizione")</th>
|
||||
<th class="text-center">@Traduci("cicli_fasi")</th>
|
||||
<th class="text-center">@Traduci("cicli_tags")</th>
|
||||
<th class="text-center">@Traduci("cicli_drivers")</th>
|
||||
<th>
|
||||
<button class="btn btn-sm btn-success" @onclick="ToggleAdd"><i class="fa-solid fa-plus"></i></button>
|
||||
</th>
|
||||
}
|
||||
else
|
||||
{
|
||||
<th>@Traduci("descrizione")</th>
|
||||
}
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
@foreach (var item in ListRecords)
|
||||
|
||||
@if (isLoading || ListRecords == null)
|
||||
{
|
||||
<LoadingData></LoadingData>
|
||||
}
|
||||
else if (totalCount == 0)
|
||||
{
|
||||
<div class="alert alert-info text-center display-4">@Traduci("noRecord")</div>
|
||||
}
|
||||
else
|
||||
{
|
||||
<table class="table table-sm table-striped">
|
||||
<thead>
|
||||
<tr>
|
||||
<th>
|
||||
<button class="btn btn-sm btn-primary" title="@Traduci("reset")" @onclick="DoReset"><i class="fa-solid fa-arrow-rotate-right"></i></button>
|
||||
</th>
|
||||
@if (selRecord == null)
|
||||
{
|
||||
<th>@Traduci("ord")</th>
|
||||
<th>@Traduci("descrizione")</th>
|
||||
<th class="text-center">@Traduci("cicli_fasi")</th>
|
||||
<th class="text-center">@Traduci("cicli_tags")</th>
|
||||
<th class="text-center">@Traduci("cicli_drivers")</th>
|
||||
<th>
|
||||
<button class="btn btn-sm btn-success" @onclick="ToggleAdd"><i class="fa-solid fa-plus"></i></button>
|
||||
</th>
|
||||
}
|
||||
else
|
||||
{
|
||||
<th>@Traduci("descrizione")</th>
|
||||
}
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
@foreach (var item in ListRecords)
|
||||
{
|
||||
string cssBtnUp = editRecord == null && item.Index > 1 ? "btn-outline-primary" : "btn-outline-secondary opacity-50 disabled";
|
||||
string cssBtnDown = editRecord == null && item.Index < totalCount ? "btn-outline-primary" : "btn-outline-secondary opacity-50 disabled";
|
||||
|
||||
<tr class="@checkSel(item)">
|
||||
<td class="text-start text-nowrap">
|
||||
<button class="btn btn-sm btn-primary" @onclick="() => DoSelect(item)"><i class="fa-solid fa-magnifying-glass"></i></button>
|
||||
<button class="btn btn-sm btn-info" @onclick="() => DoEdit(item)"><i class="fa-solid fa-pencil"></i></button>
|
||||
</td>
|
||||
@if (selRecord == null)
|
||||
{
|
||||
string cssBtnUp = editRecord == null && item.Index > 1 ? "btn-outline-primary" : "btn-outline-secondary opacity-50 disabled";
|
||||
string cssBtnDown = editRecord == null && item.Index < totalCount ? "btn-outline-primary" : "btn-outline-secondary opacity-50 disabled";
|
||||
<td class="text-nowrap">
|
||||
|
||||
<tr class="@checkSel(item)">
|
||||
<td class="text-start text-nowrap">
|
||||
<button class="btn btn-sm btn-primary" @onclick="() => DoSelect(item)"><i class="fa-solid fa-magnifying-glass"></i></button>
|
||||
<button class="btn btn-sm btn-info" @onclick="() => DoEdit(item)"><i class="fa-solid fa-pencil"></i></button>
|
||||
</td>
|
||||
@if (selRecord == null)
|
||||
<button class="btn @cssBtnUp btn-sm fa-solid fa-caret-up" @onclick="() => MoveRec(item, true)"></button>
|
||||
@item.Index
|
||||
<button class="btn @cssBtnDown btn-sm fa-solid fa-caret-down" @onclick="() => MoveRec(item, false)"></button>
|
||||
</td>
|
||||
<td>@item.Description</td>
|
||||
<td class="text-center">@item.NumChild</td>
|
||||
<td class="text-center">
|
||||
<TagDisplay ParentId="@item.JobID" AllTagsList="ListAllTags" EnableEdit="true" ActiveTagsList="@item.TagList" DisplayAs="TagDisplay.TagMode.badge" EC_ReqSave="DoSaveTags"></TagDisplay>
|
||||
</td>
|
||||
<td class="text-center">
|
||||
<TagDisplay AllTagsList="ListCostDrivers" EnableEdit="false" ActiveTagsList="@ListDriversName(item)" BaseCss="bg-primary bg-gradient bg-opacity-50 text-dark" DisplayAs="TagDisplay.TagMode.pill"></TagDisplay>
|
||||
</td>
|
||||
<td>
|
||||
@if (item.Lock || item.NumChild > 0)
|
||||
{
|
||||
<td class="text-nowrap">
|
||||
|
||||
<button class="btn @cssBtnUp btn-sm fa-solid fa-caret-up" @onclick="() => MoveRec(item, true)"></button>
|
||||
@item.Index
|
||||
<button class="btn @cssBtnDown btn-sm fa-solid fa-caret-down" @onclick="() => MoveRec(item, false)"></button>
|
||||
</td>
|
||||
<td>@item.Description</td>
|
||||
<td class="text-center">@item.NumChild</td>
|
||||
<td class="text-center">
|
||||
<TagDisplay ParentId="@item.JobID" AllTagsList="ListAllTags" EnableEdit="true" ActiveTagsList="@item.TagList" DisplayAs="TagDisplay.TagMode.badge" EC_ReqSave="DoSaveTags"></TagDisplay>
|
||||
</td>
|
||||
<td class="text-center">
|
||||
<TagDisplay AllTagsList="ListCostDrivers" EnableEdit="false" ActiveTagsList="@ListDriversName(item)" BaseCss="bg-primary bg-gradient bg-opacity-50 text-dark" DisplayAs="TagDisplay.TagMode.pill"></TagDisplay>
|
||||
</td>
|
||||
<td>
|
||||
@if (item.Lock || item.NumChild > 0)
|
||||
{
|
||||
<button class="btn btn-sm btn-secondary opacity-50" disabled title="@Traduci("childCorrelati")"><i class="fa-solid fa-trash-can"></i></button>
|
||||
}
|
||||
else
|
||||
{
|
||||
<button class="btn btn-sm btn-danger" @onclick="() => DoDelete(item)"><i class="fa-solid fa-trash-can"></i></button>
|
||||
}
|
||||
</td>
|
||||
<button class="btn btn-sm btn-secondary opacity-50" disabled title="@Traduci("childCorrelati")"><i class="fa-solid fa-trash-can"></i></button>
|
||||
}
|
||||
else
|
||||
{
|
||||
<td>@item.Description</td>
|
||||
<button class="btn btn-sm btn-danger" @onclick="() => DoDelete(item)"><i class="fa-solid fa-trash-can"></i></button>
|
||||
}
|
||||
</tr>
|
||||
</td>
|
||||
}
|
||||
</tbody>
|
||||
</table>
|
||||
}
|
||||
</div>
|
||||
</div>
|
||||
else
|
||||
{
|
||||
<td>@item.Description</td>
|
||||
}
|
||||
</tr>
|
||||
}
|
||||
</tbody>
|
||||
</table>
|
||||
}
|
||||
|
||||
<BootstrapModal @ref=Modal Title=@mTitle Message=@mMessage Mode="BootstrapModal.ModalMode.Confirm" UserOptions=@modalOpt></BootstrapModal>
|
||||
@@ -15,7 +15,7 @@ else
|
||||
<table class="table table-sm table-striped">
|
||||
<thead>
|
||||
<tr>
|
||||
<th class="text-center">
|
||||
<th class="text-start">
|
||||
<button class="btn btn-sm btn-primary" title="Reset selezione" @onclick="DoReset"><i class="fa-solid fa-arrow-rotate-right"></i></button>
|
||||
</th>
|
||||
<th>@Traduci("cod")</th>
|
||||
@@ -30,7 +30,7 @@ else
|
||||
@foreach (var item in ListRecords)
|
||||
{
|
||||
<tr class="@checkSel(item)">
|
||||
<td class="text-center">
|
||||
<td class="text-start">
|
||||
<button class="btn btn-sm btn-primary" @onclick="() => DoSelect(item)"><i class="fa-solid fa-magnifying-glass"></i></button>
|
||||
</td>
|
||||
<td>@item.CodResource</td>
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
|
||||
<div class="row px-2">
|
||||
<div class="row">
|
||||
<div class="col-2 px-2">
|
||||
<div class="pb-2">
|
||||
<div class="card border-0 rounded-3 shadow">
|
||||
@@ -24,7 +24,7 @@
|
||||
</div>
|
||||
<PieChart CanvasId="pieDealerCount" PieDict="@DatasetDealerCount" DictColorFill="@FillDealerColors" DictColorBorder="@BorderDealerColors" Label="# Offerte" />
|
||||
</div>
|
||||
<div class="col-8 ps-5">
|
||||
<div class="col-8 ps-4">
|
||||
<div class="row">
|
||||
<div class="col-12">
|
||||
<div class="card border-0 rounded-3 shadow">
|
||||
|
||||
@@ -1,29 +1,23 @@
|
||||
@inherits BaseComp
|
||||
|
||||
<div class="card shadow">
|
||||
<div class="card-header">
|
||||
<div class="d-flex justify-content-between">
|
||||
<div class="px-0 fs-4">
|
||||
<b>@Traduci("fabbisogno_fornitoreOrd")</b>
|
||||
</div>
|
||||
<div class="px-0">
|
||||
<div class="px-0 d-flex justify-content-between">
|
||||
<div class="px-1">
|
||||
<div class="input-group input-group-sm" title="@Traduci("ricerca")">
|
||||
<span class="input-group-text"><i class="fas fa-search"></i></span>
|
||||
<select class="form-select" @bind="@SearchVal">
|
||||
@foreach (var item in OrderStateList)
|
||||
{
|
||||
<option value="@item.ToString()">@Traduci("fornitore_"+item.ToString().ToLower())</option>
|
||||
}
|
||||
</select>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="p-2 shadow">
|
||||
<div class="d-flex justify-content-between">
|
||||
<div class="px-0 fs-4">
|
||||
<b>@Traduci("fabbisogno_fornitoreOrd")</b>
|
||||
</div>
|
||||
<div class="px-0 d-flex justify-content-between">
|
||||
<div class="input-group input-group-sm" style="width:10em;" title="@Traduci("ricerca")">
|
||||
<span class="input-group-text">@Traduci("stato")</span>
|
||||
<select class="form-select" @bind="@SearchVal">
|
||||
@foreach (var item in OrderStateList)
|
||||
{
|
||||
<option value="@item.ToString()">@Traduci("fornitore_"+item.ToString().ToLower())</option>
|
||||
}
|
||||
</select>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="card-body p-1">
|
||||
<div class="my-2 py-1">
|
||||
@foreach (var item in ListRecords)
|
||||
{
|
||||
<BuyOrderDetail CurrRec="@item" EC_SaveBuyOrder="SaveBuyOrder"></BuyOrderDetail>
|
||||
|
||||
@@ -1,23 +1,23 @@
|
||||
@inherits BaseComp
|
||||
|
||||
<div class="col-2">
|
||||
<div class="card shadow">
|
||||
<div class="card-header">
|
||||
<div class="d-flex justify-content-between">
|
||||
<div class="px-0 fs-5" style="min-height:1.5em;">
|
||||
@Traduci("fabbisogno_genOrd")
|
||||
</div>
|
||||
<div class="p-2 shadow">
|
||||
<div class="d-flex align-items-center justify-content-between">
|
||||
<div class="px-0 fs-4">
|
||||
<b>@Traduci("fabbisogno_genOrd")</b>
|
||||
</div>
|
||||
</div>
|
||||
<div class="card-body ">
|
||||
<div class="row gy-2 px-1">
|
||||
<div class="my-2 py-1">
|
||||
<div class="row gy-2 px-3">
|
||||
@foreach (var item in CurrSelDict)
|
||||
{
|
||||
if (item.Value.Any())
|
||||
{
|
||||
<button class="btn bg-primary bg-gradient bg-opacity-50 w-100 d-flex justify-content-between align-items-center" @onclick="() => CreateBuyOrder(item)">
|
||||
<b class="fs-6">@item.Key</b>
|
||||
<span class="badge rounded-pill bg-dark">@item.Value.Count</span>
|
||||
<button class="btn btn-genOrd" @onclick="() => CreateBuyOrder(item)">
|
||||
<div class="d-flex justify-content-between align-items-center">
|
||||
<b class="fs-6">@item.Key</b>
|
||||
<span class="badge rounded-pill bg-dark">@item.Value.Count</span>
|
||||
</div>
|
||||
</button>
|
||||
}
|
||||
}
|
||||
|
||||
@@ -0,0 +1,21 @@
|
||||
/* Questo trasforma il bottone in un elemento di un menu */
|
||||
.btn-genOrd {
|
||||
background: none;
|
||||
border: none;
|
||||
text-align: left;
|
||||
padding: 10px 20px;
|
||||
font-size: 1.1rem;
|
||||
background-color: #82bbf5;
|
||||
color: black !important;
|
||||
border-radius: 8px;
|
||||
transition: all 0.2s ease-in-out;
|
||||
width: 100%;
|
||||
transition: transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
|
||||
}
|
||||
/* Effetto quando passi il mouse sopra */
|
||||
.btn-genOrd:hover {
|
||||
background-color: #6baef2;
|
||||
color: black !important;
|
||||
/*transform: scale(1.02);*/
|
||||
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
|
||||
}
|
||||
@@ -0,0 +1,23 @@
|
||||
/* Questo trasforma il bottone in un elemento di un menu */
|
||||
.btn-genOrd {
|
||||
background: none;
|
||||
border: none;
|
||||
text-align: left;
|
||||
padding: 10px 20px;
|
||||
font-size: 1.1rem;
|
||||
background-color: #82bbf5;
|
||||
color: black !important;
|
||||
border-radius: 8px;
|
||||
transition: all 0.2s ease-in-out;
|
||||
width: 100%;
|
||||
transition: transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
|
||||
}
|
||||
|
||||
/* Effetto quando passi il mouse sopra */
|
||||
.btn-genOrd:hover {
|
||||
background-color: #6baef2;
|
||||
color: black !important;
|
||||
/*transform: scale(1.02);*/
|
||||
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
|
||||
}
|
||||
|
||||
@@ -0,0 +1 @@
|
||||
.btn-genOrd{background:none;border:0;text-align:left;padding:10px 20px;font-size:1.1rem;background-color:#82bbf5;color:#000!important;border-radius:8px;transition:all .2s ease-in-out;width:100%;transition:transform .2s ease-in-out,box-shadow .2s ease-in-out;}.btn-genOrd:hover{background-color:#6baef2;color:#000!important;box-shadow:0 2px 8px rgba(0,0,0,.3);}
|
||||
@@ -1,37 +1,34 @@
|
||||
@inherits BaseComp
|
||||
|
||||
<div class="card shadow">
|
||||
<div class="card-header">
|
||||
<div class="d-flex justify-content-between">
|
||||
<div class="px-0 fs-4">
|
||||
<b>@Traduci("fabbisogno_fabbisogni")</b>
|
||||
<div class="p-2 shadow">
|
||||
<div class="d-flex justify-content-between">
|
||||
<div class="px-0 fs-4">
|
||||
<b>@Traduci("fabbisogno_fabbisogni")</b>
|
||||
</div>
|
||||
<div class="row px-0">
|
||||
<div class="col-2"></div>
|
||||
<div class="col-4">
|
||||
<div class="input-group input-group-sm">
|
||||
<span class="input-group-text">Ord</span>
|
||||
<select @bind="@SelOrder" class="form-select form-select-sm">
|
||||
<option value="">--- @Traduci("tutti") ---</option>
|
||||
@foreach (var item in AvailOrdList)
|
||||
{
|
||||
<option value="@item">@item</option>
|
||||
}
|
||||
</select>
|
||||
</div>
|
||||
</div>
|
||||
<div class="px-0">
|
||||
<div class="px-0 d-flex">
|
||||
<div class="px-0">
|
||||
<div class="input-group input-group-sm">
|
||||
<span class="input-group-text">Ord</span>
|
||||
<select @bind="@SelOrder" class="form-select form-select-sm">
|
||||
<option value="">--- @Traduci("tutti") ---</option>
|
||||
@foreach (var item in AvailOrdList)
|
||||
{
|
||||
<option value="@item">@item</option>
|
||||
}
|
||||
</select>
|
||||
</div>
|
||||
</div>
|
||||
<div class="px-0">
|
||||
<div class="input-group input-group-sm" title="@Traduci("ricerca")">
|
||||
<span class="input-group-text"><i class="fas fa-search"></i></span>
|
||||
<input type="text" class="form-control" accesskey="/" placeholder="Cerca [/] (3+ char)" @bind="@SearchVal">
|
||||
<button class="btn @btnResetCss" @onclick="ResetSearch"><i class="fas fa-ban"></i></button>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-4">
|
||||
<div class="input-group input-group-sm" style="width:15em;" title="@Traduci("ricerca")">
|
||||
<span class="input-group-text"><i class="fas fa-search"></i></span>
|
||||
<input type="text" class="form-control" accesskey="/" placeholder="Cerca [/] (3+ char)" @bind="@SearchVal">
|
||||
<button class="btn @btnResetCss" @onclick="ResetSearch"><i class="fas fa-ban"></i></button>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="card-body p-1">
|
||||
<div class="my-2 py-1">
|
||||
@foreach (var item in GroupDict)
|
||||
{
|
||||
<MatReqGroup GrpName="@item.Key" AllRecords="@item.Value" EC_Updated="ReportUpdate"></MatReqGroup>
|
||||
|
||||
@@ -10,7 +10,7 @@
|
||||
<div class="top-row">
|
||||
<CmpHeader CurrLang="@currLang" TitlePage="@titlePage" EC_LangSelected="SetLang"></CmpHeader>
|
||||
</div>
|
||||
<article class="content mb-4">
|
||||
<article class="content mb-5">
|
||||
@Body
|
||||
</article>
|
||||
</main>
|
||||
|
||||
@@ -13,7 +13,7 @@
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="flex-grow-1 overflow-auto my-2 py-1 shadow shadow-sm">
|
||||
<div class="my-2 py-1">
|
||||
@if (isLoading)
|
||||
{
|
||||
<LoadingData></LoadingData>
|
||||
|
||||
@@ -12,7 +12,7 @@
|
||||
<button class="btn @btnResetCss" @onclick="ResetSearch"><i class="fas fa-ban"></i></button>
|
||||
</div>
|
||||
</div>
|
||||
<div class="flex-grow-1 overflow-auto my-2 py-1 shadow shadow-sm">
|
||||
<div class="flex-grow-1 overflow-auto my-2 py-1">
|
||||
@if (isLoading)
|
||||
{
|
||||
<LoadingData></LoadingData>
|
||||
|
||||
@@ -1,24 +1,17 @@
|
||||
@page "/GenList"
|
||||
@inherits BaseComp
|
||||
|
||||
<div class="card shadow">
|
||||
<div class="card-header">
|
||||
<div class=" d-flex justify-content-between">
|
||||
<div class="px-0 fs-3">
|
||||
<b>Anagrafiche Generiche</b>
|
||||
</div>
|
||||
<div class="px-0 d-flex justify-content-between">
|
||||
<div class="px-1">
|
||||
<div class="input-group input-group-sm" title="@Traduci("ricerca")">
|
||||
<span class="input-group-text"><i class="fas fa-search"></i></span>
|
||||
<input type="text" class="form-control" @bind="@SearchVal">
|
||||
<button class="btn btn-outline-secondary" @onclick="ResetSearch"><i class="fas fa-ban"></i></button>
|
||||
</div>
|
||||
</div>
|
||||
<div class="p-2 shadow">
|
||||
<div class=" d-flex justify-content-end">
|
||||
<div class="px-1">
|
||||
<div class="input-group shadow-sm" style="width:20em;" title="@Traduci("ricerca")">
|
||||
<span class="input-group-text"><i class="fas fa-search"></i></span>
|
||||
<input type="text" class="form-control" accesskey="/" placeholder="Cerca [/] (3+ char)" @bind="@SearchVal">
|
||||
<button class="btn @btnResetCss" @onclick="ResetSearch"><i class="fas fa-ban"></i></button>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="card-body">
|
||||
<div class="my-2 py-1">
|
||||
<div class="row">
|
||||
@if (isLoading)
|
||||
{
|
||||
|
||||
@@ -39,6 +39,10 @@ namespace Lux.UI.Components.Pages
|
||||
isLoading = false;
|
||||
}
|
||||
}
|
||||
private string btnResetCss
|
||||
{
|
||||
get => string.IsNullOrEmpty(CurrFilt.SearchVal) ? "btn-outline-secondary" : "btn-primary";
|
||||
}
|
||||
|
||||
private string SelCodGroup
|
||||
{
|
||||
@@ -79,7 +83,7 @@ namespace Lux.UI.Components.Pages
|
||||
{
|
||||
SelCodGroup = codGroup;
|
||||
}
|
||||
|
||||
|
||||
#endregion Private Methods
|
||||
}
|
||||
}
|
||||
@@ -5,7 +5,7 @@
|
||||
<div class="d-flex align-items-center justify-content-between">
|
||||
<DataFilter CurrFilt="@CurrFilt" ShowItemsBuy="true" ListItemGroup="ListItemGroup" EC_Updated="UpdateFilt" EC_AddRew="DoAdd"></DataFilter>
|
||||
</div>
|
||||
<div class="flex-grow-1 overflow-auto my-2 py-1 shadow shadow-sm">
|
||||
<div class="flex-grow-1 overflow-auto my-2 py-1 ">
|
||||
@if (isLoading)
|
||||
{
|
||||
<LoadingData></LoadingData>
|
||||
|
||||
@@ -1,24 +1,17 @@
|
||||
@page "/JobRoute"
|
||||
@inherits BaseComp
|
||||
|
||||
<div class="card shadow">
|
||||
<div class="card-header">
|
||||
<div class=" d-flex justify-content-between">
|
||||
<div class="px-0 fs-3">
|
||||
<b>@Traduci("cicli_cicliLavoro")</b>
|
||||
</div>
|
||||
<div class="px-0 d-flex justify-content-between">
|
||||
<div class="px-1">
|
||||
<div class="input-group input-group-sm" title="@Traduci("ricerca")">
|
||||
<span class="input-group-text"><i class="fas fa-search"></i></span>
|
||||
<input type="text" class="form-control" @bind="@searchVal">
|
||||
<button class="btn btn-outline-secondary" @onclick="ResetSearch"><i class="fas fa-ban"></i></button>
|
||||
</div>
|
||||
</div>
|
||||
<div class="p-2 shadow">
|
||||
<div class="d-flex align-items-center justify-content-end">
|
||||
<div class="px-1">
|
||||
<div class="input-group shadow-sm" style="width:20em;" title="@Traduci("ricerca")">
|
||||
<span class="input-group-text"><i class="fas fa-search"></i></span>
|
||||
<input type="text" class="form-control" accesskey="/" placeholder="Cerca [/] (3+ char)" @bind="@SearchVal">
|
||||
<button class="btn @btnResetCss" @onclick="ResetSearch"><i class="fas fa-ban"></i></button>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="card-body">
|
||||
<div class="my-2 py-1">
|
||||
<div class="row">
|
||||
@if (isLoading)
|
||||
{
|
||||
@@ -27,6 +20,7 @@
|
||||
else
|
||||
{
|
||||
<div class="@mainCss">
|
||||
<h5><b>@Traduci("cicli_elencoCicliAtt")</b></h5>
|
||||
<JobTaskListMan ListAllTags="ListTagsAvailable" CurrRecords="ListJobTask" CostDriverLists="ListCostDrivers" ResourceLists="ListResources" CurrSearch="@searchVal" EC_Selected="ShowDetail" EC_Updated="ForceReloadAsync"></JobTaskListMan>
|
||||
</div>
|
||||
@if (selRecord != null)
|
||||
|
||||
@@ -123,6 +123,23 @@ namespace Lux.UI.Components.Pages
|
||||
}
|
||||
}
|
||||
|
||||
private string SearchVal
|
||||
{
|
||||
get => searchVal;
|
||||
set
|
||||
{
|
||||
if (searchVal != value)
|
||||
{
|
||||
searchVal = value;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
private string btnResetCss
|
||||
{
|
||||
get => string.IsNullOrEmpty(searchVal) ? "btn-outline-secondary" : "btn-primary";
|
||||
}
|
||||
|
||||
#endregion Private Methods
|
||||
}
|
||||
}
|
||||
@@ -1,35 +1,37 @@
|
||||
@page "/OffStats"
|
||||
@inherits BaseComp
|
||||
|
||||
<div class="d-flex align-items-center justify-content-between px-4">
|
||||
<a href="@NavigationManager.ToAbsoluteUri("Offers")"
|
||||
class="btn btn-primary shadow-sm rounded-4 d-flex align-items-center gap-2"
|
||||
style="width:7em; height:3em;">
|
||||
<i class="fa-solid fa-list ms-1"></i> Offerte
|
||||
</a>
|
||||
<div class="input-group input-group rounded-2 border-2 shadow-sm" style="width:35em;">
|
||||
<div class="input-group">
|
||||
<span class="input-group-text">Da:</span>
|
||||
<input type="datetime-local"
|
||||
class="form-control"
|
||||
min="@periodoLimit.Inizio.AddHours(-1).ToString("yyyy-MM-ddTHH:mm")"
|
||||
max="@DateTime.Now.Hour.ToString("yyyy-MM-ddTHH:mm")"
|
||||
@bind="@dtFrom" />
|
||||
<div class="p-2 shadow">
|
||||
<div class="d-flex align-items-center justify-content-between">
|
||||
<a href="@NavigationManager.ToAbsoluteUri("Offers")" class="btn btn-primary shadow-sm rounded-4 px-3">
|
||||
<i class="fa-solid fa-list me-1"></i>
|
||||
@Traduci("navMan_offerte")
|
||||
</a>
|
||||
<div class="input-group input-group shadow-sm" style="width:35em;">
|
||||
<div class="input-group">
|
||||
<span class="input-group-text">Da:</span>
|
||||
<input type="datetime-local"
|
||||
class="form-control"
|
||||
min="@periodoLimit.Inizio.AddHours(-1).ToString("yyyy-MM-ddTHH:mm")"
|
||||
max="@DateTime.Now.Hour.ToString("yyyy-MM-ddTHH:mm")"
|
||||
@bind="@dtFrom" />
|
||||
|
||||
<span class="input-group-text">A:</span>
|
||||
<input type="datetime-local"
|
||||
class="form-control"
|
||||
min="@periodoLimit.Inizio.ToString("yyyy-MM-ddTHH:mm")"
|
||||
max="@DateTime.Now.Hour.ToString("yyyy-MM-ddTHH:mm")"
|
||||
@bind="@dtTo" />
|
||||
<span class="input-group-text">A:</span>
|
||||
<input type="datetime-local"
|
||||
class="form-control"
|
||||
min="@periodoLimit.Inizio.ToString("yyyy-MM-ddTHH:mm")"
|
||||
max="@DateTime.Now.Hour.ToString("yyyy-MM-ddTHH:mm")"
|
||||
@bind="@dtTo" />
|
||||
|
||||
<button class="btn btn-sm @btnReload" @onclick="DoReload">
|
||||
Carica <i class="fa-solid fa-arrows-rotate"></i>
|
||||
</button>
|
||||
<button class="btn btn-sm @btnReload" @onclick="DoReload">
|
||||
Carica <i class="fa-solid fa-arrows-rotate"></i>
|
||||
</button>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="flex-grow-1 overflow-auto m-2 p-3 shadow rounded-2 border-2">
|
||||
<OfferStats AllRecords="AllOfferRecords"></OfferStats>
|
||||
<div class="my-2 py-1">
|
||||
<OfferStats AllRecords="AllOfferRecords"></OfferStats>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
@@ -100,7 +100,7 @@ else
|
||||
@Traduci("offerta_stats")
|
||||
</a>
|
||||
</div>
|
||||
<div class="row align-items-center pe-3">
|
||||
<div class="row align-items-center pe-2">
|
||||
<div class="col-2 px-1">
|
||||
<div class="input-group">
|
||||
<label class="input-group-text bg-opacity-50 px-2">@Traduci("stato")</label>
|
||||
@@ -125,23 +125,23 @@ else
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@if (isLoading)
|
||||
{
|
||||
<div class="my-2 py-1 shadow shadow-sm rounded-2">
|
||||
<LoadingData></LoadingData>
|
||||
</div>
|
||||
}
|
||||
else if (totalCount == 0)
|
||||
{
|
||||
<div class="my-2 py-1 shadow shadow-sm rounded-2">
|
||||
<div class="alert alert-info text-center display-4">@Traduci("noRecord")</div>
|
||||
</div>
|
||||
}
|
||||
else
|
||||
{
|
||||
<div class="row my-2">
|
||||
<div class="@DivMainCss">
|
||||
<div class="shadow shadow-sm rounded-2">
|
||||
<div class="py-2 rounded-2">
|
||||
@if (isLoading)
|
||||
{
|
||||
<div class="col-12">
|
||||
<LoadingData></LoadingData>
|
||||
</div>
|
||||
}
|
||||
else if (totalCount == 0)
|
||||
{
|
||||
<div class="col-12">
|
||||
<div class="alert alert-info text-center display-4">@Traduci("noRecord")</div>
|
||||
</div>
|
||||
}
|
||||
else
|
||||
{
|
||||
<div class="row">
|
||||
<div class="@DivMainCss">
|
||||
<table class="table table-sm table-striped">
|
||||
<thead>
|
||||
<tr>
|
||||
@@ -247,8 +247,8 @@ else
|
||||
</a>
|
||||
@if (SelRecord == null)
|
||||
{
|
||||
<button class="btn btn-sm btn-primary" title="Scegli template" @onclick="() => SelectOptPrint(item.OfferID)">
|
||||
<i class="fa-solid fa-chevron-down small"></i>
|
||||
<button class="btn btn-sm btn-primary" title="@Traduci("print_scegliTemplate")" @onclick="() => SelectOptPrint(item.OfferID)">
|
||||
<i class="fa-solid fa-up-right-from-square"></i>
|
||||
</button>
|
||||
}
|
||||
</div>
|
||||
@@ -268,16 +268,15 @@ else
|
||||
}
|
||||
</table>
|
||||
</div>
|
||||
@if (SelRecord != null)
|
||||
{
|
||||
<div class="col-6">
|
||||
<OfferRowMan CurrRecord="@SelRecord" DisplayMode="EgwCoreLib.Lux.Core.Enums.DisplayMode.Preview" EC_Updated="() => ForceReload()" EC_Action="DoAction"></OfferRowMan>
|
||||
</div>
|
||||
}
|
||||
</div>
|
||||
@if (SelRecord != null)
|
||||
{
|
||||
<div class="col-6">
|
||||
<OfferRowMan CurrRecord="@SelRecord" DisplayMode="EgwCoreLib.Lux.Core.Enums.DisplayMode.Preview" EC_Updated="() => ForceReload()" EC_Action="DoAction"></OfferRowMan>
|
||||
</div>
|
||||
}
|
||||
</div>
|
||||
}
|
||||
|
||||
}
|
||||
</div>
|
||||
</div>
|
||||
}
|
||||
|
||||
|
||||
@@ -154,9 +154,9 @@ else
|
||||
</div>
|
||||
}
|
||||
<div class="p-2 shadow rounded-2 border">
|
||||
<div class="d-flex align-items-center justify-content-end">
|
||||
<div class="row align-items-center pe-3">
|
||||
<div class="col-2 px-1">
|
||||
<div class="d-flex align-items-center justify-content-end pe-2">
|
||||
<div class="row w-75">
|
||||
<div class="col-3 px-1">
|
||||
<div class="input-group">
|
||||
<label class="input-group-text bg-opacity-50 px-2">@Traduci("stato")</label>
|
||||
<select @bind="@FiltState" class="form-select form-select-sm px-2">
|
||||
@@ -175,28 +175,28 @@ else
|
||||
<button class="btn @btnResetCss" @onclick="ResetSearch"><i class="fas fa-ban"></i></button>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-7 px-1">
|
||||
<div class="col-6 px-1">
|
||||
<PeriodoSel E_PeriodoSel="SetPeriodo" CurrPeriodo="PeriodoSel" PeriodoLabel="@Traduci("periodo")" DictSelect="CustomSelDict"></PeriodoSel>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@if (isLoading)
|
||||
{
|
||||
<div class="my-2 py-1 shadow shadow-sm rounded-2">
|
||||
<LoadingData></LoadingData>
|
||||
</div>
|
||||
}
|
||||
else if (totalCount == 0)
|
||||
{
|
||||
<div class="my-2 py-1 shadow shadow-sm rounded-2">
|
||||
<div class="alert alert-info text-center display-4">@Traduci("noRecord")</div>
|
||||
</div>
|
||||
}
|
||||
else
|
||||
{
|
||||
<div class="row my-2">
|
||||
<div class="@DivMainCss">
|
||||
<div class="shadow shadow-sm rounded-2">
|
||||
<div class="py-2 rounded-2">
|
||||
@if (isLoading)
|
||||
{
|
||||
<div class="col-12">
|
||||
<LoadingData></LoadingData>
|
||||
</div>
|
||||
}
|
||||
else if (totalCount == 0)
|
||||
{
|
||||
<div class="col-12">
|
||||
<div class="alert alert-info text-center display-4">@Traduci("noRecord")</div>
|
||||
</div>
|
||||
}
|
||||
else
|
||||
{
|
||||
<div class="row">
|
||||
<div class="@DivMainCss">
|
||||
<table class="table table-sm table-striped">
|
||||
<thead>
|
||||
<tr>
|
||||
@@ -254,8 +254,8 @@ else
|
||||
</a>
|
||||
@if (SelRecord == null)
|
||||
{
|
||||
<button class="btn btn-sm btn-primary" title="Scegli template" @onclick="() => SelectOptMatPrint(item.OrderID)">
|
||||
<i class="fa-solid fa-chevron-down small"></i>
|
||||
<button class="btn btn-sm btn-primary" title="@Traduci("print_scegliTemplate")" @onclick="() => SelectOptMatPrint(item.OrderID)">
|
||||
<i class="fa-solid fa-up-right-from-square"></i>
|
||||
</button>
|
||||
}
|
||||
</div>
|
||||
@@ -323,8 +323,8 @@ else
|
||||
</a>
|
||||
@if (SelRecord == null)
|
||||
{
|
||||
<button class="btn btn-sm btn-primary" title="Scegli template" @onclick="() => SelectOptPrint(item.OrderID)">
|
||||
<i class="fa-solid fa-chevron-down small"></i>
|
||||
<button class="btn btn-sm btn-primary" title="@Traduci("print_scegliTemplate")" @onclick="() => SelectOptPrint(item.OrderID)">
|
||||
<i class="fa-solid fa-up-right-from-square"></i>
|
||||
</button>
|
||||
}
|
||||
</div>
|
||||
@@ -344,15 +344,15 @@ else
|
||||
}
|
||||
</table>
|
||||
</div>
|
||||
@if (SelRecord != null)
|
||||
{
|
||||
<div class="col-6">
|
||||
<OrderRowMan CurrRecord="@SelRecord" DisplayMode="EgwCoreLib.Lux.Core.Enums.DisplayMode.Preview" EC_Updated="() => ForceReload()" EC_Action="DoAction"></OrderRowMan>
|
||||
</div>
|
||||
}
|
||||
</div>
|
||||
@if (SelRecord != null)
|
||||
{
|
||||
<div class="col-6">
|
||||
<OrderRowMan CurrRecord="@SelRecord" DisplayMode="EgwCoreLib.Lux.Core.Enums.DisplayMode.Preview" EC_Updated="() => ForceReload()" EC_Action="DoAction"></OrderRowMan>
|
||||
</div>
|
||||
}
|
||||
</div>
|
||||
}
|
||||
}
|
||||
</div>
|
||||
</div>
|
||||
}
|
||||
@if (selectOptPrint)
|
||||
|
||||
@@ -2,17 +2,15 @@
|
||||
@inherits BaseComp
|
||||
|
||||
<div class="p-2 shadow">
|
||||
<div class="d-flex align-items-center justify-content-between">
|
||||
<div class="px-1">
|
||||
<b>@Traduci("risorsa_configAttive")</b>
|
||||
</div>
|
||||
<div class="d-flex align-items-center justify-content-end">
|
||||
<div class="input-group shadow-sm" style="width:20em;" title="@Traduci("ricerca")">
|
||||
<span class="input-group-text"><i class="fas fa-search"></i></span>
|
||||
<input type="text" class="form-control" accesskey="/" placeholder="Cerca [/] (3+ char)" @bind="@SearchVal">
|
||||
<button class="btn @btnResetCss" @onclick="ResetSearch"><i class="fas fa-ban"></i></button>
|
||||
</div>
|
||||
</div>
|
||||
<div class="my-2 py-1 shadow shadow-sm">
|
||||
<div class="my-2 py-1">
|
||||
<h5><b>@Traduci("risorsa_configAttive")</b></h5>
|
||||
<ResourcesMan CurrSearch="@searchVal"></ResourcesMan>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
<div class="d-flex align-items-center justify-content-between">
|
||||
<DataFilter CurrFilt="@CurrFilt" ShowItemsBuy="false" ListItemGroup="ListItemGroup" EC_Updated="UpdateFilt" EC_AddRew="DoAdd"></DataFilter>
|
||||
</div>
|
||||
<div class="my-2 py-1 shadow shadow-sm rounded-2">
|
||||
<div class="my-2 py-1 rounded-2">
|
||||
@if (isLoading)
|
||||
{
|
||||
<LoadingData></LoadingData>
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
<Nullable>enable</Nullable>
|
||||
<ImplicitUsings>enable</ImplicitUsings>
|
||||
<UserSecretsId>aspnet-Lux.UI-a758c101-a2f4-4e38-977d-1c4887dbbd50</UserSecretsId>
|
||||
<Version>1.1.2606.0917</Version>
|
||||
<Version>1.1.2606.1010</Version>
|
||||
</PropertyGroup>
|
||||
|
||||
<ItemGroup>
|
||||
|
||||
@@ -22,5 +22,9 @@
|
||||
{
|
||||
"outputFile": "Components/Pages/ConfListNew.razor.css",
|
||||
"inputFile": "Components/Pages/ConfListNew.razor.less"
|
||||
},
|
||||
{
|
||||
"outputFile": "Components/Compo/Warehouse/MatReq2BuyOrder.razor.css",
|
||||
"inputFile": "Components/Compo/Warehouse/MatReq2BuyOrder.razor.less"
|
||||
}
|
||||
]
|
||||
@@ -1,6 +1,6 @@
|
||||
<body>
|
||||
<i>LUX - Web Windows MES</i>
|
||||
<h4>Versione: 1.1.2606.0917</h4>
|
||||
<h4>Versione: 1.1.2606.1010</h4>
|
||||
<br /> Note di rilascio:
|
||||
<ul>
|
||||
<li>
|
||||
|
||||
@@ -1 +1 @@
|
||||
1.1.2606.0917
|
||||
1.1.2606.1010
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<item>
|
||||
<version>1.1.2606.0917</version>
|
||||
<version>1.1.2606.1010</version>
|
||||
<url>http://nexus.steamware.net/repository/SWS/GPW/stable/GPW.UI.zip</url>
|
||||
<changelog>http://nexus.steamware.net/repository/SWS/GPW/stable/ChangeLog.html</changelog>
|
||||
<mandatory>false</mandatory>
|
||||
|
||||
Reference in New Issue
Block a user