# Generated by Django 3.2.6 on 2021-10-27 00:08

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


class Migration(migrations.Migration):

    dependencies = [
        ('Main', '0003_porcentaje_liquidacion'),
        ('Maintenance', '0001_initial'),
        ('Process', '0003_intercambio_pago_adelanto'),
    ]

    operations = [
        migrations.CreateModel(
            name='SolicitudTransferenciaBancoa',
            fields=[
                ('id', models.AutoField(primary_key=True, serialize=False, verbose_name='ID:')),
                ('comision', models.DecimalField(decimal_places=2, default=0, max_digits=15)),
                ('monto', models.DecimalField(decimal_places=2, max_digits=15)),
                ('nombre_beneficiado', models.CharField(blank=True, max_length=100, verbose_name='Nombres Beneficiado:')),
                ('paterno_beneficiado', models.CharField(blank=True, max_length=200, verbose_name='Apellido Paterno Beneficiado:')),
                ('materno_beneficiado', models.CharField(blank=True, max_length=200, verbose_name='Apellido Materno Beneficiado:')),
                ('dni_beneficiado', models.CharField(max_length=11, null=True, verbose_name='DNI Beneficiado:')),
                ('id_beneficiario', models.IntegerField(default=0, verbose_name='ID beneficiario:')),
                ('observaciones', models.CharField(max_length=250, null=True, verbose_name='Observaciones:')),
                ('otros_conceptos', models.CharField(max_length=250, null=True, verbose_name='Otros Conceptos:')),
                ('monto_conceptos', models.DecimalField(decimal_places=2, default=0, max_digits=15)),
                ('aux1', models.CharField(blank=True, max_length=20, null=True, verbose_name='aux1:')),
                ('nroCta', models.CharField(blank=True, max_length=25, null=True, verbose_name='nroCta:')),
                ('banco', models.CharField(blank=True, max_length=25, verbose_name='Banco')),
                ('tipo_operacion', models.CharField(blank=True, max_length=10, verbose_name='Tipo')),
                ('cel_referencia', models.CharField(blank=True, max_length=15, verbose_name='Celular Referencia')),
                ('cel_referencia2', models.CharField(max_length=15, null=True, verbose_name='Celular Referencia 2')),
                ('nro_operacion', models.CharField(blank=True, max_length=20, verbose_name='Nro Operacion')),
                ('nro_giro', models.CharField(blank=True, max_length=20, verbose_name='Nro Giro')),
                ('clave', models.CharField(blank=True, max_length=15, verbose_name='Clave')),
                ('es_privado', models.BooleanField(default=False, verbose_name='Es Privado:')),
                ('estado_transferencia', models.CharField(blank=True, max_length=15, verbose_name='Estado')),
                ('idCajaDebe', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='Maintenance.tcajadebe', verbose_name='ID Caja Debe')),
                ('id_cliente', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='Main.cliente', verbose_name='ID Cliente:')),
            ],
            options={
                'verbose_name': 'Solicitud de Transferencia Banco',
                'verbose_name_plural': 'Solicitudes de Transferencias Bancos',
                'ordering': ['id'],
            },
        ),
        migrations.CreateModel(
            name='TransferenciaBancoProcesado',
            fields=[
                ('id', models.AutoField(primary_key=True, serialize=False, verbose_name='ID')),
                ('fecha', models.DateTimeField(auto_now=True, verbose_name='Fecha')),
                ('observaciones', models.CharField(max_length=250, null=True, verbose_name='Observaciones:')),
                ('estado', models.BooleanField(default=True, verbose_name='Estado transaccion:')),
                ('id_caja', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='Main.cajas', verbose_name='Id:')),
                ('id_personal', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='Main.personal', verbose_name='ID Personal')),
                ('id_solicitud_transferencia', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='Process.solicitudtransferenciabancoa', verbose_name='ID Solicitud Transferencia Banco:')),
            ],
            options={
                'verbose_name': 'Proceso de Transferencia Banco',
                'verbose_name_plural': 'Proceso de Transferencias Bancos',
                'ordering': ['id'],
            },
        ),
        migrations.CreateModel(
            name='ExtornoTransferenciaBancos',
            fields=[
                ('id', models.AutoField(primary_key=True, serialize=False, verbose_name='ID')),
                ('observaciones', models.CharField(max_length=100, null=True, verbose_name='Observaciones:')),
                ('idCajaHaber', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='Maintenance.tcajahaber', verbose_name='ID Caja Haber:')),
                ('id_solicitud_transferencia', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='Process.solicitudtransferenciabancoa', verbose_name='ID Solicitud Transferencia:')),
            ],
            options={
                'verbose_name': 'Extorno de Transferencia Banco',
                'verbose_name_plural': 'Extornos de Transferencias Bancos',
                'ordering': ['id'],
            },
        ),
        migrations.CreateModel(
            name='DepositoCtaTransferenciaProcesado',
            fields=[
                ('id', models.AutoField(primary_key=True, serialize=False, verbose_name='ID:')),
                ('fecha', models.DateTimeField(auto_now=True, verbose_name='Fecha:')),
                ('estado', models.CharField(max_length=20, verbose_name='Estado')),
                ('estado_t', models.BooleanField(default=True, verbose_name='Estado transaccion:')),
                ('id_caja', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='Main.cajas', verbose_name='Id:')),
                ('id_movimiento', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='Process.ctactemovimientos_main', verbose_name='Id Movimiento:')),
                ('id_oficina', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='Main.oficina', verbose_name='Id Oficina:')),
                ('id_personal', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='Main.personal', verbose_name='ID Personal:')),
                ('id_procesado', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='Process.transferenciabancoprocesado', verbose_name='ID Procesado')),
            ],
            options={
                'verbose_name': 'Deposito Trans Procesado Cta cte M',
                'verbose_name_plural': 'Depositos Trans Procesado Cta cte M',
                'ordering': ['id'],
            },
        ),
    ]
