From 36a5cdcb71a9dcc8070ce2ea7fccc83b0787b39a Mon Sep 17 00:00:00 2001 From: "holger.trampe" Date: Mon, 4 Jan 2021 10:47:02 +0100 Subject: [PATCH] Mehrwertsteuer --- dasettings/views.py | 12 ++++++------ users/views.py | 4 ++-- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/dasettings/views.py b/dasettings/views.py index ac50212..00dd38d 100644 --- a/dasettings/views.py +++ b/dasettings/views.py @@ -1682,7 +1682,7 @@ class BillPlanUpdate(UpdateView): 'Accept': 'application/json', } - plan = int(form.cleaned_data['paymentplan']) + plan = 1 start_date = month start_date_string = month.strftime("%d.%m.%Y") @@ -1720,8 +1720,8 @@ class BillPlanUpdate(UpdateView): "unitPrice" : { "currency" : "EUR", - "netAmount" : 21.00 * int(form.cleaned_data['paymentplan']), - "taxRatePercentage" : 16 + "netAmount" : 21.00, + "taxRatePercentage" : 19 }, }, { @@ -1733,15 +1733,15 @@ class BillPlanUpdate(UpdateView): "unitPrice" : { "currency" : "EUR", - "netAmount" : 3 * int(form.cleaned_data['paymentplan']), - "taxRatePercentage" : 16 + "netAmount" : 3, + "taxRatePercentage" : 19 }, } ], "taxConditions": { "taxType": "net" }, - #"paymentConditions": {da + #"paymentConditions": { # "paymentTermLabel": "Bitte zahlen Sie innerhalb von 14 Tagen.", # "paymentTermDuration": 14, #}, diff --git a/users/views.py b/users/views.py index 3914d8f..fdce121 100644 --- a/users/views.py +++ b/users/views.py @@ -1504,7 +1504,7 @@ def cronactionsbill(request, code): { "currency" : "EUR", "netAmount" : 21.00, - "taxRatePercentage" : 16 + "taxRatePercentage" : 19 }, }, { @@ -1517,7 +1517,7 @@ def cronactionsbill(request, code): { "currency" : "EUR", "netAmount" : 3, - "taxRatePercentage" : 16 + "taxRatePercentage" : 19 }, } ],