x-link console error fixed

This commit is contained in:
Burak Civan
2022-08-18 10:56:30 +03:00
parent b2644776ad
commit e2e0579e1f
3 changed files with 3 additions and 3 deletions

View File

@ -9,7 +9,7 @@
<x-slot name="body">
@if ($transaction->children()->count())
@foreach ($transaction->children()->get() as $child)
@php $url = '<x-link href="' . route('transactions.show', $child->id) . '" class="text-purple" override="class">' . $child->number . '</x-link>' @endphp
@php $url = '<a href="' . route('transactions.show', $child->id) . '" class="text-purple" override="class">' . $child->number . '</a>' @endphp
<div class="my-2">
{!! trans('recurring.child', ['url' => $url, 'date' => company_date($child->paid_at)]) !!}