1
0
Fork 0
mirror of https://github.com/Findus23/invoices.git synced 2024-09-19 15:13:47 +02:00

fix default for bank fee

This commit is contained in:
Lukas Winkler 2018-05-10 18:45:10 +02:00
parent b437952550
commit b1c933e973
No known key found for this signature in database
GPG key ID: 94AFBE7C2656A5B5

View file

@ -32,7 +32,7 @@ def create_invoice():
"per_hour": ask("per hour", "money", default=config["default_hourly_rate"])
}
invoice.update(hourly)
invoice["bank_fee"] = ask("bank_fee", "boolean")
invoice["bank_fee"] = ask("bank_fee", "boolean", default=False)
directory = invoice_dir + "/" + str(invoice["id"])
if os.path.exists(directory):
if not ask("overwrite", "boolean"):