From 745b4d18fd5d494d8ebf64ca8e889b1ff77a38f2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=BCneyt=20=C5=9Eent=C3=BCrk?= Date: Fri, 3 Jun 2022 09:57:56 +0300 Subject: [PATCH] Fixed pdf icon issue for document and transaction.. --- app/Models/Banking/Transaction.php | 2 +- app/Models/Document/Document.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/app/Models/Banking/Transaction.php b/app/Models/Banking/Transaction.php index 0514df226..5b8cd940e 100644 --- a/app/Models/Banking/Transaction.php +++ b/app/Models/Banking/Transaction.php @@ -510,7 +510,7 @@ class Transaction extends Model try { $actions[] = [ 'title' => trans('general.download_pdf'), - 'icon' => 'pdf', + 'icon' => 'picture_as_pdf', 'url' => route($prefix. '.pdf', $this->id), 'permission' => 'read-banking-transactions', 'attributes' => [ diff --git a/app/Models/Document/Document.php b/app/Models/Document/Document.php index b5c36f4b5..d1642d1e3 100644 --- a/app/Models/Document/Document.php +++ b/app/Models/Document/Document.php @@ -539,7 +539,7 @@ class Document extends Model try { $actions[] = [ 'title' => trans('general.download_pdf'), - 'icon' => 'pdf', + 'icon' => 'picture_as_pdf', 'url' => route($prefix . '.pdf', $this->id), 'permission' => 'read-' . $group . '-' . $permission_prefix, 'attributes' => [