Finetune user feedback during import and add a tag to collect transactions.

This commit is contained in:
James Cole
2016-08-14 11:31:09 +02:00
parent 70b63e1736
commit 98c4ac955a
8 changed files with 75 additions and 14 deletions

View File

@@ -68,7 +68,11 @@ class ImportProcedure
// and run store routine:
$result = $storage->store();
$job->status = 'import_complete';
// grab import tag:
$status = $job->extended_status;
$status['importTag'] = $storage->importTag->id;
$job->extended_status = $status;
$job->status = 'import_complete';
$job->save();
return $result;