@@ -69,9 +69,12 @@ |
||
| 69 | 69 | */ |
| 70 | 70 | public function header( string $uid = '' ) : ?string |
| 71 | 71 | { |
| 72 | - try { |
|
| 72 | + try |
|
| 73 | + { |
|
| 73 | 74 | return $this->client()->header( $uid ); |
| 74 | - } catch( \Exception $e ) { |
|
| 75 | + } |
|
| 76 | + catch( \Exception $e ) |
|
| 77 | + { |
|
| 75 | 78 | $this->logException( $e ); |
| 76 | 79 | } |
| 77 | 80 | |
@@ -180,19 +180,19 @@ discard block |
||
| 180 | 180 | <?php if( !empty( $orderItem->getBaseItem()->getAddress( 'payment' ) ) ) : ?> |
| 181 | 181 | <?= $this->partial( |
| 182 | 182 | /** client/html/account/history/summary/address |
| 183 | - * Location of the address partial template for the account history component |
|
| 184 | - * |
|
| 185 | - * To configure an alternative template for the address partial, you |
|
| 186 | - * have to configure its path relative to the template directory |
|
| 187 | - * (usually client/html/templates/). It's then used to display the |
|
| 188 | - * payment or delivery address block in the account history component. |
|
| 189 | - * |
|
| 190 | - * @param string Relative path to the address partial |
|
| 191 | - * @since 2017.01 |
|
| 192 | - * @category Developer |
|
| 193 | - * @see client/html/account/history/summary/detail |
|
| 194 | - * @see client/html/account/history/summary/service |
|
| 195 | - */ |
|
| 183 | + * Location of the address partial template for the account history component |
|
| 184 | + * |
|
| 185 | + * To configure an alternative template for the address partial, you |
|
| 186 | + * have to configure its path relative to the template directory |
|
| 187 | + * (usually client/html/templates/). It's then used to display the |
|
| 188 | + * payment or delivery address block in the account history component. |
|
| 189 | + * |
|
| 190 | + * @param string Relative path to the address partial |
|
| 191 | + * @since 2017.01 |
|
| 192 | + * @category Developer |
|
| 193 | + * @see client/html/account/history/summary/detail |
|
| 194 | + * @see client/html/account/history/summary/service |
|
| 195 | + */ |
|
| 196 | 196 | $this->config( 'client/html/account/history/summary/address', 'common/summary/address' ), |
| 197 | 197 | array( 'addresses' => $orderItem->getBaseItem()->getAddress( 'payment' ), 'type' => 'payment' ) |
| 198 | 198 | ) ?> |
@@ -229,19 +229,19 @@ discard block |
||
| 229 | 229 | <?php if( !empty( $orderItem->getBaseItem()->getService( 'delivery' ) ) ) : ?> |
| 230 | 230 | <?= $this->partial( |
| 231 | 231 | /** client/html/account/history/summary/service |
| 232 | - * Location of the service partial template for the account history component |
|
| 233 | - * |
|
| 234 | - * To configure an alternative template for the service partial, you |
|
| 235 | - * have to configure its path relative to the template directory |
|
| 236 | - * (usually client/html/templates/). It's then used to display the |
|
| 237 | - * payment or delivery service block in the account history component |
|
| 238 | - * |
|
| 239 | - * @param string Relative path to the service partial |
|
| 240 | - * @since 2017.01 |
|
| 241 | - * @category Developer |
|
| 242 | - * @see client/html/account/history/summary/address |
|
| 243 | - * @see client/html/account/history/summary/detail |
|
| 244 | - */ |
|
| 232 | + * Location of the service partial template for the account history component |
|
| 233 | + * |
|
| 234 | + * To configure an alternative template for the service partial, you |
|
| 235 | + * have to configure its path relative to the template directory |
|
| 236 | + * (usually client/html/templates/). It's then used to display the |
|
| 237 | + * payment or delivery service block in the account history component |
|
| 238 | + * |
|
| 239 | + * @param string Relative path to the service partial |
|
| 240 | + * @since 2017.01 |
|
| 241 | + * @category Developer |
|
| 242 | + * @see client/html/account/history/summary/address |
|
| 243 | + * @see client/html/account/history/summary/detail |
|
| 244 | + */ |
|
| 245 | 245 | $this->config( 'client/html/account/history/summary/service', 'common/summary/service' ), |
| 246 | 246 | array( 'service' => $orderItem->getBaseItem()->getService( 'delivery' ), 'type' => 'delivery' ) |
| 247 | 247 | ) ?> |
@@ -304,19 +304,19 @@ discard block |
||
| 304 | 304 | <div class="basket col-sm-12"> |
| 305 | 305 | <?= $this->partial( |
| 306 | 306 | /** client/html/account/history/summary/detail |
| 307 | - * Location of the detail partial template for the account history component |
|
| 308 | - * |
|
| 309 | - * To configure an alternative template for the detail partial, you |
|
| 310 | - * have to configure its path relative to the template directory |
|
| 311 | - * (usually client/html/templates/). It's then used to display the |
|
| 312 | - * product detail block in the account history component. |
|
| 313 | - * |
|
| 314 | - * @param string Relative path to the detail partial |
|
| 315 | - * @since 2017.01 |
|
| 316 | - * @category Developer |
|
| 317 | - * @see client/html/account/history/summary/address |
|
| 318 | - * @see client/html/account/history/summary/service |
|
| 319 | - */ |
|
| 307 | + * Location of the detail partial template for the account history component |
|
| 308 | + * |
|
| 309 | + * To configure an alternative template for the detail partial, you |
|
| 310 | + * have to configure its path relative to the template directory |
|
| 311 | + * (usually client/html/templates/). It's then used to display the |
|
| 312 | + * product detail block in the account history component. |
|
| 313 | + * |
|
| 314 | + * @param string Relative path to the detail partial |
|
| 315 | + * @since 2017.01 |
|
| 316 | + * @category Developer |
|
| 317 | + * @see client/html/account/history/summary/address |
|
| 318 | + * @see client/html/account/history/summary/service |
|
| 319 | + */ |
|
| 320 | 320 | $this->config( 'client/html/account/history/summary/detail', 'common/summary/detail' ), |
| 321 | 321 | array( |
| 322 | 322 | 'summaryBasket' => $orderItem->getBaseItem(), |