# Generated by Django 3.2.6 on 2023-08-05 17:36

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


class Migration(migrations.Migration):

    dependencies = [
        ('Main', '0010_auto_20230805_1736'),
        ('Process', '0012_auto_20230730_0345'),
    ]

    operations = [
        migrations.CreateModel(
            name='RetiroTransferenciaCta',
            fields=[
                ('id', models.AutoField(primary_key=True, serialize=False, verbose_name='ID:')),
                ('fecha', models.DateTimeField(auto_now=True, verbose_name='Fecha:')),
                ('tabla_capita', models.CharField(max_length=50, null=True, verbose_name='Tabla capital:')),
                ('id_capital', models.IntegerField(default=0, verbose_name='Id capital:')),
                ('tabla_comi', models.CharField(max_length=50, null=True, verbose_name='Tabla comision:')),
                ('id_comi', models.IntegerField(default=0, verbose_name='Id comision:')),
                ('monto', models.DecimalField(decimal_places=2, default=0, max_digits=15)),
                ('comision', models.DecimalField(decimal_places=2, default=0, max_digits=15)),
                ('banco', models.CharField(max_length=30, null=True, verbose_name='Banco:')),
                ('observaciones', models.CharField(max_length=100, null=True, verbose_name='Observaciones:')),
                ('estado', models.CharField(max_length=20, verbose_name='Estado')),
                ('conceptoDetalle', models.CharField(blank=True, max_length=250, null=True, verbose_name='Detalle:')),
                ('tabla_capita_mov', models.CharField(blank=True, max_length=50, null=True, verbose_name='Tabla capital mov:')),
                ('id_capital_mov', models.IntegerField(default=0, verbose_name='Id capital mov:')),
                ('tabla_comi_mov', models.CharField(blank=True, max_length=50, null=True, verbose_name='Tabla comision mov:')),
                ('id_comi_mov', models.IntegerField(default=0, verbose_name='Id comision mov:')),
                ('tipo_doc', models.CharField(blank=True, max_length=20, null=True, verbose_name='Tipo Documento:')),
                ('nro_re', models.CharField(blank=True, max_length=20, null=True, verbose_name='Nro. recibo:')),
                ('id_operacion', models.IntegerField(default=0, verbose_name='Id Operacion:')),
                ('id_banco', models.IntegerField(default=0, verbose_name='Id Banco:')),
                ('id_caja', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='Main.cajas', verbose_name='Id:')),
                ('id_cliente', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='Main.cliente', verbose_name='ID Cliente:')),
                ('id_oficina', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='Main.oficina', verbose_name='Id:')),
                ('id_personal', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='Main.personal', verbose_name='ID Personal')),
            ],
            options={
                'verbose_name': 'Retiro Trans Cta cte',
                'verbose_name_plural': 'Retiros Trans Cta cte',
                'ordering': ['id'],
            },
        ),
    ]
