Fixed missing payment_method portal page issue.. ( #8669navwf )

This commit is contained in:
Cüneyt Şentürk 2023-03-22 16:13:59 +03:00
parent 41acfee010
commit b903691d16
2 changed files with 10 additions and 2 deletions

View File

@ -132,7 +132,11 @@
</td> </td>
<td valign="top" class="border-bottom-dashed-black" style="width:70%; margin: 0px; padding: 8px 0 0 0; font-size: 12px;"> <td valign="top" class="border-bottom-dashed-black" style="width:70%; margin: 0px; padding: 8px 0 0 0; font-size: 12px;">
{{ !empty($payment_methods[$transaction->payment_method]) ? $payment_methods[$transaction->payment_method] : trans('general.na') }} @if (! empty($payment_methods[$transaction->payment_method]))
{!! $payment_methods[$transaction->payment_method] !!}
@else
<x-empty-data />
@endif
</td> </td>
</tr> </tr>
@endif @endif

View File

@ -41,7 +41,11 @@
</x-table.td> </x-table.td>
<x-table.td class="w-4/12 sm:w-3/12"> <x-table.td class="w-4/12 sm:w-3/12">
{{ $payment_methods[$item->payment_method] }} @if (! empty($payment_methods[$item->payment_method]))
{!! $payment_methods[$item->payment_method] !!}
@else
<x-empty-data />
@endif
</x-table.td> </x-table.td>
<x-table.td class="w-3/12" hidden-mobile> <x-table.td class="w-3/12" hidden-mobile>