Esempio n. 1
0
        private void UpdateSelectors()
        {
            var serviceAmount = SelectedTicket.GetPreTaxServicesTotal() + SelectedTicket.GetPostTaxServicesTotal();
            var sum           = SelectedTicket.GetPlainSum();

            foreach (var order in SelectedTicket.Orders.Where(x => x.CalculatePrice))
            {
                UpdateSelector(order, serviceAmount, sum, SelectedTicket.TaxIncluded);
            }

            RoundSelectors();
        }
Esempio n. 2
0
        private void UpdateSelectors()
        {
            var serviceAmount = SelectedTicket.GetPreTaxServicesTotal() + SelectedTicket.GetPostTaxServicesTotal();
            var sum           = SelectedTicket.GetPlainSum();

            foreach (var order in SelectedTicket.Orders)
            {
                UpdateSelector(order, serviceAmount, sum);
            }

            RoundSelectors();
        }