@@ -261,20 +261,20 @@ |
||
| 261 | 261 | |
| 262 | 262 | <?= $this->partial( |
| 263 | 263 | /** client/html/common/partials/price |
| 264 | - * Relative path to the price partial template file |
|
| 265 | - * |
|
| 266 | - * Partials are templates which are reused in other templates and generate |
|
| 267 | - * reoccuring blocks filled with data from the assigned values. The price |
|
| 268 | - * partial creates an HTML block for a list of price items. |
|
| 269 | - * |
|
| 270 | - * The partial template files are usually stored in the templates/partials/ folder |
|
| 271 | - * of the core or the extensions. The configured path to the partial file must |
|
| 272 | - * be relative to the templates/ folder, e.g. "partials/price-standard.php". |
|
| 273 | - * |
|
| 274 | - * @param string Relative path to the template file |
|
| 275 | - * @since 2015.04 |
|
| 276 | - * @category Developer |
|
| 277 | - */ |
|
| 264 | + * Relative path to the price partial template file |
|
| 265 | + * |
|
| 266 | + * Partials are templates which are reused in other templates and generate |
|
| 267 | + * reoccuring blocks filled with data from the assigned values. The price |
|
| 268 | + * partial creates an HTML block for a list of price items. |
|
| 269 | + * |
|
| 270 | + * The partial template files are usually stored in the templates/partials/ folder |
|
| 271 | + * of the core or the extensions. The configured path to the partial file must |
|
| 272 | + * be relative to the templates/ folder, e.g. "partials/price-standard.php". |
|
| 273 | + * |
|
| 274 | + * @param string Relative path to the template file |
|
| 275 | + * @since 2015.04 |
|
| 276 | + * @category Developer |
|
| 277 | + */ |
|
| 278 | 278 | $this->config( 'client/html/common/partials/price', 'common/partials/price-standard' ), |
| 279 | 279 | ['prices' => $productItem->getRefItems( 'price', null, 'default' )] |
| 280 | 280 | ) ?> |
@@ -24,7 +24,7 @@ discard block |
||
| 24 | 24 | $this->pdf->setFont( 'dejavusans', '', 10 ); |
| 25 | 25 | |
| 26 | 26 | $vmargin = [ |
| 27 | - 'h1' => [ // HTML tag |
|
| 27 | + 'h1' => [// HTML tag |
|
| 28 | 28 | 0 => ['h' => 1.5, 'n' => 0], // space before = h * n |
| 29 | 29 | 1 => ['h' => 1.5, 'n' => 3] // space after = h * n |
| 30 | 30 | ], |
@@ -97,14 +97,14 @@ discard block |
||
| 97 | 97 | $data = [ |
| 98 | 98 | 'BCD', // required |
| 99 | 99 | '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) |
| 100 | - 1, // UTF-8 (required) |
|
| 100 | + 1, // UTF-8 (required) |
|
| 101 | 101 | 'SCT', // SEPA Credit Transfer (required) |
| 102 | - '', // BIC (optional) |
|
| 103 | - '', // Name of recipient (required, name of your company) |
|
| 104 | - '', // IBAN (required) |
|
| 105 | - $this->summaryBasket->getPrice()->getCurrencyId() . $total, // Currency and value (required) |
|
| 106 | - '', // Purpose (optional, 4 char code, https://wiki.windata.de/index.php?title=Purpose-SEPA-Codes) |
|
| 107 | - '', // ISO 11649 RF Creditor Reference (optional, 35 characters structured code) |
|
| 102 | + '', // BIC (optional) |
|
| 103 | + '', // Name of recipient (required, name of your company) |
|
| 104 | + '', // IBAN (required) |
|
| 105 | + $this->summaryBasket->getPrice()->getCurrencyId() . $total, // Currency and value (required) |
|
| 106 | + '', // Purpose (optional, 4 char code, https://wiki.windata.de/index.php?title=Purpose-SEPA-Codes) |
|
| 107 | + '', // ISO 11649 RF Creditor Reference (optional, 35 characters structured code) |
|
| 108 | 108 | $this->translate( 'client', 'Order' ) . ' ' . $this->extOrderItem->getOrderNumber(), // Reference of order and other data (optional, max. 140 characters) |
| 109 | 109 | $this->extOrderBaseItem->getCustomerReference(), // Notice to the customer (optional, max. 70 characters) |
| 110 | 110 | ]; |