From 2ba6fa0ddad87798ece1270c552752a955ce2f58 Mon Sep 17 00:00:00 2001 From: James Cole Date: Thu, 31 May 2018 21:13:07 +0200 Subject: [PATCH] Add description to debug logging. #1443 --- app/Support/Import/Routine/File/ImportableConverter.php | 3 +++ 1 file changed, 3 insertions(+) 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 [