Enzo Yair

filtros

# Generated by Django 4.1.9 on 2023-09-27 13:02
# Generated by Django 4.1.9 on 2023-09-27 13:06
from django.conf import settings
from django.db import migrations, models
... ... @@ -13,23 +13,9 @@ class Migration(migrations.Migration):
]
operations = [
migrations.RemoveField(
migrations.AlterField(
model_name='comprobantepago',
name='monto',
),
migrations.AddField(
model_name='comprobantepago',
name='monto_descuento',
field=models.FloatField(editable=False, null=True),
),
migrations.AddField(
model_name='comprobantepago',
name='monto_subtotal',
field=models.FloatField(editable=False, null=True),
),
migrations.AddField(
model_name='comprobantepago',
name='monto_total',
field=models.FloatField(editable=False, null=True),
),
migrations.AlterField(
... ...
... ... @@ -58,9 +58,7 @@ class ComprobantePago(models.Model):
verbose_name = 'ComprobantePago'
verbose_name_plural = 'ComprobantesPagos'
monto_total = models.FloatField(editable=False, null=True)
monto_subtotal = models.FloatField(editable=False, null=True)
monto_descuento = models.FloatField(editable=False, null=True)
monto = models.FloatField(editable=False, null=True)
numero_comprobante = models.CharField(max_length=300, blank=True, null=True)
fecha_pago = models.DateTimeField(blank=True, null=True)
edicto = models.OneToOneField(Edicto, on_delete=models.CASCADE)
... ...