chore: Add fields to list_diplay CustomerAdmin
This commit is contained in:
@@ -14,7 +14,13 @@ from .models.payments import ReconciliationJar
|
|||||||
|
|
||||||
@admin.register(Customer)
|
@admin.register(Customer)
|
||||||
class CustomerAdmin(admin.ModelAdmin):
|
class CustomerAdmin(admin.ModelAdmin):
|
||||||
list_display = ("name", "email", "phone")
|
list_display = (
|
||||||
|
"name",
|
||||||
|
"email",
|
||||||
|
"phone",
|
||||||
|
"external_id",
|
||||||
|
"address_external_id",
|
||||||
|
)
|
||||||
search_fields = ("name", "email", "phone")
|
search_fields = ("name", "email", "phone")
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user