public LuksuzniTemelj()
        {
            this.cena = Cena;
            string cenaStr = Cena.ToString();

            this.dodatak = "luksuzni";
            this.opis    = this.Naziv + " " + this.dodatak + " " + cenaStr;
        }
Ejemplo n.º 2
0
        public OpekaZid()
        {
            this.cena = Cena;
            string cenaStr = Cena.ToString();

            this.Naziv = "opeka zid";
            this.opis  = this.Naziv + cenaStr;
        }
Ejemplo n.º 3
0
        public DrveniKrov()
        {
            this.cena = 5000;
            string cenaStr = Cena.ToString();

            this.Naziv = "drveni krov";
            this.opis  = this.Naziv + cenaStr;
        }
        public BetonskiTemeljLux()
        {
            this.cena = Cena;
            string cenaStr = Cena.ToString();

            this.Naziv = "betonski temelj";
            this.opis  = this.Naziv + " " + this.Dodatak + " , cena: " + cenaStr;
        }
Ejemplo n.º 5
0
        public SobnaVrata()
        {
            this.cena = Cena;
            string cenaStr = Cena.ToString();

            this.Naziv = "sobna vrata";
            this.opis  = this.Naziv + " , cena:  " + cenaStr + " , a kolicina ";
        }
        public KameniTemeljLux()
        {
            this.cena = Cena;
            string cenaStr = Cena.ToString();

            this.Naziv = "kameni temelj";
            this.opis  = this.Naziv + " " + this.Dodatak + " " + cenaStr;
        }
        public PlastikaSobnaVrata()
        {
            this.Cena = 150;
            string cenaStr = Cena.ToString();

            this.Naziv = "plastika sobna vrata";
            this.Opis  = this.Naziv + " , cena: " + cenaStr + " kolicina: ";
        }
Ejemplo n.º 8
0
        public BetonskiKrov()
        {
            this.cena = Cena;
            string cenaStr = Cena.ToString();

            this.Naziv = "betonski krov";
            this.opis  = this.Naziv + cenaStr;
        }
Ejemplo n.º 9
0
        public PlastikaUlaznaVrata()
        {
            this.Cena = 280;
            string cenaStr = Cena.ToString();

            this.Naziv = "plastika ulazna vrata";
            this.Opis  = this.Naziv + " , cena: " + cenaStr + " kolicina: ";
        }
Ejemplo n.º 10
0
        public OsnovniTemelj()
        {
            this.cena = Cena;
            string cenaStr = Cena.ToString();

            this.dodatak = "osnovni";
            this.opis    = this.Naziv + " " + this.dodatak + " , cena:  " + cenaStr;
        }
        public AvramekoPloca()
        {
            this.Cena = 3000;
            string cenaStr = Cena.ToString();

            this.Naziv = "avrameko ploca";
            this.Opis  = this.Naziv + cenaStr;
        }
Ejemplo n.º 12
0
        public AluminijumProzor()
        {
            this.Cena = Cena;
            string cenaStr = Cena.ToString();

            this.Naziv = "aluminijum prozor";
            this.Opis  = this.Naziv + " , cena: " + cenaStr;
        }
Ejemplo n.º 13
0
        public CrepKrov()
        {
            this.cena = 7000;
            string cenaStr = Cena.ToString();

            this.Naziv = "crep krov";
            this.opis  = this.Naziv + ", cena " + cenaStr;
        }
        public BetonskaPloca()
        {
            this.Cena = 6000;
            string cenaStr = Cena.ToString();

            this.Naziv = "betonska ploca";
            this.Opis  = this.Naziv + " , a cena " + cenaStr;
        }
        public AluminijumUlaznaVrata()
        {
            this.Cena = Cena;
            string cenaStr = Cena.ToString();

            this.Naziv = "aluminijum ulazna vrata";
            this.Opis  = this.Naziv + " , cena: " + cenaStr;
        }
        public PlastikaProzor()
        {
            this.Cena = 350;
            string cenaStr = Cena.ToString();

            this.Naziv = "plastika prozor";
            this.Opis  = this.Naziv + " , cena: " + cenaStr + " kolicina: ";
        }
Ejemplo n.º 17
0
        public SendvicZid()
        {
            this.cena = 8000;
            string cenaStr = Cena.ToString();

            this.Naziv = "sendvic zid";
            this.opis  = this.Naziv + " cena " + cenaStr;
        }
        public DrvoSobnaVrata()
        {
            this.Cena = 200;
            string cenaStr = Cena.ToString();

            this.Naziv = "drvo - sobna vrata";
            this.Opis  = this.Naziv + " , cena: " + cenaStr + " , a kolicina ";
        }
