console error fixed

This commit is contained in:
Burak Civan 2022-07-26 13:57:04 +03:00
parent 2a96be1094
commit 279ec491e8
2 changed files with 27 additions and 24 deletions

View File

@ -26,53 +26,56 @@
@if (! $hideItems)
@stack('name_th_start')
@if (! $hideItemName)
<th class="px-3 py-1 ltr:pl-2 rtl:pr-2 ltr:text-left rtl:text-right text-xs font-normal border-t-0 border-r-0 border-b-0" style="vertical-align:bottom;">
{{ (trans_choice($textItemName, 2) != $textItemName) ? trans_choice($textItemName, 2) : trans($textItemName) }}
@if (! $hideItemName)
{{ (trans_choice($textItemName, 2) != $textItemName) ? trans_choice($textItemName, 2) : trans($textItemName) }}
@endif
</th>
@endif
@stack('name_th_end')
@stack('move_th_start')
@if (! $hideItemDescription)
<th class="px-3 py-1 text-left text-xs font-normal border-t-0 border-r-0 border-b-0" style=" vertical-align:bottom;">
<th class="px-3 py-1 text-left text-xs font-normal border-t-0 border-r-0 border-b-0" style=" vertical-align:bottom;">
@if (! $hideItemDescription)
{{ trans($textItemDescription) }}
</th>
@endif
@endif
</th>
@stack('move_th_end')
@endif
@stack('quantity_th_start')
@if (! $hideItemQuantity)
<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" style="vertical-align:bottom;">
<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" style="vertical-align:bottom;">
@if (! $hideItemQuantity)
{{ trans($textItemQuantity) }}
</th>
@endif
@endif
</th>
@stack('quantity_th_end')
@stack('price_th_start')
@if (! $hideItemPrice)
<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;">
<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) }}
</th>
@endif
@endif
</th>
@stack('price_th_end')
@stack('total_th_start')
@if (! $hideItemAmount)
<th class="px-3 py-1 ltr:text-right rtl:text-left text-xs font-normal border-t-0 border-b-0 item-total" style="vertical-align:bottom;">
<th class="px-3 py-1 ltr:text-right rtl:text-left text-xs font-normal border-t-0 border-b-0 item-total" style="vertical-align:bottom;">
@if (! $hideItemAmount)
{{ trans($textItemAmount) }}
</th>
@endif
@endif
</th>
@stack('total_th_end')
@stack('remove_th_start')
@ -106,4 +109,4 @@
</table>
</div>
</div>
</div>
</div>

View File

@ -168,8 +168,8 @@
@foreach ($options as $option)
@if ($option->id == 'custom')
<div class="col-span-3 mt-5">
<x-form.group.text name="{{ $attributes['input-name'] }}" value="{{ $attributes['input-value'] }}" v-show="{{ $attributes['input-name'] }}" />
<div class="col-span-6 my-5" v-if="form.{{ $name }} == 'custom'">
<x-form.group.text name="{{ $attributes['input-name'] }}" value="{{ $attributes['input-value'] }}" />
</div>
@endif
@endforeach