Fixed pdf icon issue for document and transaction..
This commit is contained in:
parent
84fc25ee1a
commit
745b4d18fd
@ -510,7 +510,7 @@ class Transaction extends Model
|
|||||||
try {
|
try {
|
||||||
$actions[] = [
|
$actions[] = [
|
||||||
'title' => trans('general.download_pdf'),
|
'title' => trans('general.download_pdf'),
|
||||||
'icon' => 'pdf',
|
'icon' => 'picture_as_pdf',
|
||||||
'url' => route($prefix. '.pdf', $this->id),
|
'url' => route($prefix. '.pdf', $this->id),
|
||||||
'permission' => 'read-banking-transactions',
|
'permission' => 'read-banking-transactions',
|
||||||
'attributes' => [
|
'attributes' => [
|
||||||
|
@ -539,7 +539,7 @@ class Document extends Model
|
|||||||
try {
|
try {
|
||||||
$actions[] = [
|
$actions[] = [
|
||||||
'title' => trans('general.download_pdf'),
|
'title' => trans('general.download_pdf'),
|
||||||
'icon' => 'pdf',
|
'icon' => 'picture_as_pdf',
|
||||||
'url' => route($prefix . '.pdf', $this->id),
|
'url' => route($prefix . '.pdf', $this->id),
|
||||||
'permission' => 'read-' . $group . '-' . $permission_prefix,
|
'permission' => 'read-' . $group . '-' . $permission_prefix,
|
||||||
'attributes' => [
|
'attributes' => [
|
||||||
|
Loading…
x
Reference in New Issue
Block a user