company: mostrta solo x users DCA

This commit is contained in:
Samuele Locatelli
2023-06-05 08:46:52 +02:00
parent 79081639b0
commit fdde929b65
2 changed files with 13 additions and 5 deletions
+1 -1
View File
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<item>
<version>0.9.2306.0508</version>
<url>http://nexus.steamware.net/repository/SWS/WDC/stable/WDC.UI.zip</url>
<url>http://nexus.steamware.net/repository/SWS/WDC/stable/WDC.API.zip</url>
<changelog>http://nexus.steamware.net/repository/SWS/WDC/stable/ChangeLog.html</changelog>
<mandatory>false</mandatory>
</item>
@@ -11,7 +11,11 @@ else
<th>Order Code <Sorter ParamName="OrderNumber" IsAsc="@sortAsc" CurrParam="@sortField" sortReq="SortRequested"></Sorter></th>
<th>Order Date <Sorter ParamName="OrderDate" IsAsc="@sortAsc" CurrParam="@sortField" sortReq="SortRequested"></Sorter></th>
<th>Promised Date <Sorter ParamName="OrderDate" IsAsc="@sortAsc" CurrParam="@sortField" sortReq="SortRequested"></Sorter></th>
<th>Company</th>
<AuthorizeView Roles="SuperAdmin, DcaAdmin, DcaOrdMan, DcaProj" Context="BackOffice">
<Authorized>
<th>Company</th>
</Authorized>
</AuthorizeView>
<th class="text-end">Qty</th>
<th class="text-end">Models#</th>
<th class="text-end">Order Status</th>
@@ -34,14 +38,18 @@ else
</td>
<td class="small">@item.DateIns</td>
<td class="small">@item.DateDelivery</td>
<td class="small">@(GetCompany(item.CompanyId))</td>
<AuthorizeView Roles="SuperAdmin, DcaAdmin, DcaOrdMan, DcaProj" Context="BackOffice">
<Authorized>
<td class="small">@(GetCompany(item.CompanyId))</td>
</Authorized>
</AuthorizeView>
<td class="text-end">@item.NumDoors</td>
<td class="text-end">@item.NumType</td>
<td class="text-end">@getOrderStatusLabel(item.OrderStatus)</td>
<td class="text-end">
<b>@($"{item.TotCost:C2}")</b>
<div class="small">@($"{item.Discount:P2}")</div>
</td>
<div class="small">@($"{item.Discount:C2}")</div>
</td>
<td class="text-end">
@if (item.OrderStatus <= 10)
{