fix icone ordinamento

This commit is contained in:
zaccaria.majid
2023-02-15 17:14:27 +01:00
parent db784cbc42
commit 4c2f602706
+12 -6
View File
@@ -45,38 +45,44 @@ else
</th>
@if (orderType == orderTypeEnum.codExtAscending)
{
<th @onclick="()=>orderByCodForn()" style="background-color: rgb(0, 105, 92); color: #fff;">
<th @onclick="()=>orderByCodForn()" >
COD. FORNITORE
<i class="fa-solid fa-sort-up text-primary"></i>
</th>
}
else if (orderType == orderTypeEnum.codExtDescending)
{
<th @onclick="()=>orderByCodForn()" style="background-color: rgb(175, 180, 43)">
<th @onclick="()=>orderByCodForn()" >
COD. FORNITORE
<i class="fa-solid fa-sort-down text-primary"></i>
</th>
}
else
{
<th @onclick="()=>orderByCodForn()" style="background-color: rgba(0, 105, 92, 0.5)">
<th @onclick="()=>orderByCodForn()" >
COD. FORNITORE
<i class="fa-solid fa-sort text-primary"></i>
</th>
}
@if (orderType == orderTypeEnum.stockAscending)
{
<th @onclick="()=>orderByStock()" style="background-color: rgb(142, 68, 173); color: #fff;">
<th @onclick="()=>orderByStock()" >
STOCK
<i class="fa-solid fa-sort-down text-primary"></i>
</th>
}
else if (orderType == orderTypeEnum.stockDescending)
{
<th @onclick="()=>orderByStock()" style="background-color: rgb(41, 128, 185)">
<th @onclick="()=>orderByStock()" >
STOCK
<i class="fa-solid fa-sort-up text-primary"></i>
</th>
}
else
{
<th @onclick="()=>orderByStock()" style="background-color: rgba(41, 128, 185, 0.5)">
<th @onclick="()=>orderByStock()">
STOCK
<i class="fa-solid fa-sort text-primary"></i>
</th>
}
<th>