Commit e61b5e76 authored by Skia's avatar Skia 🤘
Browse files

Small fixes

parent b2f13e93
Pipeline #146 failed with stage
in 2 minutes and 5 seconds
...@@ -108,6 +108,7 @@ $('.select_date').datepicker({ ...@@ -108,6 +108,7 @@ $('.select_date').datepicker({
$(document).keydown(function (e) { $(document).keydown(function (e) {
if ($(e.target).is('input')) { return } if ($(e.target).is('input')) { return }
if ($(e.target).is('textarea')) { return } if ($(e.target).is('textarea')) { return }
if ($(e.target).is('select')) { return }
if (e.keyCode == 83) { if (e.keyCode == 83) {
$("#search").focus(); $("#search").focus();
return false; return false;
......
...@@ -672,7 +672,7 @@ def check_accounts(): ...@@ -672,7 +672,7 @@ def check_accounts():
try: try:
cust = Customer.objects.filter(user__id=r['id_utilisateur']).first() cust = Customer.objects.filter(user__id=r['id_utilisateur']).first()
if int(cust.amount * 100) != r['montant_compte']: if int(cust.amount * 100) != r['montant_compte']:
print("Adding %s to %s's account" % (float(cust.amount) - (r['montant_compte']/100))) print("Adding %s to %s's account" % (float(cust.amount) - (r['montant_compte']/100), cust.user))
new = Selling( new = Selling(
label="Ajustement migration base de donnée", label="Ajustement migration base de donnée",
counter=mde, counter=mde,
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment