From: marina Date: Tue, 24 Dec 2024 08:48:41 +0000 (+0300) Subject: ERP-268 Перевод страницы 1с cron в MVC X-Git-Tag: 1.7~106^2~7 X-Git-Url: https://gitweb.erp-flowers.ru/?a=commitdiff_plain;h=1a6bc481c67fd50f899e9a2e38566d3e29a83744;p=erp24_rep%2Fyii-erp24%2F.git ERP-268 Перевод страницы 1с cron в MVC --- 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']); }