Webiant Logo Webiant Logo
  1. No results found.

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

ShipmentDetails.cshtml

@model ShipmentDetailsModel

@using Nop.Core.Domain.Catalog

@{
    Layout = "_ColumnsOne";

    //title
    NopHtml.AddTitleParts(T("PageTitle.ShipmentDetails").Text);
    //page class
    NopHtml.AppendPageCssClassParts("html-shipment-details-page");
}

@string.Format(T("Order.Shipments.Information").Text, Model.Id)

@T("Order.Shipments.Order#")@Model.Order.Id
  • @T("Order.Shipments.ShippingMethod"): @Model.Order.ShippingMethod
  • @if (Model.Order.PickupInStore) {
  • @T("Order.Shipments.ReadyForPickupDate"): @if (Model.ReadyForPickupDate.HasValue) { @Model.ReadyForPickupDate.Value.ToString("D") } else { @T("Order.Shipments.ReadyForPickupDate.NotYet") }
  • } else {
  • @T("Order.Shipments.ShippedDate"): @if (Model.ShippedDate.HasValue) { @Model.ShippedDate.Value.ToString("D") } else { @T("Order.Shipments.ShippedDate.NotYet") }
  • }
  • @T("Order.Shipments.DeliveryDate"): @if (Model.DeliveryDate.HasValue) { @Model.DeliveryDate.Value.ToString("D") } else { @T("Order.Shipments.DeliveryDate.NotYet") }
  • @if (!string.IsNullOrEmpty(Model.TrackingNumber)) {
  • @T("Order.Shipments.TrackingNumber"): @if (!string.IsNullOrEmpty(Model.TrackingNumberUrl)) { @Model.TrackingNumber } else { @Model.TrackingNumber }
  • }
@if (!Model.Order.PickupInStore) {
@T("Order.Shipments.ShippingAddress")
  • @Model.Order.ShippingAddress.FirstName @Model.Order.ShippingAddress.LastName
  • @T("Order.Shipments.Phone"): @Model.Order.ShippingAddress.PhoneNumber
  • @T("Order.Shipments.Fax"): @Model.Order.ShippingAddress.FaxNumber
  • @if (!string.IsNullOrEmpty(Model.Order.ShippingAddress.Company)) {
  • @Model.Order.ShippingAddress.Company
  • }
  • @Model.Order.ShippingAddress.Address1
  • @if (!string.IsNullOrEmpty(Model.Order.ShippingAddress.Address2)) {
  • @Model.Order.ShippingAddress.Address2
  • }
  • @Model.Order.ShippingAddress.City, @Model.Order.ShippingAddress.County, @Model.Order.ShippingAddress.StateProvinceName @Model.Order.ShippingAddress.ZipPostalCode
  • @if (!string.IsNullOrEmpty(Model.Order.ShippingAddress.CountryName)) {
  • @Model.Order.ShippingAddress.CountryName
  • }
} else {
@T("Order.Shipments.PickupAddress")
  • @Model.Order.PickupAddress.Address1
  • @Model.Order.PickupAddress.City, @Model.Order.PickupAddress.County, @Model.Order.PickupAddress.StateProvinceName @Model.Order.PickupAddress.ZipPostalCode
  • @if (!string.IsNullOrEmpty(Model.Order.PickupAddress.CountryName)) {
  • @Model.Order.PickupAddress.CountryName
  • }
}
@if (Model.Items.Count > 0) {
@T("Order.Shipments.Product(s)")
@if (Model.ShowSku) { } @if (Model.ShowSku) { } @foreach (var item in Model.Items) { @if (Model.ShowSku) { } }
@T("Order.Shipments.Product(s).SKU") @T("Order.Shipments.Product(s).Name") @T("Order.Shipments.Product(s).Quantity")
@item.Sku @item.ProductName @if (!string.IsNullOrEmpty(item.AttributeInfo)) {
@Html.Raw(item.AttributeInfo)
} @if (!string.IsNullOrEmpty(item.RentalInfo)) {
@Html.Raw(item.RentalInfo)
}
@item.QuantityShipped
} @if (Model.ShipmentStatusEvents.Count > 0) {
@T("Order.ShipmentStatusEvents")
@foreach (var item in Model.ShipmentStatusEvents) { }
@T("Order.ShipmentStatusEvents.Event") @T("Order.ShipmentStatusEvents.Location") @T("Order.ShipmentStatusEvents.Country") @T("Order.ShipmentStatusEvents.Date")
@item.EventName @item.Location @item.Country @if (item.Date.HasValue) { @item.Date.Value.ToString("D") }
}