Esempio n. 1
0
        private void LoadOverTime()
        {
            var overTimes = overTimeRepository.GetAll(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(",", ".");
            }
        }