Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


These support forums are now closed for new topics and comments.
Please head on over to http://eureka.ucommerce.net/ for support.

  • Kim Søjborg Pedersen 71 posts 275 karma points
    Aug 02, 2013 @ 13:24
    Kim Søjborg Pedersen
    0

    Discount shows exclusive vat

    TransactionLibrary.GetBasket(true).PurchaseOrder.Basket.DiscountTotal.Value is the discount exclusive vat, is there another way to show it inclusive vat, wihtout making the calculation my self?

  • Lars Horne-Mortensen 40 posts 184 karma points
    Aug 02, 2013 @ 14:32
    Lars Horne-Mortensen
    0

    Hi Kim,

    There isn't a method that does the calculation for you.

    You can get the vat value from the orderlines.

    Hope it helps,

    Lars

  • Kim Søjborg Pedersen 71 posts 275 karma points
    Aug 02, 2013 @ 14:46
    Kim Søjborg Pedersen
    100

    Solution found:

    discount * SiteContext.Current.CatalogContext.CurrentCatalog.PriceGroup.VATRate 

  • Nickolaj Lundgreen 233 posts 1132 karma points
    Aug 07, 2013 @ 14:26
    Nickolaj Lundgreen
    0

    I think the correct version is to make a sum of the orderline vat property, to take different VAT rate per item into account.

Please Sign in or register to post replies

Write your reply to:

Draft