~homeworkprod/byceps

6083c64abf465c011eb6b8963e0fd7d010da0d58 — Jochen Kupperschmidt 4 years ago 4f84d87
Pre-select bank transfer as the default payment method for orders in the mark-as-paid form
1 files changed, 4 insertions(+), 1 deletions(-)

M byceps/blueprints/shop_order_admin/forms.py
M byceps/blueprints/shop_order_admin/forms.py => byceps/blueprints/shop_order_admin/forms.py +4 -1
@@ 25,4 25,7 @@ PAYMENT_METHOD_CHOICES = [


class MarkAsPaidForm(LocalizedForm):
    payment_method = RadioField('Zahlungsart', choices=PAYMENT_METHOD_CHOICES , validators=[InputRequired()])
    payment_method = RadioField('Zahlungsart',
        choices=PAYMENT_METHOD_CHOICES,
        default=PAYMENT_METHOD_CHOICES[0][0],
        validators=[InputRequired()])