1
0

company.py 525 B

12345678910111213141516171819202122232425
  1. from django.contrib import admin
  2. from dbsynce.models import Company
  3. @admin.register(Company)
  4. class CompanyAdmin(admin.ModelAdmin):
  5. list_display = (
  6. 'id',
  7. 'legal_name',
  8. 'repr_id',
  9. 'inn',
  10. 'kpp',
  11. 'ogrn',
  12. 'bank_name',
  13. 'bik',
  14. 'ks',
  15. 'rs',
  16. 'address',
  17. 'requirements',
  18. 'status',
  19. 'ticket_status',
  20. 'id_metaservice',
  21. 'is_global',
  22. 'is_visible',
  23. )
  24. list_filter = ('repr_id', 'ticket_status')