@@ -84,7 +84,7 @@ discard block |
||
| 84 | 84 | |
| 85 | 85 | try { |
| 86 | 86 | //Call function depending on the selected mode |
| 87 | - switch($data['mode']) { |
|
| 87 | + switch ($data['mode']) { |
|
| 88 | 88 | case 'auto': |
| 89 | 89 | $result = $this->sepaExporter->exportAuto($payment_orders); |
| 90 | 90 | break; |
@@ -113,13 +113,13 @@ discard block |
||
| 113 | 113 | $this->entityManager->flush(); |
| 114 | 114 | |
| 115 | 115 | //Return the download |
| 116 | - return $result->getDownloadResponse('export_'.date('Y-m-d_H-i-s')); |
|
| 116 | + return $result->getDownloadResponse('export_' . date('Y-m-d_H-i-s')); |
|
| 117 | 117 | |
| 118 | 118 | } catch (SEPAExportAutoModeNotPossible $exception) { |
| 119 | 119 | //Show error if auto mode is not possible |
| 120 | 120 | $this->addFlash('danger', |
| 121 | 121 | $this->translator->trans('sepa_export.error.department_missing_account') |
| 122 | - .': '.$exception->getWrongDepartment()->getName()); |
|
| 122 | + .': ' . $exception->getWrongDepartment()->getName()); |
|
| 123 | 123 | } |
| 124 | 124 | } |
| 125 | 125 | |