Webiant Logo Webiant Logo
  1. No results found.

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

_OrderDetails.BillingShipping.cshtml

@model OrderModel

@await Component.InvokeAsync(typeof(WidgetViewComponent), new { widgetZone = AdminWidgetZones.OrderBillingAddressDetailsBottom, additionalData = Model }) @if (!string.IsNullOrEmpty(Model.BillingAddress.FormattedCustomAddressAttributes)) { }
@T("Admin.Orders.Fields.BillingAddress")
@T("Admin.Orders.Address.FullName") @Model.BillingAddress.FirstName @Model.BillingAddress.LastName
@T("Admin.Orders.Address.Email") @Model.BillingAddress.Email
@T("Admin.Orders.Address.Phone") @Model.BillingAddress.PhoneNumber
@T("Admin.Orders.Address.Fax") @Model.BillingAddress.FaxNumber
@T("Admin.Orders.Address.Company") @Model.BillingAddress.Company
@T("Admin.Orders.Address.Address1") @Model.BillingAddress.Address1
@T("Admin.Orders.Address.Address2") @Model.BillingAddress.Address2
@T("Admin.Orders.Address.City") @Model.BillingAddress.City
@T("Admin.Orders.Address.County") @Model.BillingAddress.County
@T("Admin.Orders.Address.StateProvince") @Model.BillingAddress.StateProvinceName
@T("Admin.Orders.Address.ZipPostalCode") @Model.BillingAddress.ZipPostalCode
@T("Admin.Orders.Address.Country") @Model.BillingAddress.CountryName
@Html.Raw(Model.BillingAddress.FormattedCustomAddressAttributes)
@if (Model.IsShippable) { if (!Model.PickupInStore && Model.ShippingAddress != null) {
@await Component.InvokeAsync(typeof(WidgetViewComponent), new { widgetZone = AdminWidgetZones.OrderShippingAddressDetailsBottom, additionalData = Model }) @if (!string.IsNullOrEmpty(Model.ShippingAddress.FormattedCustomAddressAttributes)) { }
@T("Admin.Orders.Fields.ShippingAddress")
@T("Admin.Orders.Address.FullName") @Model.ShippingAddress.FirstName @Model.ShippingAddress.LastName
@T("Admin.Orders.Address.Email") @Model.ShippingAddress.Email
@T("Admin.Orders.Address.Phone") @Model.ShippingAddress.PhoneNumber
@T("Admin.Orders.Address.Fax") @Model.ShippingAddress.FaxNumber
@T("Admin.Orders.Address.Company") @Model.ShippingAddress.Company
@T("Admin.Orders.Address.Address1") @Model.ShippingAddress.Address1
@T("Admin.Orders.Address.Address2") @Model.ShippingAddress.Address2
@T("Admin.Orders.Address.City") @Model.ShippingAddress.City
@T("Admin.Orders.Address.County") @Model.ShippingAddress.County
@T("Admin.Orders.Address.StateProvince") @Model.ShippingAddress.StateProvinceName
@T("Admin.Orders.Address.ZipPostalCode") @Model.ShippingAddress.ZipPostalCode
@T("Admin.Orders.Address.Country") @Model.ShippingAddress.CountryName
@Html.Raw(Model.ShippingAddress.FormattedCustomAddressAttributes)
google maps @T("Admin.Orders.Fields.ShippingAddress.ViewOnGoogleMaps")
} if (Model.PickupInStore && Model.PickupAddress != null) {
@if (!string.IsNullOrEmpty(Model.PickupAddress.Address1)) { } @if (!string.IsNullOrEmpty(Model.PickupAddress.City)) { } @if (!string.IsNullOrEmpty(Model.PickupAddress.County)) { } @if (!string.IsNullOrEmpty(Model.PickupAddress.CountryName)) { } @if (!string.IsNullOrEmpty(Model.PickupAddress.ZipPostalCode)) { }
@T("Admin.Orders.Fields.PickupAddress")
@T("Admin.Orders.Address.Address1") @Model.PickupAddress.Address1
@T("Admin.Orders.Address.City") @Model.PickupAddress.City
@T("Admin.Orders.Address.County") @Model.PickupAddress.County
@T("Admin.Orders.Address.Country") @Model.PickupAddress.CountryName
@T("Admin.Orders.Address.ZipPostalCode") @Model.PickupAddress.ZipPostalCode
google maps @T("Admin.Orders.Fields.PickupAddress.ViewOnGoogleMaps")
} } else {
@T("Admin.Orders.ShippingInfo.NotRequired")
}
@if (Model.IsShippable) {
@if (!Model.IsLoggedInAsVendor) {
@Model.ShippingMethod
} else {
@Model.ShippingMethod
}
@if (!Model.IsLoggedInAsVendor) {
@Model.ShippingStatus
}
@T("Admin.Orders.Shipments")
@await Html.PartialAsync("Table", new DataTablesModel { Name = "shipments-grid", UrlRead = new DataUrl("ShipmentsByOrder", "Order", new RouteValueDictionary { [nameof(OrderShipmentSearchModel.OrderId)] = Model.Id }), PrimaryKeyColumn = nameof(ShipmentModel.Id), Length = Model.OrderShipmentSearchModel.PageSize, LengthMenu = Model.OrderShipmentSearchModel.AvailablePageSizes, ColumnCollection = new List { new ColumnProperty(null) { Render = new RenderChildCaret(), Width = "5", Searchable = false, ClassName = NopColumnClassDefaults.ChildControl }, new ColumnProperty(nameof(ShipmentModel.Id)) { Title = T("Admin.Orders.Shipments.ID").Text, Width = "50" }, new ColumnProperty(nameof(ShipmentModel.CustomOrderNumber)) { Title = T("Admin.Orders.Shipments.CustomOrderNumber").Text, Width = "100" }, new ColumnProperty(nameof(ShipmentModel.TrackingNumber)) { Title = T("Admin.Orders.Shipments.TrackingNumber").Text, Width = "100" },new ColumnProperty(nameof(ShipmentModel.TotalWeight)) { Title = T("Admin.Orders.Shipments.TotalWeight").Text, Width = "100" }, ( Model.PickupInStore ? new ColumnProperty(nameof(ShipmentModel.ReadyForPickupDate)) { Title = T("Admin.Orders.Shipments.ReadyForPickupDate").Text, Width = "100" } : new ColumnProperty(nameof(ShipmentModel.ShippedDate)) { Title = T("Admin.Orders.Shipments.ShippedDate").Text, Width = "100" } ), new ColumnProperty(nameof(ShipmentModel.DeliveryDate)) { Title = T("Admin.Orders.Shipments.DeliveryDate").Text, Width = "100" }, new ColumnProperty(nameof(ShipmentModel.Id)) { Title = T("Admin.Common.View").Text, Width = "50", Render = new RenderButtonView(new DataUrl("~/Admin/Order/ShipmentDetails/")) } }, ChildTable = new DataTablesModel { Name = "shipment-items-grid", UrlRead = new DataUrl("ShipmentsItemsByShipmentId", "Order", null), IsChildTable = true, Length = Model.OrderShipmentSearchModel.PageSize, LengthMenu = Model.OrderShipmentSearchModel.AvailablePageSizes, Filters = new List { new FilterParameter(nameof(ShipmentItemSearchModel.ShipmentId), nameof(ShipmentModel.Id), true) }, ColumnCollection = new List { new ColumnProperty(nameof(ShipmentItemModel.ProductName)) { Title = T("Admin.Orders.Shipments.Products.ProductName").Text, Width = "400" }, new ColumnProperty(nameof(ShipmentItemModel.ShippedFromWarehouse)) { Title = T("Admin.Orders.Shipments.Products.Warehouse").Text, Width = "150" }, new ColumnProperty(nameof(ShipmentItemModel.QuantityInThisShipment)) { Title = T("Admin.Orders.Shipments.Products.QtyShipped").Text, Width = "150" }, new ColumnProperty(nameof(ShipmentItemModel.ItemWeight)) { Title = T("Admin.Orders.Shipments.Products.ItemWeight").Text, Width = "150" }, new ColumnProperty(nameof(ShipmentItemModel.ItemDimensions)) { Title = T("Admin.Orders.Shipments.Products.ItemDimensions").Text, Width = "150" } } } })
@if (Model.CanAddNewShipments) { }
}