component name changed

This commit is contained in:
Burak Civan
2022-06-27 14:53:06 +03:00
parent f68a566c22
commit 990354b337
29 changed files with 115 additions and 39 deletions

View File

@ -46,12 +46,16 @@
@if (! empty($transaction->contact) && $transaction->contact->email)
<x-button id="button-email-send" class="text-purple mt-1" override="class" @click="onEmail('{{ route($transactionEmailRoute, $transaction->id) }}')">
<x-text.hover text="{{ trans('general.title.send', ['type' => trans_choice('general.receipts', 1)]) }}" color="to-purple" />
<x-link.hover color="to-purple">
{{ trans('general.title.send', ['type' => trans_choice('general.receipts', 1)]) }}
</x-link.hover>
</x-button>
@else
<x-tooltip message="{{ trans('invoices.messages.email_required') }}" placement="top">
<x-button class="text-purple mt-1" override="class" disabled="disabled">
<x-text.hover text="{{ trans('general.title.send', ['type' => trans_choice('general.receipts', 1)]) }}" color="to-purple" />
<x-link.hover color="to-purple">
{{ trans('general.title.send', ['type' => trans_choice('general.receipts', 1)]) }}
</x-link.hover>
</x-button>
</x-tooltip>
@endif
@ -64,7 +68,9 @@
class="text-purple mt-1"
override="class"
>
<x-text.hover text="{{ trans('general.title.edit', ['type' => trans_choice('general.payments', 1)]) }}" color="to-purple" />
<x-link.hover color="to-purple">
{{ trans('general.title.edit', ['type' => trans_choice('general.payments', 1)]) }}
</x-link.hover>
</x-button>
<span> - </span>