Files
webdoorcreator/WebDoorCreator.UI/Components/Order/OrderDets.razor
T
2023-05-18 15:58:06 +02:00

56 lines
2.8 KiB
Plaintext

<div style="padding-left: 1.5rem !important; padding-right: 1.5rem !important;">
@if (OrderView != null)
{
<div class="testataOrder">
<div class="px-5 d-flex justify-content-between text-light mb-3" style="--bgStepColor: @stepColor">
<button class="btn btn-sm btn-danger" @onclick="()=>setEmpty()"><i class="fa-solid fa-arrow-left-long"></i></button>
<div class=" px-3 d-flex justify-content-between small">
<div>Order Date:</div>
<div>&nbsp;</div>
<div class=" fw-bold">@OrderView.DateIns</div>
</div>
<div class=" px-3 d-flex justify-content-between small">
<div>Order Number:</div>
<div>&nbsp;</div>
<div class="fw-bold">@OrderView.OrderExtCode</div>
</div>
<div class=" px-3 d-flex justify-content-between small">
<div>Order Description:</div>
<div>&nbsp;</div>
<div class="fw-bold">@OrderView.OrderDescript</div>
</div>
<div class=" px-3 d-flex justify-content-between small">
<div>Models Number:</div>
<div>&nbsp;</div>
<div class="fw-bold">@OrderView.NumType</div>
</div>
<div class=" px-3 d-flex justify-content-between small">
<div class="text-center">Quantity:</div>
<div>&nbsp;</div>
<div class="fw-bold">@OrderView.NumDoors</div>
</div>
<div class=" px-3 d-flex justify-content-between small">
<div class="text-center">TOTAL COST:</div>
<div>&nbsp;</div>
<div class="fw-bold">@($"{OrderView.TotCost:C2}")</div>
</div>
</div>
<div class="px-4 py-1" style="border: 5px solid #FFF;border-radius: 0.8rem; box-shadow: rgba(0, 0, 0, 0.45) 0px 20px 22px -2px;">
<OrderStatusStep E_CurrStepColor="@setStepColor" CurrOrderStatus="@OrderView!.OrderStatus"></OrderStatusStep>
</div>
</div>
}
@*<div class="cardStatus" style="--bgStepColor: #031926">
@*<OrderStatusStep E_CurrStepColor="@setStepColor" CurrOrderStatus="@OrderView!.OrderStatus"></OrderStatusStep>
</div>*@
</div>
<div class="p-5 cardDoors">
<DoorList currOrderId="@OrderView!.OrderId" updateRecordCount="UpdateTotCount" actFilter="@currFilter"></DoorList>
<div class="mt-4">
<EgwCoreLib.Razor.DataPager @ref="pagerDoors" PageSize="@numRecord" currPage="@currPage" numRecordChanged="ForceReload" numPageChanged="ForceReloadPage" totalCount="@totalCount" showLoading="@isLoading" />
</div>
</div>