mirror of
https://github.com/ae-utbm/sith.git
synced 2024-12-24 08:41:14 +00:00
Sli
f63fb59cbf
* Move settings.SITH_COUNTER_PAYMENT_METHOD to counter.apps.PAYMENT_METHOD * Move student cards to an accordion on counter click * Make cash default refilling option * Disable bank selection option in refilling if CHECK are not allowed * Disable refilling with CHECK from the frontend
23 lines
605 B
Python
23 lines
605 B
Python
# Generated by Django 4.2.17 on 2024-12-15 22:21
|
|
|
|
from django.db import migrations, models
|
|
|
|
|
|
class Migration(migrations.Migration):
|
|
dependencies = [
|
|
("counter", "0026_alter_studentcard_customer"),
|
|
]
|
|
|
|
operations = [
|
|
migrations.AlterField(
|
|
model_name="refilling",
|
|
name="payment_method",
|
|
field=models.CharField(
|
|
choices=[("CHECK", "Check"), ("CASH", "Cash"), ("CARD", "Credit card")],
|
|
default="CARD",
|
|
max_length=255,
|
|
verbose_name="payment method",
|
|
),
|
|
),
|
|
]
|