Small fixes

This commit is contained in:
Skia 2016-08-29 01:31:58 +02:00
parent b2f13e935e
commit e61b5e7690
2 changed files with 2 additions and 1 deletions

View File

@ -108,6 +108,7 @@ $('.select_date').datepicker({
$(document).keydown(function (e) {
if ($(e.target).is('input')) { return }
if ($(e.target).is('textarea')) { return }
if ($(e.target).is('select')) { return }
if (e.keyCode == 83) {
$("#search").focus();
return false;

View File

@ -672,7 +672,7 @@ def check_accounts():
try:
cust = Customer.objects.filter(user__id=r['id_utilisateur']).first()
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(
label="Ajustement migration base de donnée",
counter=mde,