# Generated by Django 5.2.11 on 2026-04-20 17:50

from django.db import migrations, models


class Migration(migrations.Migration):

    dependencies = [
        ('companies', '0005_add_enable_audit_log'),
    ]

    operations = [
        migrations.AddField(
            model_name='companysettings',
            name='auto_print_on_sale',
            field=models.BooleanField(default=False, help_text='Auto-print receipt on order completion'),
        ),
        migrations.AddField(
            model_name='companysettings',
            name='receipt_width_mm',
            field=models.PositiveSmallIntegerField(default=80, help_text='Thermal paper width: 58 or 80mm'),
        ),
        migrations.AddField(
            model_name='companysettings',
            name='require_2fa_for_admin',
            field=models.BooleanField(default=False),
        ),
        migrations.AddField(
            model_name='companysettings',
            name='require_2fa_for_manager',
            field=models.BooleanField(default=False),
        ),
        migrations.AddField(
            model_name='companysettings',
            name='send_credit_via_whatsapp',
            field=models.BooleanField(default=False, help_text='Send credit balance reminder via WhatsApp'),
        ),
        migrations.AddField(
            model_name='companysettings',
            name='send_lowstock_via_whatsapp',
            field=models.BooleanField(default=False, help_text='Alert admin on low stock via WhatsApp'),
        ),
        migrations.AddField(
            model_name='companysettings',
            name='send_receipt_via_whatsapp',
            field=models.BooleanField(default=False, help_text='Send order receipt to customer via WhatsApp'),
        ),
        migrations.AddField(
            model_name='companysettings',
            name='sms_api_key',
            field=models.CharField(blank=True, help_text='Termii or other SMS gateway key', max_length=200),
        ),
        migrations.AddField(
            model_name='companysettings',
            name='sms_sender_id',
            field=models.CharField(blank=True, default='SwiftPOS', max_length=20),
        ),
        migrations.AddField(
            model_name='companysettings',
            name='thermal_printer_name',
            field=models.CharField(blank=True, help_text='QZ Tray printer name for direct thermal printing', max_length=100),
        ),
        migrations.AddField(
            model_name='companysettings',
            name='whatsapp_api_key',
            field=models.CharField(blank=True, help_text='WhatsApp API key', max_length=200),
        ),
        migrations.AddField(
            model_name='companysettings',
            name='whatsapp_api_url',
            field=models.CharField(blank=True, help_text='WhatsApp HTTP API endpoint', max_length=300),
        ),
        migrations.AddField(
            model_name='plan',
            name='feature_2fa',
            field=models.BooleanField(default=False, help_text='Two-factor authentication for staff'),
        ),
        migrations.AddField(
            model_name='plan',
            name='feature_bundles',
            field=models.BooleanField(default=False, help_text='Sellable product bundles'),
        ),
        migrations.AddField(
            model_name='plan',
            name='feature_online_store',
            field=models.BooleanField(default=False, help_text='Public-facing online storefront'),
        ),
        migrations.AddField(
            model_name='plan',
            name='feature_price_lists',
            field=models.BooleanField(default=False, help_text='Customer-specific pricing'),
        ),
        migrations.AddField(
            model_name='plan',
            name='feature_product_variants',
            field=models.BooleanField(default=False, help_text='Product size/color variants'),
        ),
        migrations.AddField(
            model_name='plan',
            name='feature_stock_transfers',
            field=models.BooleanField(default=False, help_text='Inter-branch stock transfers'),
        ),
        migrations.AddField(
            model_name='plan',
            name='feature_whatsapp_sms',
            field=models.BooleanField(default=False, help_text='WhatsApp/SMS receipts & alerts'),
        ),
    ]
