Fix the url for downloading a pdf in the document view.

This commit is contained in:
Pavel Mironchik 2021-01-03 16:53:40 +06:00
parent 0af4c5df77
commit f67bb935ec

View File

@ -392,7 +392,7 @@ abstract class DocumentShow extends Component
$this->routeButtonEdit = $this->getRouteButtonEdit($type, $routeButtonEdit);
$this->routeButtonDuplicate = $this->getRouteButtonDuplicate($type, $routeButtonDuplicate);
$this->routeButtonPrint = $this->getRouteButtonPrint($type, $routeButtonPrint);
$this->routeButtonPdf = $this->getRouteButtonPrint($type, $routeButtonPdf);
$this->routeButtonPdf = $this->getRouteButtonPdf($type, $routeButtonPdf);
$this->routeButtonCancelled = $this->getRouteButtonCancelled($type, $routeButtonCancelled);
$this->routeButtonCustomize = $this->getRouteButtonCustomize($type, $routeButtonCustomize);
$this->routeButtonDelete = $this->getRouteButtonDelete($type, $routeButtonDelete);