ae9d749356
- Add Payment.method field (cash/card/paypal/bank) with migration - Show method in PaymentAdmin list view - Add merge_users management command (atomic, reassigns all FKs) - Add update_crates_2026 command (actual purchased/returned crates) - Add finance_summary_2026 command (Ausgaben, Einnahmen, Kasse, Bilanz) Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
19 lines
525 B
Python
19 lines
525 B
Python
# Generated by Django 6.0.6 on 2026-06-20 12:06
|
|
|
|
from django.db import migrations, models
|
|
|
|
|
|
class Migration(migrations.Migration):
|
|
|
|
dependencies = [
|
|
('gaehsnitz', '0010_add_sekt_category'),
|
|
]
|
|
|
|
operations = [
|
|
migrations.AddField(
|
|
model_name='payment',
|
|
name='method',
|
|
field=models.CharField(choices=[('cash', 'Bar'), ('card', 'EC-Karte'), ('paypal', 'PayPal'), ('bank', 'Überweisung')], default='paypal', max_length=16, verbose_name='Methode'),
|
|
),
|
|
]
|