Mehrwertsteuer

This commit is contained in:
holger.trampe 2021-01-04 10:47:02 +01:00
parent 0e29addeee
commit 36a5cdcb71
2 changed files with 8 additions and 8 deletions

View File

@ -1682,7 +1682,7 @@ class BillPlanUpdate(UpdateView):
'Accept': 'application/json', 'Accept': 'application/json',
} }
plan = int(form.cleaned_data['paymentplan']) plan = 1
start_date = month start_date = month
start_date_string = month.strftime("%d.%m.%Y") start_date_string = month.strftime("%d.%m.%Y")
@ -1720,8 +1720,8 @@ class BillPlanUpdate(UpdateView):
"unitPrice" : "unitPrice" :
{ {
"currency" : "EUR", "currency" : "EUR",
"netAmount" : 21.00 * int(form.cleaned_data['paymentplan']), "netAmount" : 21.00,
"taxRatePercentage" : 16 "taxRatePercentage" : 19
}, },
}, },
{ {
@ -1733,15 +1733,15 @@ class BillPlanUpdate(UpdateView):
"unitPrice" : "unitPrice" :
{ {
"currency" : "EUR", "currency" : "EUR",
"netAmount" : 3 * int(form.cleaned_data['paymentplan']), "netAmount" : 3,
"taxRatePercentage" : 16 "taxRatePercentage" : 19
}, },
} }
], ],
"taxConditions": { "taxConditions": {
"taxType": "net" "taxType": "net"
}, },
#"paymentConditions": {da #"paymentConditions": {
# "paymentTermLabel": "Bitte zahlen Sie innerhalb von 14 Tagen.", # "paymentTermLabel": "Bitte zahlen Sie innerhalb von 14 Tagen.",
# "paymentTermDuration": 14, # "paymentTermDuration": 14,
#}, #},

View File

@ -1504,7 +1504,7 @@ def cronactionsbill(request, code):
{ {
"currency" : "EUR", "currency" : "EUR",
"netAmount" : 21.00, "netAmount" : 21.00,
"taxRatePercentage" : 16 "taxRatePercentage" : 19
}, },
}, },
{ {
@ -1517,7 +1517,7 @@ def cronactionsbill(request, code):
{ {
"currency" : "EUR", "currency" : "EUR",
"netAmount" : 3, "netAmount" : 3,
"taxRatePercentage" : 16 "taxRatePercentage" : 19
}, },
} }
], ],