Удалена система лояльности из модели Customer

Удалены поля loyalty_tier, is_vip, get_loyalty_discount(), increment_total_spent().
Поле total_spent оставлено для будущего расчёта по заказам.
Обновлены admin, forms, views и шаблоны.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
2025-11-22 17:05:18 +03:00
parent 59a7152967
commit fac3d55083
6 changed files with 8 additions and 121 deletions

View File

@@ -413,7 +413,6 @@ def api_create_customer(request):
'name': name,
'phone': phone if phone else None,
'email': email if email else None,
'loyalty_tier': 'no_discount', # Значение по умолчанию для новых клиентов
}
# Используем форму для валидации и создания