From 7505cef80229719618319d06e2e737c5c42a5757 Mon Sep 17 00:00:00 2001 From: Sevan Nerse Date: Fri, 23 Apr 2021 15:23:22 +0300 Subject: [PATCH] routes for print/export of reports fixed --- app/Abstracts/Report.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Abstracts/Report.php b/app/Abstracts/Report.php index b1aafa3d0..8fc144afb 100644 --- a/app/Abstracts/Report.php +++ b/app/Abstracts/Report.php @@ -410,7 +410,7 @@ abstract class Report public function getUrl($action = 'print') { - $url = 'common/reports/' . $this->model->id . '/' . $action; + $url = company_id() . '/common/reports/' . $this->model->id . '/' . $action; $search = request('search');