public DnevniPrihodiIzvestaj(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 = null; Font groupTitleFont = new Font("Courier New", 9, FontStyle.Bold); Font masterGroupTitleFont = new Font("Courier New", 10, FontStyle.Bold); lista = new DnevniPrihodiClanoviLista(fromDate, toDate, grupe, this, 1, 0f, itemFont, itemsHeaderFont, groupTitleFont, masterGroupTitleFont); }
public DnevniPrihodiIzvestaj(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 = null; Font groupTitleFont = new Font("Courier New", 9, FontStyle.Bold); Font masterGroupTitleFont = new Font("Courier New", 10, FontStyle.Bold); lista = new DnevniPrihodiClanoviLista(fromDate, toDate, grupe, this, 1, 0f, itemFont, itemsHeaderFont, groupTitleFont, masterGroupTitleFont); }