From 1a6bc481c67fd50f899e9a2e38566d3e29a83744 Mon Sep 17 00:00:00 2001 From: marina Date: Tue, 24 Dec 2024 11:48:41 +0300 Subject: [PATCH] =?utf8?q?ERP-268=20=D0=9F=D0=B5=D1=80=D0=B5=D0=B2=D0=BE?= =?utf8?q?=D0=B4=20=D1=81=D1=82=D1=80=D0=B0=D0=BD=D0=B8=D1=86=D1=8B=201?= =?utf8?q?=D1=81=20cron=20=D0=B2=20MVC?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- erp24/views/cron/1c.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/erp24/views/cron/1c.php b/erp24/views/cron/1c.php index 5a15b440..96131899 100644 --- a/erp24/views/cron/1c.php +++ b/erp24/views/cron/1c.php @@ -67,7 +67,8 @@ echo GridView::widget([ if (!YII_ENV_PROD) { $filePath = '/var/www/erp24/api2/json/upload_request_id_' . $task->request_id ; } - return $filePath; + return Html::a($task->request_id, $filePath, ['target' => '_blank']); +// $filePath; // return Html::a($task->request_id, "https://api2." . (YII_ENV_PROD ? 'erp.erp-flowers.ru' : 'dev.erp-flowers.ru') // . "/json/upload_request_id_{$task->request_id}", ['target' => '_blank']); } -- 2.39.5