@@ -80,11 +80,11 @@ |
||
80 | 80 | case 'VZ': // Verzamelbetaling |
81 | 81 | case 'IC': // Incasso |
82 | 82 | case 'DV': // Divers |
83 | - $this->removeIBANIngDescription(); // Remove "IBAN:", because it is already at "Tegenrekening" |
|
84 | - $this->removeNameIngDescription(); // Remove "Naam:", because it is already at "Naam/ Omschrijving" |
|
85 | - $this->removeIngDescription(); // Remove "Omschrijving", but not the value from description |
|
83 | + $this->removeIBANIngDescription(); // Remove "IBAN:", because it is already at "Tegenrekening" |
|
84 | + $this->removeNameIngDescription(); // Remove "Naam:", because it is already at "Naam/ Omschrijving" |
|
85 | + $this->removeIngDescription(); // Remove "Omschrijving", but not the value from description |
|
86 | 86 | $this->moveValutadatumDescription(); // Move "Valutadatum" from description to new column |
87 | - $this->MoveSavingsAccount(); // Move savings account number and name |
|
87 | + $this->MoveSavingsAccount(); // Move savings account number and name |
|
88 | 88 | break; |
89 | 89 | case 'BA': // Betaalautomaat |
90 | 90 | $this->moveValutadatumDescription(); // Move "Valutadatum" from description to new column |
@@ -131,7 +131,7 @@ |
||
131 | 131 | throw new ImportException('Could not load the users currency preference.'); |
132 | 132 | } |
133 | 133 | $code = $response->getPreference()->data ?? 'EUR'; |
134 | - $currencyRequest = new GetCurrencyRequest($uri,$token); |
|
134 | + $currencyRequest = new GetCurrencyRequest($uri, $token); |
|
135 | 135 | $currencyRequest->setCode($code); |
136 | 136 | try { |
137 | 137 | /** @var GetCurrencyResponse $result */ |
@@ -35,8 +35,8 @@ |
||
35 | 35 | */ |
36 | 36 | private function haveAccess(): bool |
37 | 37 | { |
38 | - $uri = (string)config('csv_importer.uri'); |
|
39 | - $token = (string)config('csv_importer.access_token'); |
|
38 | + $uri = (string)config('csv_importer.uri'); |
|
39 | + $token = (string)config('csv_importer.access_token'); |
|
40 | 40 | $request = new SystemInformationRequest($uri, $token); |
41 | 41 | try { |
42 | 42 | $request->get(); |
@@ -40,8 +40,8 @@ |
||
40 | 40 | public function doValidate(): JsonResponse |
41 | 41 | { |
42 | 42 | $response = ['result' => 'OK', 'message' => null]; |
43 | - $uri = (string)config('csv_importer.uri'); |
|
44 | - $token = (string)config('csv_importer.access_token'); |
|
43 | + $uri = (string)config('csv_importer.uri'); |
|
44 | + $token = (string)config('csv_importer.access_token'); |
|
45 | 45 | $request = new SystemInformationRequest($uri, $token); |
46 | 46 | try { |
47 | 47 | $result = $request->get(); |