Document item hide price column styling..

This commit is contained in:
Cüneyt Şentürk 2023-04-12 17:02:56 +03:00
parent d9e29e2a18
commit 54b5960b84
3 changed files with 30 additions and 25 deletions

View File

@ -10,6 +10,8 @@ return [
'billing' => 'Billing',
'advanced' => 'Advanced',
'item_price_hidden' => 'This column is hidden on your :type.',
'actions' => [
'cancel' => 'Cancel',
],

View File

@ -59,8 +59,13 @@
@stack('price_th_start')
<th class="px-3 py-1 ltr:text-left rtl:text-right text-xs font-normal border-t-0 border-r-0 border-b-0 pr-1" style="vertical-align:bottom;">
@if (! $hideItemPrice)
{{ trans($textItemPrice) }}
@if ($hideItemPrice)
&nbsp;&nbsp;
<x-tooltip id="tooltip-item-price" placement="top" message="{{ trans('documents.item_price_hidden', ['type' => config('type.document.' . $type . '.translation.prefix')]) }}">
<x-icon icon="visibility_off" class="text-sm font-normal"></x-icon>
</x-tooltip>
@endif
</th>

View File

@ -126,7 +126,6 @@
@stack('price_td_start')
<td class="px-3 py-3 pr-1 border-b-0 price">
@if (! $hideItemPrice)
<div>
@stack('price_input_start')
@ -147,7 +146,6 @@
@stack('price_input_end')
</div>
@endif
</td>
@stack('price_td_end')