by default edited as a black color
This commit is contained in:
parent
f9e66a761e
commit
62e717a1b8
@ -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>
|
||||
|
@ -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>
|
||||
|
@ -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>
|
||||
|
@ -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>
|
||||
|
@ -2,7 +2,7 @@
|
||||
|
||||
@php
|
||||
if (empty($color)) {
|
||||
$color = 'to-purple';
|
||||
$color = 'to-black';
|
||||
}
|
||||
|
||||
if (empty($groupHover)) {
|
||||
|
@ -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
|
||||
|
||||
|
@ -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>
|
||||
|
Loading…
x
Reference in New Issue
Block a user