@@ -86,7 +86,8 @@ discard block |
||
86 | 86 | <?php if( $logos = $this->get( 'itemData/locale.site.logo' ) ) : ?> |
87 | 87 | <img class="item-preview" |
88 | 88 | src="<?= $enc->attr( $this->content( end( $logos ) ) ) ?>"> |
89 | - <?php else : ?> |
|
89 | + <?php else { |
|
90 | + : ?> |
|
90 | 91 | <p class="item-preview"> |
91 | 92 | <?= $enc->html( $this->translate( 'admin', 'Upload shop logo' ) ) ?> |
92 | 93 | </p> |
@@ -100,7 +101,9 @@ discard block |
||
100 | 101 | <div class="box"> |
101 | 102 | |
102 | 103 | <div class="form-group media-preview"> |
103 | - <input class="fileupload" type="file" tabindex="<?= $this->get( 'tabindex', 1 ); ?>" |
|
104 | + <input class="fileupload" type="file" tabindex="<?= $this->get( 'tabindex', 1 ); |
|
105 | +} |
|
106 | +?>" |
|
104 | 107 | name="media[icon]"> |
105 | 108 | <?php if( $icon = $this->get( 'itemData/locale.site.icon' ) ) : ?> |
106 | 109 | <img class="item-preview" |
@@ -254,8 +254,7 @@ |
||
254 | 254 | if( $order = $manager->search( $filter, ['order/base', 'order/base/service'] )->first() ) { |
255 | 255 | $manager->save( $provider->refund( $order, $price ) ); |
256 | 256 | } |
257 | - } |
|
258 | - else |
|
257 | + } else |
|
259 | 258 | { |
260 | 259 | $txItem->setConfigValue( 'info', $context->translate( 'admin', 'Manual transfer' ) ); |
261 | 260 | } |