| @@ -19,7 +19,7 @@ discard block | ||
| 19 | 19 | $this->pdf->setFont( 'dejavusans', '', 10 ); | 
| 20 | 20 | |
| 21 | 21 | $vmargin = [ | 
| 22 | - 'h1' => [ // HTML tag | |
| 22 | + 'h1' => [// HTML tag | |
| 23 | 23 | 0 => ['h' => 1.5, 'n' => 0], // space before = h * n | 
| 24 | 24 | 1 => ['h' => 1.5, 'n' => 3] // space after = h * n | 
| 25 | 25 | ], | 
| @@ -92,14 +92,14 @@ discard block | ||
| 92 | 92 | $data = [ | 
| 93 | 93 | 'BCD', // required | 
| 94 | 94 | '002', // Version 2 (required, 1=UTF-8, 2=ISO 8859-1, 3=ISO 8859-2, 4=ISO 8859-4, 5=ISO 8859-5, 6=ISO 8859-7, 7=ISO 8859-10, 8=ISO 8859-15) | 
| 95 | - 1, // UTF-8 (required) | |
| 95 | + 1, // UTF-8 (required) | |
| 96 | 96 | 'SCT', // SEPA Credit Transfer (required) | 
| 97 | - '', // BIC (optional) | |
| 98 | - '', // Name of recipient (required, name of your company) | |
| 99 | - '', // IBAN (required) | |
| 100 | - $this->summaryBasket->getPrice()->getCurrencyId() . $total, // Currency and value (required) | |
| 101 | - '', // Purpose (optional, 4 char code, https://wiki.windata.de/index.php?title=Purpose-SEPA-Codes) | |
| 102 | - '', // ISO 11649 RF Creditor Reference (optional, 35 characters structured code) | |
| 97 | + '', // BIC (optional) | |
| 98 | + '', // Name of recipient (required, name of your company) | |
| 99 | + '', // IBAN (required) | |
| 100 | + $this->summaryBasket->getPrice()->getCurrencyId() . $total, // Currency and value (required) | |
| 101 | + '', // Purpose (optional, 4 char code, https://wiki.windata.de/index.php?title=Purpose-SEPA-Codes) | |
| 102 | + '', // ISO 11649 RF Creditor Reference (optional, 35 characters structured code) | |
| 103 | 103 | $this->translate( 'controller/jobs', 'Order' ) . ' ' . $this->orderItem->getOrderNumber(), // Reference of order and other data (optional, max. 140 characters) | 
| 104 | 104 | $this->summaryBasket->getCustomerReference(), // Notice to the customer (optional, max. 70 characters) | 
| 105 | 105 | ]; | 
| @@ -155,7 +155,7 @@ | ||
| 155 | 155 | } | 
| 156 | 156 | } | 
| 157 | 157 | } | 
| 158 | -			catch( \Exception $e ) { ; } // no price available | |
| 158 | +			catch( \Exception $e ) {; } // no price available | |
| 159 | 159 | } | 
| 160 | 160 | |
| 161 | 161 | return $result; |