@@ -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 | ]; |
@@ -44,19 +44,19 @@ discard block |
||
44 | 44 | </a> |
45 | 45 | </li> |
46 | 46 | <li> |
47 | - <?php $url = $this->link( $key, ['f_sort' => '-ctime'] + $params, ) ?> |
|
47 | + <?php $url = $this->link( $key, ['f_sort' => '-ctime'] + $params,) ?> |
|
48 | 48 | <a class="option-ctime <?= ( $sort === '-ctime' ? 'active' : '' ) ?>" href="<?= $enc->attr( $url ) ?>"> |
49 | 49 | <?= $enc->html( $this->translate( 'client', 'Latest' ), $enc::TRUST ) ?> |
50 | 50 | </a> |
51 | 51 | </li> |
52 | 52 | <li> |
53 | - <?php $url = $this->link( $key, ['f_sort' => $nameDir . 'name'] + $params, ) ?> |
|
53 | + <?php $url = $this->link( $key, ['f_sort' => $nameDir . 'name'] + $params,) ?> |
|
54 | 54 | <a class="option-name <?= ( $sortname === 'name' ? 'active' : '' ) ?>" href="<?= $enc->attr( $url ) ?>"> |
55 | 55 | <?= $enc->html( $nameSort, $enc::TRUST ) ?> |
56 | 56 | </a> |
57 | 57 | </li> |
58 | 58 | <li> |
59 | - <?php $url = $this->link( $key, ['f_sort' => $priceDir . 'price'] + $params, ) ?> |
|
59 | + <?php $url = $this->link( $key, ['f_sort' => $priceDir . 'price'] + $params,) ?> |
|
60 | 60 | <a class="option-price <?= ( $sortname === 'price' ? 'active' : '' ) ?>" href="<?= $enc->attr( $url ) ?>"> |
61 | 61 | <?= $enc->html( $priceSort, $enc::TRUST ) ?> |
62 | 62 | </a> |
@@ -67,24 +67,24 @@ discard block |
||
67 | 67 | <?php if( $this->last > 1 ) : ?> |
68 | 68 | <div class="browser"> |
69 | 69 | |
70 | - <?php $url = $this->link( $key, ['l_page' => 1] + $params, ) ?> |
|
70 | + <?php $url = $this->link( $key, ['l_page' => 1] + $params,) ?> |
|
71 | 71 | <a class="first" href="<?= $enc->attr( $url ) ?>"> |
72 | 72 | <?= $enc->html( $this->translate( 'client', '◀◀' ), $enc::TRUST ) ?> |
73 | 73 | </a> |
74 | 74 | |
75 | - <?php $url = $this->link( $key, ['l_page' => $this->prev] + $params, ) ?> |
|
75 | + <?php $url = $this->link( $key, ['l_page' => $this->prev] + $params,) ?> |
|
76 | 76 | <a class="prev" href="<?= $enc->attr( $url ) ?>" rel="prev"> |
77 | 77 | <?= $enc->html( $this->translate( 'client', '◀' ), $enc::TRUST ) ?> |
78 | 78 | </a> |
79 | 79 | |
80 | 80 | <span><?= $enc->html( sprintf( $this->translate( 'client', 'Page %1$d of %2$d' ), $this->current, $this->last ) ) ?></span> |
81 | 81 | |
82 | - <?php $url = $this->link( $key, ['l_page' => $this->next] + $params, ) ?> |
|
82 | + <?php $url = $this->link( $key, ['l_page' => $this->next] + $params,) ?> |
|
83 | 83 | <a class="next" href="<?= $enc->attr( $url ) ?>" rel="next"> |
84 | 84 | <?= $enc->html( $this->translate( 'client', '▶' ), $enc::TRUST ) ?> |
85 | 85 | </a> |
86 | 86 | |
87 | - <?php $url = $this->link( $key, ['l_page' => $this->last] + $params, ) ?> |
|
87 | + <?php $url = $this->link( $key, ['l_page' => $this->last] + $params,) ?> |
|
88 | 88 | <a class="last" href="<?= $enc->attr( $url ) ?>"> |
89 | 89 | <?= $enc->html( $this->translate( 'client', '▶▶' ), $enc::TRUST ) ?> |
90 | 90 | </a> |