Merge pull request #1999 from SevanNerse/report-route-fix

routes for print/export of reports fixed
This commit is contained in:
Denis Duliçi 2021-04-23 17:15:27 +03:00 committed by GitHub
commit 5b9ef5add8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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');