Ver 11 - cleaned data
This commit is contained in:
parent
4c6eb17d09
commit
8feedf5963
Binary file not shown.
@ -0,0 +1,23 @@
|
||||
# Generated by Django 5.2.7 on 2026-02-04 13:35
|
||||
|
||||
from django.db import migrations, models
|
||||
|
||||
|
||||
class Migration(migrations.Migration):
|
||||
|
||||
dependencies = [
|
||||
('core', '0007_expensereceipt_expenselineitem'),
|
||||
]
|
||||
|
||||
operations = [
|
||||
migrations.AlterField(
|
||||
model_name='expensereceipt',
|
||||
name='payment_method',
|
||||
field=models.CharField(choices=[('CASH', 'Cash'), ('CARD', 'Card'), ('EFT', 'EFT'), ('OTHER', 'Other')], default='CASH', max_length=10),
|
||||
),
|
||||
migrations.AlterField(
|
||||
model_name='expensereceipt',
|
||||
name='vat_type',
|
||||
field=models.CharField(choices=[('INCLUDED', 'VAT Included'), ('EXCLUDED', 'VAT Excluded'), ('NONE', 'No VAT')], default='NONE', max_length=10),
|
||||
),
|
||||
]
|
||||
Binary file not shown.
@ -120,8 +120,8 @@ class ExpenseReceipt(models.Model):
|
||||
date = models.DateField(default=timezone.now)
|
||||
vendor = models.CharField(max_length=200)
|
||||
description = models.TextField(blank=True)
|
||||
payment_method = models.CharField(max_length=10, choices=PAYMENT_METHODS, default='CARD')
|
||||
vat_type = models.CharField(max_length=10, choices=VAT_CHOICES, default='INCLUDED')
|
||||
payment_method = models.CharField(max_length=10, choices=PAYMENT_METHODS, default='CASH')
|
||||
vat_type = models.CharField(max_length=10, choices=VAT_CHOICES, default='NONE')
|
||||
|
||||
# Financials (Stored for record keeping)
|
||||
subtotal = models.DecimalField(max_digits=12, decimal_places=2, default=0)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user