Webiant Logo Webiant Logo
  1. No results found.

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

AddShipment.cshtml

@model ShipmentModel

@using System.Text

@{
    //page title
    ViewBag.PageTitle = string.Format(T("Admin.Orders.Shipments.AddNew.Title").Text, Model.CustomOrderNumber);
    //active menu item (system name)
    NopHtml.SetActiveMenuItemSystemName("Orders");

    var itemsFromMultipleWarehouses = Model.Items
        .Where(x => x.AllowToChooseWarehouse && x.AvailableWarehouses.Count > 0)
        .ToList();
}

@string.Format(T("Admin.Orders.Shipments.AddNew.Title").Text, Model.CustomOrderNumber) @T("Admin.Orders.Shipments.BackToOrder")

@await Component.InvokeAsync(typeof(AdminWidgetViewComponent), new { widgetZone = AdminWidgetZones.OrderShipmentAddButtons, additionalData = Model })
@if (Model.PickupInStore) {
} else {
}
@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.QtyOrdered") @T("Admin.Orders.Shipments.Products.QtyReadyForPickup") @T("Admin.Orders.Shipments.Products.QtyToPickup") @T("Admin.Orders.Shipments.Products.QtyShipped") @T("Admin.Orders.Shipments.Products.QtyToShip")
@item.ProductName @if (!string.IsNullOrEmpty(item.AttributeInfo)) {

@Html.Raw(item.AttributeInfo)

} @if (item.ShipSeparately) {

@T("Admin.Orders.Shipments.Products.ShipSeparately.Warning") @T("Admin.Orders.Shipments.Products.ShipSeparately")

}
@item.Sku @if (item.AllowToChooseWarehouse) { if (item.AvailableWarehouses.Count > 0) { } else { @T("Admin.Orders.Shipments.Products.Warehouse.NotAvailabe") } } else { //display warehouses foreach (var warehouse in item.AvailableWarehouses) {
@warehouse.WarehouseName
} }
@item.ItemWeight @item.ItemDimensions @item.QuantityOrdered @item.QuantityInAllShipments