# Generated by Django 5.2.4 on 2025-10-08 04:03

from django.db import migrations, models


class Migration(migrations.Migration):

    dependencies = [
        ('loans', '0018_add_rollover_date_field'),
    ]

    operations = [
        migrations.AddField(
            model_name='mpesatransaction',
            name='is_automatic',
            field=models.BooleanField(default=True, help_text='True if payment was processed automatically via M-Pesa callback'),
        ),
        migrations.AddField(
            model_name='mpesatransaction',
            name='payment_source',
            field=models.CharField(choices=[('automatic', 'Automatic M-Pesa'), ('manual', 'Manual Entry')], default='automatic', max_length=20),
        ),
        migrations.AddField(
            model_name='repayment',
            name='payment_source',
            field=models.CharField(choices=[('automatic', 'Automatic M-Pesa'), ('manual', 'Manual Entry')], default='manual', max_length=20),
        ),
    ]
