Skip to content

Commit

Permalink
routes for print/export of reports fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
sevannerse committed Apr 23, 2021
1 parent a8edccd commit 7505cef
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/Abstracts/Report.php
Original file line number Diff line number Diff line change
Expand Up @@ -410,7 +410,7 @@ public function getFormattedDate($date)

public function getUrl($action = 'print')
{
$url = 'common/reports/' . $this->model->id . '/' . $action;
$url = company_id() . '/common/reports/' . $this->model->id . '/' . $action;

$search = request('search');

Expand Down

0 comments on commit 7505cef

Please sign in to comment.