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>