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

            System.Resources.ResourceManager resourceManager = new
                                                               System.Resources.ResourceManager("Soko.Resources.PreviewResursi", this.GetType().Assembly);
            Title    = resourceManager.GetString("prihodi_izvestaj_dnevni_title");
            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 = new Font("Courier New", 9);
            Font groupTitleFont  = new Font("Courier New", 10, FontStyle.Bold);

            lista = new DnevniPrihodiGrupeLista(fromDate, toDate, grupe, this, 1, 0f,
                                                itemFont, itemsHeaderFont, groupTitleFont);
        }
        public DnevniPrihodiGrupeIzvestaj(DateTime from, DateTime to, 
            List<Grupa> grupe)
        {
            this.fromDate = from.Date;
            this.toDate = to.Date;
            this.grupe = grupe;

            System.Resources.ResourceManager resourceManager = new
                System.Resources.ResourceManager("Soko.Resources.PreviewResursi", this.GetType().Assembly);
            Title = resourceManager.GetString("prihodi_izvestaj_dnevni_title");
            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 = new Font("Courier New", 9);
            Font groupTitleFont = new Font("Courier New", 10, FontStyle.Bold);
            lista = new DnevniPrihodiGrupeLista(fromDate, toDate, grupe, this, 1, 0f,
                itemFont, itemsHeaderFont, groupTitleFont);
        }