Merge branch 'master' of https://github.com/brkcvn/akaunting into code-clean

This commit is contained in:
Burak Civan
2022-09-07 09:56:41 +03:00
76 changed files with 1024 additions and 705 deletions

View File

@ -6,7 +6,9 @@
<div @class(['w-1/2 sm:w-1/3 text-center'])>
@if (! empty($item['tooltip']))
<x-tooltip id="tooltip-summary-{{ $loop->index }}" placement="top" message="{!! $item['tooltip'] !!}">
@if (! empty($item['href']))
<x-link href="{{ $item['href'] }}" class="group" override="class">
@endif
@php $text_color = (! empty($item['text_color'])) ? $item['text_color'] : 'text-purple group-hover:text-purple-700'; @endphp
<div @class(['relative text-xl sm:text-6xl', $text_color, 'mb-2'])>
{!! $item['amount'] !!}
@ -16,10 +18,14 @@
<span class="font-light mt-3">
{!! $item['title'] !!}
</span>
@if (! empty($item['href']))
</x-link>
@endif
</x-tooltip>
@else
@if (! empty($item['href']))
<x-link href="{{ $item['href'] }}" class="group" override="class">
@endif
@php $text_color = (! empty($item['text_color'])) ? $item['text_color'] : 'text-purple group-hover:text-purple-700'; @endphp
<div @class(['relative text-xl sm:text-6xl', $text_color, 'mb-2'])>
{!! $item['amount'] !!}
@ -29,7 +35,9 @@
<span class="font-light mt-3">
{!! $item['title'] !!}
</span>
@if (! empty($item['href']))
</x-link>
@endif
@endif
</div>
@endforeach
@ -180,4 +188,4 @@
</div>
@endif
@endif
</div>
</div>