Webiant Logo Webiant Logo
  1. No results found.

    Try your search with a different keyword or use * as a wildcard.

ShipmentDetails.cshtml

@model ShipmentModel

@{
    //page title
    ViewBag.PageTitle = T("Admin.Orders.Shipments.ViewDetails").Text;

    //active menu item (system name)
    NopHtml.SetActiveMenuItemSystemName("Shipments");
}


@T("Admin.Orders.Shipments.ViewDetails") - @Model.Id @T("Admin.Orders.Shipments.BackToOrder")

@T("Admin.Orders.Shipments.PrintPackagingSlip") @T("Admin.Common.Delete") @await Component.InvokeAsync(typeof(AdminWidgetViewComponent), new { widgetZone = AdminWidgetZones.OrderShipmentDetailsButtons, additionalData = Model })
@if (!string.IsNullOrEmpty(Model.TrackingNumberUrl)) { @T("Admin.Orders.Shipments.TrackingNumber.ViewOnline") }
@Model.TotalWeight
@if (Model.PickupInStore) {
@Model.ReadyForPickupDate
@if (Model.ReadyForPickupDateUtc.HasValue) {
@T("Admin.Orders.Shipments.ReadyForPickupDate.EnterUtc")  
}
@if (Model.CanMarkAsReadyForPickup) { } @if (Model.ReadyForPickupDateUtc.HasValue) { }
} else {
@Model.ShippedDate
@if (Model.ShippedDateUtc.HasValue) {
@T("Admin.Orders.Shipments.ShippedDate.EnterUtc")  
}
@if (Model.CanShip) { } @if (Model.ShippedDateUtc.HasValue) { }
}
@Model.DeliveryDate
@if (Model.DeliveryDateUtc.HasValue) {
@T("Admin.Orders.Shipments.DeliveryDate.EnterUtc")  
}
@if (Model.CanDeliver) { } @if (Model.DeliveryDateUtc.HasValue) { }
@T("Admin.Orders.Shipments.Products")
@if (Model.PickupInStore) { } else { } @foreach (var item in Model.Items) { }
@T("Admin.Orders.Shipments.Products.ProductName") @T("Admin.Orders.Shipments.Products.SKU") @T("Admin.Orders.Shipments.Products.Warehouse") @T("Admin.Orders.Shipments.Products.ItemWeight") @T("Admin.Orders.Shipments.Products.ItemDimensions") @T("Admin.Orders.Shipments.Products.QtyReadyForPickup") @T("Admin.Orders.Shipments.Products.QtyShipped")
@item.ProductName @if (!string.IsNullOrEmpty(item.AttributeInfo)) {

@Html.Raw(item.AttributeInfo)

} @if (!string.IsNullOrEmpty(item.RentalInfo)) {

@Html.Raw(item.RentalInfo)

}
@item.Sku
@item.ShippedFromWarehouse
@item.ItemWeight @item.ItemDimensions @item.QuantityInThisShipment
@if (Model.ShipmentStatusEvents.Count > 0) {
@T("Admin.Orders.Shipments.ShipmentStatusEvents")
@foreach (var item in Model.ShipmentStatusEvents) { }
@T("Admin.Orders.Shipments.ShipmentStatusEvents.Event") @T("Admin.Orders.Shipments.ShipmentStatusEvents.Location") @T("Admin.Orders.Shipments.ShipmentStatusEvents.Country") @T("Admin.Orders.Shipments.ShipmentStatusEvents.Date")
@item.EventName
@item.Location
@item.Country
@if (item.Date.HasValue) { @item.Date.Value.ToString("D") }
}