by default edited as a black color

This commit is contained in:
Burak Civan 2022-06-23 14:41:29 +03:00
parent f9e66a761e
commit 62e717a1b8
7 changed files with 12 additions and 12 deletions

View File

@ -190,14 +190,14 @@
@if (! $hideDiscount && in_array(setting('localisation.discount_location'), ['item', 'both']))
<div class="text-left border-0 p-0 mr-16" v-if="!row.add_discount">
<button type="button" class="text-xs text-purple" @click="onAddLineDiscount(index)">
<x-text.hover text="{{ trans('general.title.add', ['type' => trans('invoices.discount')]) }}" />
<x-text.hover text="{{ trans('general.title.add', ['type' => trans('invoices.discount')]) }}" color="to-purple" />
</button>
</div>
@endif
<div class="text-right border-0 p-0 pr-4">
<button type="button" class="text-xs text-purple" @click="onAddTax(index)">
<x-text.hover text="{{ trans('general.title.add', ['type' => trans_choice('general.taxes', 1)]) }}" />
<x-text.hover text="{{ trans('general.title.add', ['type' => trans_choice('general.taxes', 1)]) }}" color="to-purple" />
</button>
</div>
</div>

View File

@ -80,7 +80,7 @@
<td class="text-right border-t-0 border-r-0 border-b-0 align-middle py-0 pr-0">
<div v-if="show_discount_text" v-if="!totals.discount_text" @click="onAddDiscount()">
<x-text.hover text="{{ trans('invoices.add_discount') }}" />
<x-text.hover text="{{ trans('invoices.add_discount') }}" color="to-purple" />
</div>
<span v-if="totals.discount_text" v-html="totals.discount_text"></span>

View File

@ -60,12 +60,12 @@
@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)]) }}" />
<x-text.hover text="{{ trans('general.title.send', ['type' => trans_choice('general.receipts', 1)]) }}" color="to-purple" />
</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)]) }}" />
<x-text.hover text="{{ trans('general.title.send', ['type' => trans_choice('general.receipts', 1)]) }}" color="to-purple" />
</x-button>
</x-tooltip>
@endif
@ -78,7 +78,7 @@
class="text-purple mt-1"
override="class"
>
<x-text.hover text="{{ trans('general.title.edit', ['type' => trans_choice('general.payments', 1)]) }}" />
<x-text.hover text="{{ trans('general.title.edit', ['type' => trans_choice('general.payments', 1)]) }}" color="to-purple" />
</x-button>
<span> - </span>

View File

@ -46,12 +46,12 @@
@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)]) }}" />
<x-text.hover text="{{ trans('general.title.send', ['type' => trans_choice('general.receipts', 1)]) }}" color="to-purple" />
</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)]) }}" />
<x-text.hover text="{{ trans('general.title.send', ['type' => trans_choice('general.receipts', 1)]) }}" color="to-purple" />
</x-button>
</x-tooltip>
@endif
@ -64,7 +64,7 @@
class="text-purple mt-1"
override="class"
>
<x-text.hover text="{{ trans('general.title.edit', ['type' => trans_choice('general.payments', 1)]) }}" />
<x-text.hover text="{{ trans('general.title.edit', ['type' => trans_choice('general.payments', 1)]) }}" color="to-purple" />
</x-button>
<span> - </span>

View File

@ -2,7 +2,7 @@
@php
if (empty($color)) {
$color = 'to-purple';
$color = 'to-black';
}
if (empty($groupHover)) {

View File

@ -8,7 +8,7 @@
<div class="flex items-center">
@if ($report = $class->getReportUrl())
<a href="{{ $report }}" class="text-purple text-sm mr-3">
<x-text.hover text="{{ trans('widgets.view_report') }}" />
<x-text.hover text="{{ trans('widgets.view_report') }}" color="to-purple" />
</a>
@endif

View File

@ -15,7 +15,7 @@
<div class="mb-3">
@foreach ($template as $item)
<button class="text-xs truncate text-left" @click="onEditEmailTemplate({{ $item->id }}, $event)" >
<x-text.hover text="{{ trans($item->name) }}" />
<x-text.hover text="{{ trans($item->name) }}" color="to-purple" />
</button>
@endforeach
</div>