Minor fixes.

This commit is contained in:
EnesSacid-Buker
2022-06-02 14:09:25 +03:00
committed by GitHub
parent a05737e0b5
commit bcd6925d13
5 changed files with 5 additions and 4 deletions

View File

@ -41,7 +41,7 @@
<x-table.tbody>
@foreach($documents as $item)
<x-table.tr href="{{ route('recurring-transactions.show', $item->id) }}">
<x-table.tr href="{{ route($showRoute, $item->id) }}">
@if (! $hideBulkAction)
<x-table.td class="ltr:pr-6 rtl:pl-6 hidden sm:table-cell" override="class">
<x-index.bulkaction.single id="{{ $item->id }}" name="{{ $item->contact->name }}" />

View File

@ -18,7 +18,7 @@
@php
$recurring_message = trans('recurring.message_parent', [
'type' => mb_strtolower(trans_choice($textRecurringType, 1)),
'link' => '<a href="' . route(config('type.document.' . $document->parent->type . '.route.prefix', 'invoices') . '.show', $parent->id) . '"><u>' . $parent->id . '</u></a>'
'link' => '<a href="' . route(config('type.document.' . $document->parent->type . '.route.prefix', 'invoices') . '.show', $parent->id) . '"><u>' . $parent->document_number . '</u></a>'
]);
@endphp

View File

@ -10,7 +10,7 @@
$textColor
])
>
{!! $message !!}
{!! html_entity_decode($message) !!}
</p>
</div>