add: add expence api
This commit is contained in:
18
core/apps/finance/migrations/0012_expence_file.py
Normal file
18
core/apps/finance/migrations/0012_expence_file.py
Normal file
@@ -0,0 +1,18 @@
|
||||
# Generated by Django 5.2.4 on 2025-09-09 14:52
|
||||
|
||||
from django.db import migrations, models
|
||||
|
||||
|
||||
class Migration(migrations.Migration):
|
||||
|
||||
dependencies = [
|
||||
('finance', '0011_paymenttype_total_usd_paymenttype_total_uzs_and_more'),
|
||||
]
|
||||
|
||||
operations = [
|
||||
migrations.AddField(
|
||||
model_name='expence',
|
||||
name='file',
|
||||
field=models.FileField(blank=True, null=True, unique='finance/expence/files/', upload_to=''),
|
||||
),
|
||||
]
|
||||
18
core/apps/finance/migrations/0013_alter_expence_file.py
Normal file
18
core/apps/finance/migrations/0013_alter_expence_file.py
Normal file
@@ -0,0 +1,18 @@
|
||||
# Generated by Django 5.2.4 on 2025-09-09 15:00
|
||||
|
||||
from django.db import migrations, models
|
||||
|
||||
|
||||
class Migration(migrations.Migration):
|
||||
|
||||
dependencies = [
|
||||
('finance', '0012_expence_file'),
|
||||
]
|
||||
|
||||
operations = [
|
||||
migrations.AlterField(
|
||||
model_name='expence',
|
||||
name='file',
|
||||
field=models.FileField(blank=True, null=True, upload_to='finance/expence/files/'),
|
||||
),
|
||||
]
|
||||
@@ -0,0 +1,18 @@
|
||||
# Generated by Django 5.2.4 on 2025-09-09 15:05
|
||||
|
||||
from django.db import migrations, models
|
||||
|
||||
|
||||
class Migration(migrations.Migration):
|
||||
|
||||
dependencies = [
|
||||
('finance', '0013_alter_expence_file'),
|
||||
]
|
||||
|
||||
operations = [
|
||||
migrations.AlterField(
|
||||
model_name='expence',
|
||||
name='exchange_rate',
|
||||
field=models.PositiveBigIntegerField(blank=True, default=0, null=True),
|
||||
),
|
||||
]
|
||||
Reference in New Issue
Block a user