generated from coulomb/repo-seed
11 lines
359 B
Python
11 lines
359 B
Python
from django.contrib import admin
|
|
|
|
from .models import Preispunkt
|
|
|
|
|
|
@admin.register(Preispunkt)
|
|
class PreispunktAdmin(admin.ModelAdmin):
|
|
list_display = ['konkrete_leistung', 'leistungstyp', 'einzelpreis', 'vergleichsgewicht', 'waehrung']
|
|
list_filter = ['wiederkehrend', 'subunternehmeranteil']
|
|
search_fields = ['konkrete_leistung', 'leistungstyp']
|