add postage to notification + noti_history

if it's a letter notification, postage must equal "first" or "second",
else it must equal null
This commit is contained in:
Leo Hemsted
2018-09-19 10:49:11 +01:00
parent 645da3f33d
commit 918e4b390f
6 changed files with 62 additions and 25 deletions

View File

@@ -87,7 +87,7 @@ def process_job(job_id):
if not service.active:
job.job_status = JOB_STATUS_CANCELLED
dao_update_job(job)
current_app.logger.warn(
current_app.logger.warning(
"Job {} has been cancelled, service {} is inactive".format(job_id, service.id))
return