Esempio n. 1
0
 public override string ToString()
 {
     return(string.Format("{0}-{1}-{2}-{3}-{4}",
                          OibZaposlenik,
                          DatumOd?.ToString("dd.MM.yyyy"),
                          DatumDo?.ToString("dd.MM.yyyy")));
 }
Esempio n. 2
0
 public override string ToString()
 {
     return(string.Format("{0}-{1}-{2}-{3}-{4}",
                          IdPartnera,
                          DatumOd?.ToString("dd.MM.yyyy"),
                          DatumDo?.ToString("dd.MM.yyyy"),
                          IznosOd,
                          IznosDo));
 }
Esempio n. 3
0
 private AccountingJournalModel CreateJournalEntries(string konto, string side)
 {
     return(new AccountingJournalModel
     {
         Broj = Asset.InvBroj,
         Dokument = Asset.Naziv + ": " + Asset.Dokument,
         Datum = DatumDo,
         Opis = "Amortizacija " + DatumOd?.ToString("dd.MM.yyyy") + "-" + DatumDo?.ToString("dd.MM.yyyy"),
         Konto = konto,
         Dugovna = side == "Dugovna" ? IznosAmortizacije : 0,
         Potrazna = side == "Potražna" ? IznosAmortizacije : 0,
         Valuta = "HRK",
         VrstaTemeljnice = _bookName
     });
 }
 public void CreateUniqueIdentifier()
 {
     UniqueId = DatumOd.ToString().Replace(".", "").Replace(":", "").Replace(" ", "").Trim() + "-" +
                DatumDo.ToString().Replace(".", "").Replace(":", "").Replace(" ", "").Trim() + "-" +
                DatumObracuna.ToString().Replace(".", "").Replace(":", "").Replace(" ", "").Trim();
 }
Esempio n. 5
0
 public override string ToString()
 {
     return("#" + IdKorisnika + "-" + IdAuta + "  " + DatumOd.ToShortDateString() + ". - " + DatumDo.ToShortDateString() + ". cena: " + cena + " din.");
 }
Esempio n. 6
0
 public string ispis()
 {
     return(DatumOd.ToShortDateString() + "-" + DatumDo.ToShortDateString() +
            " Cena: " + cenaPoDanu + " din po danu");
 }
Esempio n. 7
0
 public override string ToString()
 {
     return("Auto: " + idAuta + ", " + DatumOd.ToShortDateString() + "-" + DatumDo.ToShortDateString());
 }
Esempio n. 8
0
        private void rptFilmovi_Load(object sender, EventArgs e)
        {
            var rds = new ReportDataSource("DataSet1", Filmovi_Result);

            this.reportViewer1.LocalReport.DataSources.Add(rds);
            this.reportViewer1.LocalReport.SetParameters(new ReportParameter("TipId", TipId.ToString()));
            this.reportViewer1.LocalReport.SetParameters(new ReportParameter("ZanrId", ZanrId.ToString()));
            this.reportViewer1.LocalReport.SetParameters(new ReportParameter("DatumOd", DatumOd.ToString()));
            this.reportViewer1.LocalReport.SetParameters(new ReportParameter("DatumDo", DatumDo.ToString()));
            this.reportViewer1.RefreshReport();
        }