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


class Migration(migrations.Migration):

    dependencies = [
        ('sales', '0004_alter_projectassessment_heard_from_and_more'),
        migrations.swappable_dependency(settings.AUTH_USER_MODEL),
    ]

    operations = [
        migrations.AddField(
            model_name='projectassessment',
            name='quote_amount',
            field=models.DecimalField(blank=True, decimal_places=2, help_text='Quoted price (GBP)', max_digits=10, null=True),
        ),
        migrations.AddField(
            model_name='projectassessment',
            name='quote_notes',
            field=models.TextField(blank=True, help_text='Message to client included in the quote email'),
        ),
        migrations.AddField(
            model_name='projectassessment',
            name='quote_sent_at',
            field=models.DateTimeField(blank=True, help_text='When the quote was emailed to the client', null=True),
        ),
        migrations.AddField(
            model_name='projectassessment',
            name='quote_sent_by',
            field=models.ForeignKey(
                blank=True, help_text='CMS user who sent the quote',
                null=True, on_delete=django.db.models.deletion.SET_NULL,
                related_name='sent_quotes', to=settings.AUTH_USER_MODEL,
            ),
        ),
    ]
