Przeglądaj źródła

improve look and feel

master
erichhasl 7 lat temu
rodzic
commit
0d128fc339
1 zmienionych plików z 5 dodań i 0 usunięć
  1. +5
    -0
      web_dev/sas_web/meingoethopia/models.py

+ 5
- 0
web_dev/sas_web/meingoethopia/models.py Wyświetl plik

@@ -66,6 +66,11 @@ class Betrieb(models.Model):
return 1
punkt.short_description = 'Punkt'

def arbeiter_effektiv(self):
return "{}/{}".format(self.angestellte.all().count(),
self.arbeitnehmerzahl)
arbeiter_effektiv.short_description = 'Stellen'

def __str__(self):
return str(self.name)



Ładowanie…
Anuluj
Zapisz