@@ -15,7 +15,7 @@ |
||
| 15 | 15 | ignore_user_abort(true); |
| 16 | 16 | set_time_limit(0); |
| 17 | 17 | Model::$logging = false; |
| 18 | - $reExchange = Exchange1c\Exchange::get((int)$_GET['item_pk']); |
|
| 18 | + $reExchange = Exchange1c\Exchange::get((int) $_GET['item_pk']); |
|
| 19 | 19 | |
| 20 | 20 | $exchange = new \Exchange1c\Exchange(); |
| 21 | 21 | $exchange->type = $reExchange->type; |
@@ -216,7 +216,7 @@ |
||
| 216 | 216 | |
| 217 | 217 | $image = self::imgToResource($imagePath); |
| 218 | 218 | $watermark = self::imgToResource($watermarkPath); |
| 219 | - if(!$image || !$watermark || !$image['res'] || !$watermark['res']){ |
|
| 219 | + if (!$image || !$watermark || !$image['res'] || !$watermark['res']) { |
|
| 220 | 220 | return false; |
| 221 | 221 | } |
| 222 | 222 | |
@@ -144,7 +144,7 @@ |
||
| 144 | 144 | } |
| 145 | 145 | |
| 146 | 146 | $result->content['rows'] = ob_get_contents(); |
| 147 | - $result->content['summary'] = $dataManager->getSummary($request['params'], $request['model']); |
|
| 147 | + $result->content['summary'] = $dataManager->getSummary($request['params'], $request['model']); |
|
| 148 | 148 | ob_clean(); |
| 149 | 149 | |
| 150 | 150 | $result->content['pages'] = ''; |
@@ -94,6 +94,6 @@ |
||
| 94 | 94 | if ($tariff == 139) { |
| 95 | 95 | return ['online', 'courier']; |
| 96 | 96 | } |
| 97 | - return ['online','inPickPoint']; |
|
| 97 | + return ['online', 'inPickPoint']; |
|
| 98 | 98 | } |
| 99 | 99 | } |
| 100 | 100 | \ No newline at end of file |