lingo: add Regie.has_invoice_for_payment boolean field (#76853)
This commit is contained in:
parent
78c036b7a2
commit
c092e19c77
|
@ -0,0 +1,19 @@
|
|||
# Generated by Django 3.2.18 on 2023-04-20 23:11
|
||||
|
||||
from django.db import migrations, models
|
||||
|
||||
|
||||
class Migration(migrations.Migration):
|
||||
dependencies = [
|
||||
('lingo', '0056_increase_extra_css_class'),
|
||||
]
|
||||
|
||||
operations = [
|
||||
migrations.AddField(
|
||||
model_name='regie',
|
||||
name='has_invoice_for_payment',
|
||||
field=models.BooleanField(
|
||||
default=False, verbose_name='The invoice endpoint handle the for-payment parameter'
|
||||
),
|
||||
),
|
||||
]
|
|
@ -319,6 +319,9 @@ class Regie(models.Model):
|
|||
can_pay_only_one_basket_item = models.BooleanField(
|
||||
default=True, verbose_name=_('Basket items must be paid individually')
|
||||
)
|
||||
has_invoice_for_payment = models.BooleanField(
|
||||
default=False, verbose_name=_('The invoice endpoint handle the for-payment parameter')
|
||||
)
|
||||
|
||||
def is_remote(self):
|
||||
return self.webservice_url != ''
|
||||
|
|
Loading…
Reference in New Issue