public PeriodicniPrihodiIzvestaj(DateTime from, DateTime to, 
            List<Grupa> grupe)
        {
            this.fromDate = from.Date;
            this.toDate = to.Date;
            this.grupe = grupe;

            Title = "Uplate po grupama";
            SubTitle = fromDate.ToShortDateString() + " - " + toDate.ToShortDateString();
            DocumentName = Title;

            ukupanPrihodCaptionFont = new Font("Arial", 10);
            ukupanPrihodIznosFont = new Font("Courier New", 10, FontStyle.Bold);

            Font itemFont = new Font("Courier New", 9);
            Font itemsHeaderFont = null;
            Font groupTitleFont = new Font("Courier New", 10, FontStyle.Bold);
            lista = new PeriodicniPrihodiLista(fromDate, toDate, grupe, this, 1, 0f,
                itemFont, itemsHeaderFont, groupTitleFont);
        }
        public PeriodicniPrihodiIzvestaj(DateTime from, DateTime to,
                                         List <Grupa> grupe, FinansijskaCelina finCelina)
        {
            this.fromDate  = from.Date;
            this.toDate    = to.Date;
            this.grupe     = grupe;
            this.finCelina = finCelina;

            Title        = "Uplate po grupama";
            SubTitle     = fromDate.ToShortDateString() + " - " + toDate.ToShortDateString();
            DocumentName = Title;

            ukupanPrihodCaptionFont = new Font("Arial", 10);
            ukupanPrihodIznosFont   = new Font("Courier New", 10, FontStyle.Bold);

            Font itemFont        = new Font("Courier New", 9);
            Font itemsHeaderFont = null;
            Font groupTitleFont  = new Font("Courier New", 10, FontStyle.Bold);

            lista = new PeriodicniPrihodiLista(fromDate, toDate, grupe, this, 1, 0f,
                                               itemFont, itemsHeaderFont, groupTitleFont);
        }