diff --git a/Fisk/data/counters/pp.txt b/Fisk/data/counters/pp.txt new file mode 100644 index 0000000..d8263ee --- /dev/null +++ b/Fisk/data/counters/pp.txt @@ -0,0 +1 @@ +2 \ No newline at end of file diff --git a/Fisk/data/counters/total.txt b/Fisk/data/counters/total.txt new file mode 100644 index 0000000..d8263ee --- /dev/null +++ b/Fisk/data/counters/total.txt @@ -0,0 +1 @@ +2 \ No newline at end of file diff --git a/web/templates/stranice/servis_detalji.html b/web/templates/stranice/servis_detalji.html index c852f95..c4810c5 100644 --- a/web/templates/stranice/servis_detalji.html +++ b/web/templates/stranice/servis_detalji.html @@ -830,29 +830,29 @@ {{if or (eq .Nalog.Status "Završeno") (eq .Nalog.Status "Preuzeto")}} - {{if .Radovi}} + {{if .ServisniRadovi}}
Obavljeni radovi
- {{range .Radovi}}{{if not .Predlozeno}} + {{range .ServisniRadovi}}
{{.Naziv}}{{if gt .Kolicina 1.0}} ×{{.Kolicina}}{{end}} {{dinari .Ukupno}} din
- {{end}}{{end}} + {{end}}
{{end}} - {{if .Delovi}} + {{if .ServisniDelovi}}
Ugrađeni delovi
- {{range .Delovi}}{{if and (not .Predlozeno) .ArtikalNaziv}} + {{range .ServisniDelovi}}
{{.ArtikalNaziv}}{{if gt .Kolicina 1}} ×{{.Kolicina}}{{end}} {{dinari .Ukupno}} din
- {{end}}{{end}} + {{end}}
{{end}}