Fixed pdf icon issue for document and transaction..

This commit is contained in:
Cüneyt Şentürk 2022-06-03 09:57:56 +03:00
parent 84fc25ee1a
commit 745b4d18fd
2 changed files with 2 additions and 2 deletions

View File

@ -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' => [

View File

@ -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' => [