diff --git a/smash/web/migrations/0031_appointment_post_mail_sent.py b/smash/web/migrations/0031_appointment_post_mail_sent.py new file mode 100644 index 0000000000000000000000000000000000000000..aab4ab8702c498349ab6e8630c7cd910445220af --- /dev/null +++ b/smash/web/migrations/0031_appointment_post_mail_sent.py @@ -0,0 +1,20 @@ +# -*- coding: utf-8 -*- +# Generated by Django 1.10.3 on 2017-04-05 07:39 +from __future__ import unicode_literals + +from django.db import migrations, models + + +class Migration(migrations.Migration): + + dependencies = [ + ('web', '0030_subject_information_sent'), + ] + + operations = [ + migrations.AddField( + model_name='appointment', + name='post_mail_sent', + field=models.BooleanField(default=False, verbose_name=b'Post mail sent'), + ), + ] diff --git a/smash/web/models/appointment.py b/smash/web/models/appointment.py index 6f6e545b59d9a502f42cfeac398177f73fefbb48..176dd9d0b9a0cbdb19c15a2d88aa7d5a6b4066a0 100644 --- a/smash/web/models/appointment.py +++ b/smash/web/models/appointment.py @@ -67,6 +67,10 @@ class Appointment(models.Model): verbose_name='Status', default=APPOINTMENT_STATUS_SCHEDULED ) + post_mail_sent = models.BooleanField( + verbose_name='Post mail sent', + default=False + ) def mark_as_finished(self): self.status = Appointment.APPOINTMENT_STATUS_FINISHED