public override string ToString() { return(string.Format("{0}-{1}-{2}-{3}-{4}", OibZaposlenik, DatumOd?.ToString("dd.MM.yyyy"), DatumDo?.ToString("dd.MM.yyyy"))); }
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)); }
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(); }
public override string ToString() { return ($"{Status}-{DatumOd?.ToString("dd.MM.yyyy")}-{DatumDo?.ToString("dd.MM.yyyy")}-{OdgovornaOsobaId}-{KategorijaZadatkaId}-{PodrumId}-{SpremnikId}"); }
public override string ToString() { return ($"{PodrumId}-{SpremnikId}-{UzorakUzeoId}-{DatumOd?.ToString("dd.MM.yyyy")}-{DatumDo?.ToString("dd.MM.yyyy")}"); }
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(); }
public override string ToString() { return ($"{Spol}-{DatumOd?.ToString("dd.MM.yyyy")}-{DatumDo?.ToString("dd.MM.yyyy")}"); }