Skip to content

Firefly III: a personal finances manager

Add description to debug logging. #1443

James Cole2ba6fa0ddad8
diff --git a/app/Support/Import/Routine/File/ImportableConverter.php b/app/Support/Import/Routine/File/ImportableConverter.php
index 845fd63ee8..557c07648b 100644
--- a/app/Support/Import/Routine/File/ImportableConverter.php
+++ b/app/Support/Import/Routine/File/ImportableConverter.php
@@ -130,6 +130,7 @@ class ImportableConverter
*/
private function convertSingle(ImportTransaction $importable): array
{
+ Log::debug(sprintf('Description is: "%s"', $importable->description));
$amount = $importable->calculateAmount();
$foreignAmount = $importable->calculateForeignAmount();
if ('' === $amount) {
@@ -208,6 +209,8 @@ class ImportableConverter
$date = new Carbon;
}
+
+
$dateStr = $date->format('Y-m-d');
return [