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']))
|
@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">
|
<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)">
|
<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>
|
</button>
|
||||||
</div>
|
</div>
|
||||||
@endif
|
@endif
|
||||||
|
|
||||||
<div class="text-right border-0 p-0 pr-4">
|
<div class="text-right border-0 p-0 pr-4">
|
||||||
<button type="button" class="text-xs text-purple" @click="onAddTax(index)">
|
<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>
|
</button>
|
||||||
</div>
|
</div>
|
||||||
</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">
|
<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()">
|
<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>
|
</div>
|
||||||
|
|
||||||
<span v-if="totals.discount_text" v-html="totals.discount_text"></span>
|
<span v-if="totals.discount_text" v-html="totals.discount_text"></span>
|
||||||
|
@ -60,12 +60,12 @@
|
|||||||
|
|
||||||
@if (! empty($transaction->contact) && $transaction->contact->email)
|
@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-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>
|
</x-button>
|
||||||
@else
|
@else
|
||||||
<x-tooltip message="{{ trans('invoices.messages.email_required') }}" placement="top">
|
<x-tooltip message="{{ trans('invoices.messages.email_required') }}" placement="top">
|
||||||
<x-button class="text-purple mt-1" override="class" disabled="disabled">
|
<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-button>
|
||||||
</x-tooltip>
|
</x-tooltip>
|
||||||
@endif
|
@endif
|
||||||
@ -78,7 +78,7 @@
|
|||||||
class="text-purple mt-1"
|
class="text-purple mt-1"
|
||||||
override="class"
|
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>
|
</x-button>
|
||||||
|
|
||||||
<span> - </span>
|
<span> - </span>
|
||||||
|
@ -46,12 +46,12 @@
|
|||||||
|
|
||||||
@if (! empty($transaction->contact) && $transaction->contact->email)
|
@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-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>
|
</x-button>
|
||||||
@else
|
@else
|
||||||
<x-tooltip message="{{ trans('invoices.messages.email_required') }}" placement="top">
|
<x-tooltip message="{{ trans('invoices.messages.email_required') }}" placement="top">
|
||||||
<x-button class="text-purple mt-1" override="class" disabled="disabled">
|
<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-button>
|
||||||
</x-tooltip>
|
</x-tooltip>
|
||||||
@endif
|
@endif
|
||||||
@ -64,7 +64,7 @@
|
|||||||
class="text-purple mt-1"
|
class="text-purple mt-1"
|
||||||
override="class"
|
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>
|
</x-button>
|
||||||
|
|
||||||
<span> - </span>
|
<span> - </span>
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
|
|
||||||
@php
|
@php
|
||||||
if (empty($color)) {
|
if (empty($color)) {
|
||||||
$color = 'to-purple';
|
$color = 'to-black';
|
||||||
}
|
}
|
||||||
|
|
||||||
if (empty($groupHover)) {
|
if (empty($groupHover)) {
|
||||||
|
@ -8,7 +8,7 @@
|
|||||||
<div class="flex items-center">
|
<div class="flex items-center">
|
||||||
@if ($report = $class->getReportUrl())
|
@if ($report = $class->getReportUrl())
|
||||||
<a href="{{ $report }}" class="text-purple text-sm mr-3">
|
<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>
|
</a>
|
||||||
@endif
|
@endif
|
||||||
|
|
||||||
|
@ -15,7 +15,7 @@
|
|||||||
<div class="mb-3">
|
<div class="mb-3">
|
||||||
@foreach ($template as $item)
|
@foreach ($template as $item)
|
||||||
<button class="text-xs truncate text-left" @click="onEditEmailTemplate({{ $item->id }}, $event)" >
|
<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>
|
</button>
|
||||||
@endforeach
|
@endforeach
|
||||||
</div>
|
</div>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user