# Generated by Django 5.2.9 on 2026-01-09 18:54

import django.db.models.deletion
from django.db import migrations, models


class Migration(migrations.Migration):

    dependencies = [
        ("vendor", "0047_alter_payment_managers_offer_priority_and_more"),
    ]

    operations = [
        migrations.AddField(
            model_name="receipt",
            name="invoice",
            field=models.ForeignKey(
                blank=True,
                help_text="The invoice associated with this receipt. This is set automatically on save based on the order item.",  # noqa: E501
                null=True,
                on_delete=django.db.models.deletion.CASCADE,
                related_name="receipts",
                to="vendor.invoice",
                verbose_name="Invoice",
            ),
        ),
    ]
