0004_alter_roomdiscrepancy_discrepancy_type mig
This commit is contained in:
@@ -0,0 +1,18 @@
|
||||
# Generated by Django 5.1.4 on 2025-02-01 06:37
|
||||
|
||||
from django.db import migrations, models
|
||||
|
||||
|
||||
class Migration(migrations.Migration):
|
||||
|
||||
dependencies = [
|
||||
('antifroud', '0003_alter_roomdiscrepancy_booking_id_and_more'),
|
||||
]
|
||||
|
||||
operations = [
|
||||
migrations.AlterField(
|
||||
model_name='roomdiscrepancy',
|
||||
name='discrepancy_type',
|
||||
field=models.CharField(choices=[('early', 'Раннее заселение'), ('late', 'Позднее заселение'), ('missed', 'Неявка'), ('no_booking', 'Без брони')], max_length=50, verbose_name='Тип несоответствия'),
|
||||
),
|
||||
]
|
||||
@@ -112,7 +112,7 @@ class RoomDiscrepancy(models.Model):
|
||||
check_in_date_actual = models.DateField(null=True, verbose_name="Фактическая дата заселения")
|
||||
discrepancy_type = models.CharField(
|
||||
max_length=50,
|
||||
choices=[("early", "Раннее заселение"), ("late", "Позднее заселение"), ("missed", "Неявка")],
|
||||
choices=[("early", "Раннее заселение"), ("late", "Позднее заселение"), ("missed", "Неявка"), ("no_booking", "Без брони")],
|
||||
verbose_name="Тип несоответствия"
|
||||
)
|
||||
created_at = models.DateTimeField(auto_now_add=True, verbose_name="Дата создания")
|
||||
|
||||
Reference in New Issue
Block a user