mirror of
				https://github.com/firefly-iii/firefly-iii.git
				synced 2025-10-31 10:47:00 +00:00 
			
		
		
		
	Make sure each source of transactions stores where it's from.
This commit is contained in:
		| @@ -182,10 +182,10 @@ class ImportTransaction | ||||
|         } | ||||
|  | ||||
|         $meta = ['sepa-ct-id', 'sepa-ct-op', 'sepa-db', 'sepa-cc', 'sepa-country', 'sepa-batch-id', 'sepa-ep', 'sepa-ci', 'internal-reference', 'date-interest', | ||||
|                  'date-invoice', 'date-book', 'date-payment', 'date-process', 'date-due',]; | ||||
|                  'date-invoice', 'date-book', 'date-payment', 'date-process', 'date-due','original-source']; | ||||
|         Log::debug(sprintf('Now going to check role "%s".', $role)); | ||||
|         if (\in_array($role, $meta, true)) { | ||||
|             Log::debug(sprintf('Role "%s" is in allowed meta roles, so store its value %s.', $role, $columnValue->getValue())); | ||||
|             Log::debug(sprintf('Role "%s" is in allowed meta roles, so store its value "%s".', $role, $columnValue->getValue())); | ||||
|             $this->meta[$role] = $columnValue->getValue(); | ||||
|  | ||||
|             return; | ||||
|   | ||||
		Reference in New Issue
	
	Block a user