mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-11-20 00:20:03 +00:00
Make sure each source of transactions stores where it's from.
This commit is contained in:
@@ -201,6 +201,12 @@ class MappingConverger
|
||||
Log::debug('Column skipped because value is empty.');
|
||||
}
|
||||
}
|
||||
// add a special column value for the "source"
|
||||
$columnValue = new ColumnValue;
|
||||
$columnValue->setValue(sprintf('csv-import-v%s', config('firefly.version')));
|
||||
$columnValue->setMappedValue(0);
|
||||
$columnValue->setRole('original-source');
|
||||
$return[] = $columnValue;
|
||||
|
||||
return $return;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user