public EvidencijaTreningaIzvestaj(Nullable <int> clanId, DateTime from, DateTime to, List <Grupa> grupe)
        {
            this.clanId = clanId;
            Title       = "Dolazak na trening";
            string subtitle;

            if (from.Date == to.Date)
            {
                subtitle  = from.ToLongDateString();
                subtitle += "   " + from.ToShortTimeString() + " - " + to.ToShortTimeString();
            }
            else
            {
                subtitle  = from.ToShortDateString() + " " + from.ToShortTimeString();
                subtitle += " - " + to.ToShortDateString() + " " + to.ToShortTimeString();
            }
            SubTitle     = subtitle;
            DocumentName = Title;

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

            lista = new EvidencijaTreningaLista(clanId, from, to, grupe, this, 1, 0f,
                                                itemFont, itemsHeaderFont, groupTitleFont);
        }
        public EvidencijaTreningaIzvestaj(Nullable<int> clanId, DateTime from, DateTime to, List<Grupa> grupe)
        {
            this.clanId = clanId;
            Title = "Dolazak na trening";
            string subtitle;
            if (from.Date == to.Date)
            {
                subtitle = from.ToLongDateString();
                subtitle += "   " + from.ToShortTimeString() + " - " + to.ToShortTimeString();
            }
            else
            {
                subtitle = from.ToShortDateString() + " " + from.ToShortTimeString();
                subtitle += " - " + to.ToShortDateString() + " " + to.ToShortTimeString();
            }
            SubTitle = subtitle;
            DocumentName = Title;

            clanFont = new Font("Arial", 10, FontStyle.Bold);
            itemFont = new Font("Courier New", 9);
            Font itemsHeaderFont = null;
            Font groupTitleFont = new Font("Courier New", 10, FontStyle.Bold);
            lista = new EvidencijaTreningaLista(clanId, from, to, grupe, this, 1, 0f,
                itemFont, itemsHeaderFont, groupTitleFont);
        }