remotes/origin/PR-39
PekopT 9 years ago
parent 95f50303c3
commit 58814a5454
  1. 4
      wallets/signals.py

@ -65,7 +65,7 @@ def reserve_stages(sender, instance, created, **kwargs):
stage.save()
inv_history = InvoiceHistory()
inv_history.comment = 'Резервирование средств за этапы ' + ' , '.join(stages_names) + ' заказа' + str(order)
inv_history.comment = 'Резервирование средств за этап(ы) ' + ' , '.join(stages_names) + ' заказа ' + str(order)
inv_history.sum = instance.sum
inv_history.user = instance.customer
inv_history.type = "history"
@ -89,7 +89,7 @@ def reserve_stages_from_score(sender, instance, created, **kwargs):
stage.save()
inv_history = InvoiceHistory()
inv_history.comment = 'Резервирование средств за этапы ' + ' , '.join(stages_names) + ' заказа' + str(order)
inv_history.comment = 'Резервирование средств за этап(ы) ' + ' , '.join(stages_names) + ' заказа ' + str(order)
inv_history.sum = -instance.sum
inv_history.user = instance.customer
inv_history.type = "score"

Loading…
Cancel
Save