Add the invoice template

This commit is contained in:
amalelshihaby 2021-08-04 12:03:55 +02:00
commit 5bb0c4cdda
24 changed files with 461 additions and 95 deletions

View file

@ -0,0 +1,24 @@
# Generated by Django 3.2.4 on 2021-08-03 21:18
from django.db import migrations, models
import django.db.models.deletion
class Migration(migrations.Migration):
dependencies = [
('uncloud_pay', '0024_auto_20210730_1441'),
]
operations = [
migrations.AlterField(
model_name='billrecord',
name='bill',
field=models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, related_name='bill_records', to='uncloud_pay.bill'),
),
migrations.AlterField(
model_name='payment',
name='type',
field=models.CharField(choices=[('withdraw', 'Withdraw Money'), ('deposit', 'Deposit Money')], default='deposit', max_length=256),
),
]

View file

@ -0,0 +1,17 @@
# Generated by Django 3.2.4 on 2021-08-03 21:40
from django.db import migrations
class Migration(migrations.Migration):
dependencies = [
('uncloud_pay', '0025_auto_20210803_2118'),
]
operations = [
migrations.RemoveField(
model_name='order',
name='description',
),
]