This commit is contained in:
Cüneyt Şentürk
2022-09-13 09:38:25 +03:00
parent d45305585d
commit d60c7a471b
11 changed files with 89 additions and 78 deletions

View File

@ -3,6 +3,7 @@
class="relative bg-white hover:bg-gray-100 border py-0.5 px-1 cursor-pointer index-actions"
@click="onDeleteViaConfirmation('delete-{{ $modelTable }}-{{ $id }}')"
override="class"
{{ $attributes }}
>
@if ($slot->isNotEmpty())
{!! $slot !!}

View File

@ -3,6 +3,7 @@
class="{{ $class }}"
@click="onDeleteViaConfirmation('delete-{{ $modelTable }}-{{ $id }}')"
override="class"
{{ $attributes }}
>
<span class="{{ $textClass }}">
@if ($slot->isNotEmpty())

View File

@ -1,5 +1,5 @@
@push('scripts_start')
<script type="text/javascript">
{!! $scripts !!}
</script>
@endpush
@push('scripts_start')
<script type="text/javascript">
{!! $scripts !!}
</script>
@endpush

View File

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

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.transaction.' . $transaction->parent->type . '.route.prefix') . '.show', $parent->id) . '" override="class"><u>' . $parent->number . '</u></a>'
'link' => '<a href="' . route(config('type.transaction.' . $transaction->parent->type . '.route.prefix') . '.show', $parent->id) . '"><u>' . $parent->number . '</u></a>',
]);
@endphp

View File

@ -5,7 +5,7 @@
@php
$from_account = '<span class="font-medium">' . $transfer->expense_account->title . '</span>';
$to_account = '<span class="font-medium">' . $transfer->income_account->title . '</span>';
$date = '<a href="' . route('transfers.show', $transfer->id) . '" class="text-purple" override="class">' . company_date($transaction->paid_at) . '</a>';
$date = '<a href="' . route('transfers.show', $transfer->id) . '" class="text-purple">' . company_date($transaction->paid_at) . '</a>';
@endphp
@endif