Merge pull request #1999 from SevanNerse/report-route-fix
routes for print/export of reports fixed
This commit is contained in:
commit
5b9ef5add8
@ -410,7 +410,7 @@ abstract class Report
|
|||||||
|
|
||||||
public function getUrl($action = 'print')
|
public function getUrl($action = 'print')
|
||||||
{
|
{
|
||||||
$url = 'common/reports/' . $this->model->id . '/' . $action;
|
$url = company_id() . '/common/reports/' . $this->model->id . '/' . $action;
|
||||||
|
|
||||||
$search = request('search');
|
$search = request('search');
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user