From f67bb935ec0f953898299c2fcb447257f19cadf7 Mon Sep 17 00:00:00 2001 From: Pavel Mironchik Date: Sun, 3 Jan 2021 16:53:40 +0600 Subject: [PATCH] Fix the url for downloading a pdf in the document view. --- app/Abstracts/View/Components/DocumentShow.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Abstracts/View/Components/DocumentShow.php b/app/Abstracts/View/Components/DocumentShow.php index 66734686c..8cf844f77 100644 --- a/app/Abstracts/View/Components/DocumentShow.php +++ b/app/Abstracts/View/Components/DocumentShow.php @@ -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);