Ejemplo n.º 19
0
        public DrvoProzor()
        {
            this.Cena = 300;
            string cenaStr = Cena.ToString();

            this.Naziv = "drvo - prozor";
            // string kolicinaStr = Kolicina.ToString();
            this.Opis = this.Naziv + " , cena: " + cenaStr + " , a kolicina:";
        }
Ejemplo n.º 20
0
        public BalvanZid()

        {
            this.cena = 5000;
            string cenaStr = Cena.ToString();

            this.Naziv = "balvan zid";
            this.opis  = this.Naziv + "cena: " + cenaStr;
        }
Ejemplo n.º 21
0
        public async Task <IActionResult> OnPostPretrazi()
        {
            Console.WriteLine(Search1 + " --- " + Search3 + " --- " + Cena + " --- " + CenaDO + " --- " + CenaDO);
            HttpContext.Session.SetString("Search1", string.IsNullOrEmpty(Search1) ? "0" : Search1.ToString());
            HttpContext.Session.SetString("Search3", string.IsNullOrEmpty(Search3) ? "0" : Search3.ToString());
            HttpContext.Session.SetString("DO", CenaDO.ToString());
            HttpContext.Session.SetString("OD", CenaOD.ToString());
            HttpContext.Session.SetString("Cena", Cena.ToString());

            return(RedirectToPage());
        }
Ejemplo n.º 22
0
        public override string ToString()
        {
            DateTime dt          = DateTime.ParseExact(DatumVremeManifestacije.ToString(), "M/d/yyyy hh:mm:ss tt", CultureInfo.InvariantCulture);
            var      date        = dt.Date;
            string   datumString = dt.ToString("dd/MM/yyyy", CultureInfo.InvariantCulture);

            DateTime dt2          = DateTime.ParseExact(DatumOdustanka.ToString(), "M/d/yyyy hh:mm:ss tt", CultureInfo.InvariantCulture);
            var      date2        = dt.Date;
            string   datumString2 = dt2.ToString("dd/MM/yyyy", CultureInfo.InvariantCulture);

            return($"{Id};{ManifestacijaID};{datumString};{Cena.ToString()};{KupacID};{Status.ToString()};{Tip.ToString()};{datumString2};{IsDeleted.ToString()}");
        }
Ejemplo n.º 23
0
        public async Task <ActionResult> OnPostIdiNaStranu()
        {
            bool log = !string.IsNullOrEmpty(HttpContext.Session.GetString("idKupac"));

            if (log)
            {
                Console.WriteLine(pageInput + "++++++++++");
                HttpContext.Session.SetString("Search1", string.IsNullOrEmpty(Search1) ? "0" : Search1.ToString());
                HttpContext.Session.SetString("Search3", string.IsNullOrEmpty(Search3) ? "0" : Search3.ToString());
                HttpContext.Session.SetString("DO", CenaDO.ToString());
                HttpContext.Session.SetString("OD", CenaOD.ToString());
                HttpContext.Session.SetString("Cena", Cena.ToString());
                return(RedirectToPage("./Kupovina", new { pageIndex = pageInput }));
            }
            else
            {
                return(RedirectToPage("../Index"));
            }
        }
Ejemplo n.º 24
0
        public async Task <ActionResult> OnPostBrojElemenataNaStrani(int brEl)
        {
            bool log = !string.IsNullOrEmpty(HttpContext.Session.GetString("idKupac"));

            if (log)
            {
                HttpContext.Session.SetString("pageSize", brEl.ToString());
                HttpContext.Session.SetString("Search1", string.IsNullOrEmpty(Search1) ? "0" : Search1.ToString());
                HttpContext.Session.SetString("Search3", string.IsNullOrEmpty(Search3) ? "0" : Search3.ToString());
                HttpContext.Session.SetString("DO", CenaDO.ToString());
                HttpContext.Session.SetString("OD", CenaOD.ToString());
                HttpContext.Session.SetString("Cena", Cena.ToString());
                return(RedirectToPage("./Kupovina", new { pageIndex = 1 }));
            }
            else
            {
                return(RedirectToPage("../Index"));
            }
        }
Ejemplo n.º 25
0
 public override string ToString()
 {
     return(string.Format("{0,-30} {1,15} {2,15}", Nazwa_Produktu.Trim(), Ilosc.ToString(), Cena.ToString()));
 }
Ejemplo n.º 26
0
Archivo: Karta.cs Proyecto: vesna98/Web
 public override string ToString()
 {
     return(Idkarte + ";" + Korisnikid + ";" + Tipkarte.ToString() + ";" + Status.ToString() + ";" + Cena.ToString() + ";" + Nazivmanifestacije + ";" + Datummanifestacije + ";" + Obrisana.ToString() + ";" + Kupac + ";" + MogucOdustanak.ToString() + ";" + IDmanifestacije);
 }