Webiant Logo Webiant Logo
  1. No results found.

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

_OrderDetails.Info.cshtml

@model OrderModel

@using Nop.Core.Domain.Tax;
@using Nop.Core.Domain.Orders;
@using Nop.Services

@if (!Model.IsLoggedInAsVendor)
{
    
}
@Model.CustomOrderNumber
@Model.CreatedOn
@if (!Model.IsLoggedInAsVendor) {
@Model.OrderStatus
@if (Model.CanCancelOrder) { }
@T("Admin.Orders.Fields.OrderStatus.Change.ForAdvancedUsers")
} else { //vendors should see whether or order is cancelled if (Model.OrderStatusId == (int)OrderStatus.Cancelled) {
 
@T("Admin.Orders.Fields.OrderStatus.CancelledNotification")
} }
@if (!Model.IsLoggedInAsVendor) {
@if (Model.AllowCustomersToSelectTaxDisplayType || Model.TaxDisplayType == TaxDisplayType.IncludingTax) {
@Html.Raw(Model.OrderSubtotalInclTax) @T("Admin.Orders.Fields.OrderSubtotalInclTax")
} @if (Model.AllowCustomersToSelectTaxDisplayType || Model.TaxDisplayType == TaxDisplayType.ExcludingTax) {
@Html.Raw(Model.OrderSubtotalExclTax) @T("Admin.Orders.Fields.OrderSubtotalExclTax")
}
@if (((Model.AllowCustomersToSelectTaxDisplayType || Model.TaxDisplayType == TaxDisplayType.IncludingTax) && !string.IsNullOrEmpty(Model.OrderSubTotalDiscountInclTax)) || ((Model.AllowCustomersToSelectTaxDisplayType || Model.TaxDisplayType == TaxDisplayType.ExcludingTax) && !string.IsNullOrEmpty(Model.OrderSubTotalDiscountExclTax))) {
@if ((Model.AllowCustomersToSelectTaxDisplayType || Model.TaxDisplayType == TaxDisplayType.IncludingTax) && !string.IsNullOrEmpty(Model.OrderSubTotalDiscountInclTax)) {
@Html.Raw(Model.OrderSubTotalDiscountInclTax) @T("Admin.Orders.Fields.OrderSubTotalDiscountInclTax")
} @if ((Model.AllowCustomersToSelectTaxDisplayType || Model.TaxDisplayType == TaxDisplayType.ExcludingTax) && !string.IsNullOrEmpty(Model.OrderSubTotalDiscountExclTax)) {
@Html.Raw(Model.OrderSubTotalDiscountExclTax) @T("Admin.Orders.Fields.OrderSubTotalDiscountExclTax")
}
}
@if (Model.AllowCustomersToSelectTaxDisplayType || Model.TaxDisplayType == TaxDisplayType.IncludingTax) {
@Html.Raw(Model.OrderShippingInclTax) @T("Admin.Orders.Fields.OrderShippingInclTax")
} @if (Model.AllowCustomersToSelectTaxDisplayType || Model.TaxDisplayType == TaxDisplayType.ExcludingTax) {
@Html.Raw(Model.OrderShippingExclTax) @T("Admin.Orders.Fields.OrderShippingExclTax")
}
@if (((Model.AllowCustomersToSelectTaxDisplayType || Model.TaxDisplayType == TaxDisplayType.IncludingTax) && !string.IsNullOrEmpty(Model.PaymentMethodAdditionalFeeInclTax)) || ((Model.AllowCustomersToSelectTaxDisplayType || Model.TaxDisplayType == TaxDisplayType.ExcludingTax) && !string.IsNullOrEmpty(Model.PaymentMethodAdditionalFeeExclTax))) {
@if (Model.AllowCustomersToSelectTaxDisplayType || Model.TaxDisplayType == TaxDisplayType.IncludingTax) {
@Html.Raw(Model.PaymentMethodAdditionalFeeInclTax) @T("Admin.Orders.Fields.PaymentMethodAdditionalFeeInclTax")
} @if (Model.AllowCustomersToSelectTaxDisplayType || Model.TaxDisplayType == TaxDisplayType.ExcludingTax) {
@Html.Raw(Model.PaymentMethodAdditionalFeeExclTax) @T("Admin.Orders.Fields.PaymentMethodAdditionalFeeExclTax")
}
} @if (Model.DisplayTaxRates) { foreach (var tr in Model.TaxRates) {
@tr.Rate%
@Html.Raw(tr.Value)
} } @if (Model.DisplayTax) {
@Html.Raw(Model.Tax)
} @if (!string.IsNullOrEmpty(Model.OrderTotalDiscount)) {
@Html.Raw(Model.OrderTotalDiscount)
} @foreach (var gc in Model.GiftCards) {
(@(gc.CouponCode))
@gc.Amount
} @if (Model.RedeemedRewardPoints > 0) {
@($"{Model.RedeemedRewardPoints} {T("Admin.Orders.Fields.RedeemedRewardPoints.Points")} {Model.RedeemedRewardPointsAmount}")
}
@Html.Raw(Model.OrderTotal)
@if (!string.IsNullOrEmpty(Model.RefundedAmount)) {
@Model.RefundedAmount
} @if (Model.UsedDiscounts.Count > 0) {
@for (var i = 0; i < Model.UsedDiscounts.Count; i++) { var discount = Model.UsedDiscounts[i]; @discount.DiscountName if (i != Model.UsedDiscounts.Count - 1) { , } }
}
@Html.Raw(Model.Profit)
@T("Admin.Orders.Fields.Edit.InclTax")
@T("Admin.Orders.Fields.Edit.ExclTax")
@T("Admin.Orders.Fields.Edit.InclTax")
@T("Admin.Orders.Fields.Edit.ExclTax")
@T("Admin.Orders.Fields.Edit.InclTax")
@T("Admin.Orders.Fields.Edit.ExclTax")
@T("Admin.Orders.Fields.Edit.InclTax")
@T("Admin.Orders.Fields.Edit.ExclTax")
@if (Model.AllowStoringCreditCardNumber) {
@Model.CardType
} @if (Model.AllowStoringCreditCardNumber) {
@Model.CardName
} @if (Model.AllowStoringCreditCardNumber || !string.IsNullOrEmpty(Model.CardNumber)) {
@Model.CardNumber
} @if (Model.AllowStoringCreditCardNumber) {
@Model.CardCvv2
} @if (Model.AllowStoringCreditCardNumber) {
@Model.CardExpirationMonth
} @if (Model.AllowStoringCreditCardNumber) {
@Model.CardExpirationYear
} @if (Model.AllowStoringCreditCardNumber) {
} @if (!string.IsNullOrEmpty(Model.AuthorizationTransactionId)) {
@Model.AuthorizationTransactionId
} @if (!string.IsNullOrEmpty(Model.CaptureTransactionId)) {
@Model.CaptureTransactionId
} @if (!string.IsNullOrEmpty(Model.SubscriptionTransactionId)) {
@Model.SubscriptionTransactionId
}
@Model.PaymentMethod
@Model.PaymentStatus
@if (Model.CanCapture || Model.CanMarkOrderAsPaid || Model.CanRefund || Model.CanRefundOffline || Model.CanPartiallyRefund || Model.CanPartiallyRefundOffline || Model.CanVoid || Model.CanVoidOffline) {
@if (!Model.IsLoggedInAsVendor) { if (Model.CanCapture) {   } if (Model.CanMarkOrderAsPaid) {   } if (Model.CanRefund) {   } if (Model.CanRefundOffline) {   } if (Model.CanPartiallyRefund) {   } if (Model.CanPartiallyRefundOffline) {   } if (Model.CanVoid) {   } if (Model.CanVoidOffline) {   } }
} @if (Model.CustomValues != null && Model.CustomValues.Count > 0) {
@foreach (var item in Model.CustomValues) {
  • @item.Key: @(item.Value != null ? item.Value.ToString() : "")
}
}
}
@Model.StoreName
@if (!Model.IsLoggedInAsVendor) {
@Model.OrderGuid
}
@Model.CustomerIp
@if (Model.RecurringPaymentId > 0) { } @if (!string.IsNullOrEmpty(Model.VatNumber)) {
@Model.VatNumber
} @if (Model.AffiliateId > 0) { }