Esempio n. 1
0
        private void FilterOverTime(string value)
        {
            var overTimes = overTimeRepository.Search(value, Store.ActiveMonth, Store.ActiveYear);

            lvwData.Items.Clear();

            decimal total = 0;

            foreach (var overTime in overTimes)
            {
                total = total + (overTime.Amount);

                RenderOverTime(overTime);

                lblTotal.Text = total.ToString("N0").Replace(",", ".");
            }
        }