# Generated by Django 3.2.6 on 2021-08-23 23:56

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


class Migration(migrations.Migration):

    initial = True

    dependencies = [
        ('Main', '0001_initial'),
    ]

    operations = [
        migrations.CreateModel(
            name='TCajaMaterialHaber',
            fields=[
                ('id', models.AutoField(primary_key=True, serialize=False, verbose_name='ID:')),
                ('tablaRelacional', models.CharField(max_length=40, verbose_name='Tabla:')),
                ('fecha', models.DateTimeField(auto_now=True, verbose_name='Fecha:')),
                ('conceptoDetalle', models.CharField(max_length=250, verbose_name='Detalle:')),
                ('tipoDocumento', models.CharField(blank=True, max_length=20, null=True, verbose_name='Tipo Documento:')),
                ('observaciones', models.CharField(max_length=250, verbose_name='Observaciones:')),
                ('estadoTransaccion', models.CharField(max_length=20, verbose_name='Estado Transaccion')),
                ('pesoGramos', models.DecimalField(decimal_places=4, max_digits=15)),
                ('precioxGramo', models.DecimalField(decimal_places=4, default=0, max_digits=15)),
                ('nroRecibo', models.CharField(max_length=30, verbose_name='Nro. recibo:')),
                ('aux1', models.CharField(max_length=60, verbose_name='aux1:')),
                ('aux2', models.CharField(max_length=15, verbose_name='aux2:')),
                ('observaciones2', models.CharField(max_length=250, verbose_name='observaciones2:')),
                ('id_caja', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='Main.cajas', verbose_name='Id:')),
                ('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': 'Egreso Material',
                'verbose_name_plural': 'Egresos Material',
                'ordering': ['id'],
            },
        ),
        migrations.CreateModel(
            name='TCajaMaterialDebe',
            fields=[
                ('id', models.AutoField(primary_key=True, serialize=False, verbose_name='ID:')),
                ('tablaRelacional', models.CharField(max_length=40, verbose_name='Tabla:')),
                ('fecha', models.DateTimeField(auto_now=True, verbose_name='Fecha:')),
                ('conceptoDetalle', models.CharField(max_length=250, verbose_name='Detalle:')),
                ('tipoDocumento', models.CharField(blank=True, max_length=20, null=True, verbose_name='Tipo Documento:')),
                ('observaciones', models.CharField(max_length=250, verbose_name='Observaciones:')),
                ('estadoTransaccion', models.CharField(max_length=20, verbose_name='Estado Transaccion')),
                ('pesoGramos', models.DecimalField(decimal_places=4, max_digits=15)),
                ('precioxGramo', models.DecimalField(decimal_places=4, default=0, max_digits=15)),
                ('nroRecibo', models.CharField(max_length=30, verbose_name='Nro. recibo:')),
                ('aux1', models.CharField(max_length=60, verbose_name='aux1:')),
                ('aux2', models.CharField(max_length=15, verbose_name='aux2:')),
                ('observaciones2', models.CharField(max_length=250, verbose_name='observaciones2:')),
                ('id_caja', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='Main.cajas', verbose_name='Id:')),
                ('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': 'Ingreso Material',
                'verbose_name_plural': 'Ingresos Material',
                'ordering': ['id'],
            },
        ),
        migrations.CreateModel(
            name='TCajaHaberM',
            fields=[
                ('id', models.AutoField(primary_key=True, serialize=False, verbose_name='ID:')),
                ('tablaRelacional', models.CharField(max_length=40, verbose_name='Tabla:')),
                ('fecha', models.DateTimeField(auto_now=True, verbose_name='Fecha:')),
                ('conceptoDetalle', models.CharField(max_length=250, verbose_name='Detalle:')),
                ('tipoDocumento', models.CharField(max_length=20, verbose_name='Tipo Documento:')),
                ('cantidadDinero', models.DecimalField(decimal_places=3, max_digits=15)),
                ('moneda', models.CharField(max_length=20, verbose_name='Moneda:')),
                ('tipo_cambio', models.DecimalField(decimal_places=4, default=0, max_digits=15)),
                ('observaciones', models.CharField(max_length=250, verbose_name='Observaciones:')),
                ('estadoTransaccion', models.CharField(max_length=20, verbose_name='Estado Transaccion')),
                ('nroRecibo', models.CharField(max_length=30, verbose_name='Nro. recibo:')),
                ('aux1', models.CharField(max_length=60, verbose_name='aux1:')),
                ('aux2', models.CharField(max_length=15, verbose_name='aux2:')),
                ('observaciones2', models.CharField(max_length=250, verbose_name='observaciones2:')),
                ('id_caja', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='Main.cajas', verbose_name='Id:')),
                ('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': 'Egreso Cambio',
                'verbose_name_plural': 'Egresos Cambio',
                'ordering': ['id'],
            },
        ),
        migrations.CreateModel(
            name='TCajaHaberCambio',
            fields=[
                ('id', models.AutoField(primary_key=True, serialize=False, verbose_name='ID:')),
                ('tablaRelacional', models.CharField(max_length=40, verbose_name='Tabla:')),
                ('fecha', models.DateTimeField(auto_now=True, verbose_name='Fecha:')),
                ('conceptoDetalle', models.CharField(max_length=250, verbose_name='Detalle:')),
                ('tipoDocumento', models.CharField(max_length=20, verbose_name='Tipo Documento:')),
                ('cantidadDinero', models.DecimalField(decimal_places=3, max_digits=15)),
                ('moneda', models.CharField(max_length=20, verbose_name='Moneda:')),
                ('tipo_cambio', models.DecimalField(decimal_places=4, default=0, max_digits=15)),
                ('observaciones', models.CharField(max_length=250, verbose_name='Observaciones:')),
                ('estadoTransaccion', models.CharField(max_length=20, verbose_name='Estado Transaccion')),
                ('nroRecibo', models.CharField(max_length=30, verbose_name='Nro. recibo:')),
                ('aux1', models.CharField(max_length=60, verbose_name='aux1:')),
                ('aux2', models.CharField(max_length=15, verbose_name='aux2:')),
                ('observaciones2', models.CharField(max_length=250, verbose_name='observaciones2:')),
                ('id_caja', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='Main.cajas', verbose_name='Id:')),
                ('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': 'Egreso Cambio',
                'verbose_name_plural': 'Egresos Cambio',
                'ordering': ['id'],
            },
        ),
        migrations.CreateModel(
            name='TCajaHaber',
            fields=[
                ('id', models.AutoField(primary_key=True, serialize=False, verbose_name='ID:')),
                ('tablaRelacional', models.CharField(max_length=40, verbose_name='Tabla:')),
                ('fecha', models.DateTimeField(auto_now=True, verbose_name='Fecha:')),
                ('conceptoDetalle', models.CharField(max_length=250, verbose_name='Detalle:')),
                ('tipoDocumento', models.CharField(max_length=20, verbose_name='Tipo Documento:')),
                ('cantidadDinero', models.DecimalField(decimal_places=2, max_digits=15)),
                ('moneda', models.CharField(max_length=20, verbose_name='Moneda:')),
                ('tipo_cambio', models.DecimalField(decimal_places=3, default=0, max_digits=15)),
                ('observaciones', models.CharField(max_length=250, verbose_name='Observaciones:')),
                ('estadoTransaccion', models.CharField(max_length=20, verbose_name='Estado Transaccion')),
                ('nroRecibo', models.CharField(max_length=30, verbose_name='Nro. recibo:')),
                ('aux1', models.CharField(max_length=60, verbose_name='aux1:')),
                ('aux2', models.CharField(max_length=15, verbose_name='aux2:')),
                ('observaciones2', models.CharField(max_length=250, verbose_name='observaciones2:')),
                ('id_caja', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='Main.cajas', verbose_name='Id:')),
                ('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': 'Egreso',
                'verbose_name_plural': 'Egresos',
                'ordering': ['id'],
            },
        ),
        migrations.CreateModel(
            name='TCajaDebeM',
            fields=[
                ('id', models.AutoField(primary_key=True, serialize=False, verbose_name='ID:')),
                ('tablaRelacional', models.CharField(max_length=40, verbose_name='Tabla:')),
                ('fecha', models.DateTimeField(auto_now=True, verbose_name='Fecha:')),
                ('conceptoDetalle', models.CharField(max_length=250, verbose_name='Detalle:')),
                ('tipoDocumento', models.CharField(max_length=20, verbose_name='Tipo Documento:')),
                ('cantidadDinero', models.DecimalField(decimal_places=3, max_digits=15)),
                ('moneda', models.CharField(max_length=20, verbose_name='Moneda:')),
                ('tipo_cambio', models.DecimalField(decimal_places=4, default=0, max_digits=15)),
                ('observaciones', models.CharField(max_length=250, verbose_name='Observaciones:')),
                ('estadoTransaccion', models.CharField(max_length=20, verbose_name='Estado Transaccion')),
                ('nroRecibo', models.CharField(max_length=30, verbose_name='Nro. recibo:')),
                ('aux1', models.CharField(max_length=60, verbose_name='aux1:')),
                ('aux2', models.CharField(max_length=15, verbose_name='aux2:')),
                ('observaciones2', models.CharField(max_length=250, verbose_name='observaciones2:')),
                ('id_caja', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='Main.cajas', verbose_name='Id:')),
                ('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': 'Ingreso Cambio',
                'verbose_name_plural': 'Ingresos Cambio',
                'ordering': ['id'],
            },
        ),
        migrations.CreateModel(
            name='TCajaDebeCambio',
            fields=[
                ('id', models.AutoField(primary_key=True, serialize=False, verbose_name='ID:')),
                ('tablaRelacional', models.CharField(max_length=40, verbose_name='Tabla:')),
                ('fecha', models.DateTimeField(auto_now=True, verbose_name='Fecha:')),
                ('conceptoDetalle', models.CharField(max_length=250, verbose_name='Detalle:')),
                ('tipoDocumento', models.CharField(max_length=20, verbose_name='Tipo Documento:')),
                ('cantidadDinero', models.DecimalField(decimal_places=3, max_digits=15)),
                ('moneda', models.CharField(max_length=20, verbose_name='Moneda:')),
                ('tipo_cambio', models.DecimalField(decimal_places=4, default=0, max_digits=15)),
                ('observaciones', models.CharField(max_length=250, verbose_name='Observaciones:')),
                ('estadoTransaccion', models.CharField(max_length=20, verbose_name='Estado Transaccion')),
                ('nroRecibo', models.CharField(max_length=30, verbose_name='Nro. recibo:')),
                ('aux1', models.CharField(max_length=60, verbose_name='aux1:')),
                ('aux2', models.CharField(max_length=15, verbose_name='aux2:')),
                ('observaciones2', models.CharField(max_length=250, verbose_name='observaciones2:')),
                ('id_caja', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='Main.cajas', verbose_name='Id:')),
                ('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': 'Ingreso Cambio',
                'verbose_name_plural': 'Ingresos Cambio',
                'ordering': ['id'],
            },
        ),
        migrations.CreateModel(
            name='TCajaDebe',
            fields=[
                ('id', models.AutoField(primary_key=True, serialize=False, verbose_name='ID:')),
                ('tablaRelacional', models.CharField(max_length=40, verbose_name='Tabla:')),
                ('fecha', models.DateTimeField(auto_now=True, verbose_name='Fecha:')),
                ('conceptoDetalle', models.CharField(max_length=250, verbose_name='Detalle:')),
                ('tipoDocumento', models.CharField(max_length=20, verbose_name='Tipo Documento:')),
                ('cantidadDinero', models.DecimalField(decimal_places=2, max_digits=15)),
                ('moneda', models.CharField(max_length=20, verbose_name='Moneda:')),
                ('tipo_cambio', models.DecimalField(decimal_places=3, default=0, max_digits=15)),
                ('observaciones', models.CharField(max_length=250, verbose_name='Observaciones:')),
                ('estadoTransaccion', models.CharField(max_length=20, verbose_name='Estado Transaccion')),
                ('nroRecibo', models.CharField(max_length=30, verbose_name='Nro. recibo:')),
                ('aux1', models.CharField(max_length=60, verbose_name='aux1:')),
                ('aux2', models.CharField(max_length=15, verbose_name='aux2:')),
                ('observaciones2', models.CharField(max_length=250, verbose_name='observaciones2:')),
                ('id_caja', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='Main.cajas', verbose_name='Id:')),
                ('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': 'Ingreso',
                'verbose_name_plural': 'Ingresos',
                'ordering': ['id'],
            },
        ),
    ]
