Merge branch 'master' of https://github.com/brkcvn/akaunting into new-plans
This commit is contained in:
commit
681fbc4c56
@ -41,6 +41,7 @@ class CreateTransfer extends Job implements HasOwner, HasSource, ShouldCreate
|
||||
'category_id' => $this->getTransferCategoryId(),
|
||||
'payment_method' => $this->request->get('payment_method'),
|
||||
'reference' => $this->request->get('reference'),
|
||||
'created_from' => $this->request->get('created_from'),
|
||||
'created_by' => $this->request->get('created_by'),
|
||||
]));
|
||||
|
||||
@ -65,6 +66,7 @@ class CreateTransfer extends Job implements HasOwner, HasSource, ShouldCreate
|
||||
'category_id' => $this->getTransferCategoryId(),
|
||||
'payment_method' => $this->request->get('payment_method'),
|
||||
'reference' => $this->request->get('reference'),
|
||||
'created_from' => $this->request->get('created_from'),
|
||||
'created_by' => $this->request->get('created_by'),
|
||||
]));
|
||||
|
||||
@ -72,6 +74,7 @@ class CreateTransfer extends Job implements HasOwner, HasSource, ShouldCreate
|
||||
'company_id' => $this->request['company_id'],
|
||||
'expense_transaction_id' => $expense_transaction->id,
|
||||
'income_transaction_id' => $income_transaction->id,
|
||||
'created_from' => $this->request->get('created_from'),
|
||||
'created_by' => $this->request->get('created_by'),
|
||||
]);
|
||||
|
||||
|
18
presets.js
vendored
18
presets.js
vendored
@ -20,8 +20,24 @@ module.exports = {
|
||||
|
||||
safelist: [
|
||||
{
|
||||
pattern: /.*/,
|
||||
pattern: /./,
|
||||
},
|
||||
{
|
||||
pattern: /^p-/,
|
||||
variants: ['ltr', 'rtl'],
|
||||
},
|
||||
{
|
||||
pattern: /^m-/,
|
||||
variants: ['ltr', 'rtl'],
|
||||
},
|
||||
{
|
||||
pattern: /^left-/,
|
||||
variants: ['ltr', 'rtl'],
|
||||
},
|
||||
{
|
||||
pattern: /^right-/,
|
||||
variants: ['ltr', 'rtl'],
|
||||
}
|
||||
],
|
||||
|
||||
darkMode: 'class', // or 'media' or 'class',
|
||||
|
1616
public/css/app.css
vendored
1616
public/css/app.css
vendored
File diff suppressed because it is too large
Load Diff
8
public/css/print.css
vendored
8
public/css/print.css
vendored
@ -25,6 +25,10 @@ th, td
|
||||
margin-bottom: 9px;
|
||||
}
|
||||
|
||||
.print-report-padding {
|
||||
padding-left: 25px;
|
||||
}
|
||||
|
||||
html[dir='ltr'] .right-column {
|
||||
text-align: right;
|
||||
}
|
||||
@ -63,6 +67,10 @@ html[dir='rtl'] .right-column {
|
||||
margin-bottom: 8px;
|
||||
}
|
||||
|
||||
.margin-bottom-12 {
|
||||
margin: 12px 0;
|
||||
}
|
||||
|
||||
.print-template .mt-1
|
||||
{
|
||||
margin-top: 8px;
|
||||
|
@ -1,5 +1,4 @@
|
||||
<div class="p-7 shadow-2xl rounded-2xl">
|
||||
@if ($documentTemplate)
|
||||
@switch($documentTemplate)
|
||||
@case('classic')
|
||||
<x-documents.template.classic
|
||||
@ -91,7 +90,7 @@
|
||||
text-amount="{{ $textAmount }}"
|
||||
/>
|
||||
@break
|
||||
@default
|
||||
@case('default')
|
||||
<x-documents.template.ddefault
|
||||
type="{{ $type }}"
|
||||
:document="$document"
|
||||
@ -136,8 +135,8 @@
|
||||
text-price="{{ $textPrice }}"
|
||||
text-amount="{{ $textAmount }}"
|
||||
/>
|
||||
@endswitch
|
||||
@else
|
||||
@break
|
||||
@default
|
||||
@include($documentTemplate)
|
||||
@endif
|
||||
@endswitch
|
||||
</div>
|
@ -48,6 +48,7 @@
|
||||
value="{!! $value !!}"
|
||||
placeholder="{{ $placeholder }}"
|
||||
rows="{{ $rows }}"
|
||||
:disabled="$disabled"
|
||||
{{ $attributes->merge($custom_attributes) }}
|
||||
/>
|
||||
|
||||
|
@ -4,12 +4,14 @@
|
||||
@elseif (! empty($items))
|
||||
@foreach ($items as $item)
|
||||
<div @class(['w-1/2 sm:w-1/3 text-center'])>
|
||||
@php
|
||||
$text_color = (! empty($item['text_color'])) ? $item['text_color'] : 'text-purple group-hover:text-purple-700';
|
||||
@endphp
|
||||
|
||||
@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'] !!}
|
||||
<span class="w-8 absolute left-0 right-0 m-auto -bottom-1 bg-gray-200 transition-all group-hover:bg-gray-900" style="height: 1px;"></span>
|
||||
@ -18,15 +20,21 @@
|
||||
<span class="font-light mt-3">
|
||||
{!! $item['title'] !!}
|
||||
</span>
|
||||
@if (! empty($item['href']))
|
||||
</x-link>
|
||||
@else
|
||||
<div @class(['relative text-xl sm:text-6xl', $text_color, 'mb-2'])>
|
||||
{!! $item['amount'] !!}
|
||||
<span class="w-8 absolute left-0 right-0 m-auto -bottom-1 bg-gray-200 transition-all group-hover:bg-gray-900" style="height: 1px;"></span>
|
||||
</div>
|
||||
|
||||
<span class="font-light mt-3">
|
||||
{!! $item['title'] !!}
|
||||
</span>
|
||||
@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'] !!}
|
||||
<span class="w-8 absolute left-0 right-0 m-auto -bottom-1 bg-gray-200 transition-all group-hover:bg-gray-900" style="height: 1px;"></span>
|
||||
@ -35,8 +43,16 @@
|
||||
<span class="font-light mt-3">
|
||||
{!! $item['title'] !!}
|
||||
</span>
|
||||
@if (! empty($item['href']))
|
||||
</x-link>
|
||||
@else
|
||||
<div @class(['relative text-xl sm:text-6xl', $text_color, 'mb-2'])>
|
||||
{!! $item['amount'] !!}
|
||||
<span class="w-8 absolute left-0 right-0 m-auto -bottom-1 bg-gray-200 transition-all group-hover:bg-gray-900" style="height: 1px;"></span>
|
||||
</div>
|
||||
|
||||
<span class="font-light mt-3">
|
||||
{!! $item['title'] !!}
|
||||
</span>
|
||||
@endif
|
||||
@endif
|
||||
</div>
|
||||
@ -46,13 +62,14 @@
|
||||
{!! $first !!}
|
||||
@elseif (! empty($first))
|
||||
<div class="w-1/2 sm:w-1/3 text-center">
|
||||
@php
|
||||
$text_color = $first->attributes->has('text-color') ? $first->attributes->get('text-color') : 'text-purple group-hover:text-purple-700';
|
||||
@endphp
|
||||
|
||||
@if ($first->attributes->has('tooltip'))
|
||||
<x-tooltip id="tooltip-summary-first" placement="top" message="{!! $first->attributes->get('tooltip') !!}">
|
||||
|
||||
@if ($first->attributes->has('href'))
|
||||
<x-link href="{{ $first->attributes->get('href') }}" class="group" override="class">
|
||||
@endif
|
||||
@php $text_color = $first->attributes->has('text-color') ? $first->attributes->get('text-color') : 'text-purple group-hover:text-purple-700'; @endphp
|
||||
<div @class(['relative text-xl sm:text-6xl', $text_color, 'mb-2', $first->attributes->get('class')])>
|
||||
{!! $first->attributes->get('amount') !!}
|
||||
<span class="w-8 absolute left-0 right-0 m-auto -bottom-1 bg-gray-200 transition-all group-hover:bg-gray-900" style="height: 1px;"></span>
|
||||
@ -61,16 +78,21 @@
|
||||
<span class="font-light mt-3">
|
||||
{!! $first->attributes->get('title') !!}
|
||||
</span>
|
||||
@if ($first->attributes->has('href'))
|
||||
</x-link>
|
||||
@endif
|
||||
@else
|
||||
<div @class(['relative text-xl sm:text-6xl', $text_color, 'mb-2', $first->attributes->get('class')])>
|
||||
{!! $first->attributes->get('amount') !!}
|
||||
<span class="w-8 absolute left-0 right-0 m-auto -bottom-1 bg-gray-200 transition-all group-hover:bg-gray-900" style="height: 1px;"></span>
|
||||
</div>
|
||||
|
||||
<span class="font-light mt-3">
|
||||
{!! $first->attributes->get('title') !!}
|
||||
</span>
|
||||
@endif
|
||||
</x-tooltip>
|
||||
@else
|
||||
@if ($first->attributes->has('href'))
|
||||
<x-link href="{{ $first->attributes->get('href') }}" class="group" override="class">
|
||||
@endif
|
||||
@php $text_color = $first->attributes->has('text-color') ? $first->attributes->get('text-color') : 'text-purple group-hover:text-purple-700'; @endphp
|
||||
<div @class(['relative text-xl sm:text-6xl', $text_color, 'mb-2', $first->attributes->get('class')])>
|
||||
{!! $first->attributes->get('amount') !!}
|
||||
<span class="w-8 absolute left-0 right-0 m-auto -bottom-1 bg-gray-200 transition-all group-hover:bg-gray-900" style="height: 1px;"></span>
|
||||
@ -79,8 +101,16 @@
|
||||
<span class="font-light mt-3">
|
||||
{!! $first->attributes->get('title') !!}
|
||||
</span>
|
||||
@if ($first->attributes->has('href'))
|
||||
</x-link>
|
||||
@else
|
||||
<div @class(['relative text-xl sm:text-6xl', $text_color, 'mb-2', $first->attributes->get('class')])>
|
||||
{!! $first->attributes->get('amount') !!}
|
||||
<span class="w-8 absolute left-0 right-0 m-auto -bottom-1 bg-gray-200 transition-all group-hover:bg-gray-900" style="height: 1px;"></span>
|
||||
</div>
|
||||
|
||||
<span class="font-light mt-3">
|
||||
{!! $first->attributes->get('title') !!}
|
||||
</span>
|
||||
@endif
|
||||
@endif
|
||||
</div>
|
||||
@ -96,13 +126,14 @@
|
||||
{!! $second !!}
|
||||
@elseif (! empty($second))
|
||||
<div class="w-1/2 sm:w-1/3 text-center">
|
||||
@php
|
||||
$text_color = $second->attributes->has('text-color') ? $second->attributes->get('text-color') : 'text-purple group-hover:text-purple-700';
|
||||
@endphp
|
||||
|
||||
@if ($second->attributes->has('tooltip'))
|
||||
<x-tooltip id="tooltip-summary-second" placement="top" message="{!! $second->attributes->get('tooltip') !!}">
|
||||
|
||||
@if ($second->attributes->has('href'))
|
||||
<x-link href="{{ $second->attributes->get('href') }}" class="group" override="class">
|
||||
@endif
|
||||
@php $text_color = $second->attributes->has('text-color') ? $second->attributes->get('text-color') : 'text-purple group-hover:text-purple-700'; @endphp
|
||||
<div @class(['relative text-xl sm:text-6xl', $text_color, 'mb-2', $second->attributes->get('class')])>
|
||||
{!! $second->attributes->get('amount') !!}
|
||||
<span class="w-8 absolute left-0 right-0 m-auto -bottom-1 bg-gray-200 transition-all group-hover:bg-gray-900" style="height: 1px;"></span>
|
||||
@ -111,17 +142,21 @@
|
||||
<span class="font-light mt-3">
|
||||
{!! $second->attributes->get('title') !!}
|
||||
</span>
|
||||
|
||||
@if ($second->attributes->has('href'))
|
||||
</x-link>
|
||||
@endif
|
||||
@else
|
||||
<div @class(['relative text-xl sm:text-6xl', $text_color, 'mb-2', $second->attributes->get('class')])>
|
||||
{!! $second->attributes->get('amount') !!}
|
||||
<span class="w-8 absolute left-0 right-0 m-auto -bottom-1 bg-gray-200 transition-all group-hover:bg-gray-900" style="height: 1px;"></span>
|
||||
</div>
|
||||
|
||||
<span class="font-light mt-3">
|
||||
{!! $second->attributes->get('title') !!}
|
||||
</span>
|
||||
@endif
|
||||
</x-tooltip>
|
||||
@else
|
||||
@if ($second->attributes->has('href'))
|
||||
<x-link href="{{ $second->attributes->get('href') }}" class="group" override="class">
|
||||
@endif
|
||||
@php $text_color = $second->attributes->has('text-color') ? $second->attributes->get('text-color') : 'text-purple group-hover:text-purple-700'; @endphp
|
||||
<div @class(['relative text-xl sm:text-6xl', $text_color, 'mb-2', $second->attributes->get('class')])>
|
||||
{!! $second->attributes->get('amount') !!}
|
||||
<span class="w-8 absolute left-0 right-0 m-auto -bottom-1 bg-gray-200 transition-all group-hover:bg-gray-900" style="height: 1px;"></span>
|
||||
@ -130,9 +165,16 @@
|
||||
<span class="font-light mt-3">
|
||||
{!! $second->attributes->get('title') !!}
|
||||
</span>
|
||||
|
||||
@if ($second->attributes->has('href'))
|
||||
</x-link>
|
||||
@else
|
||||
<div @class(['relative text-xl sm:text-6xl', $text_color, 'mb-2', $second->attributes->get('class')])>
|
||||
{!! $second->attributes->get('amount') !!}
|
||||
<span class="w-8 absolute left-0 right-0 m-auto -bottom-1 bg-gray-200 transition-all group-hover:bg-gray-900" style="height: 1px;"></span>
|
||||
</div>
|
||||
|
||||
<span class="font-light mt-3">
|
||||
{!! $second->attributes->get('title') !!}
|
||||
</span>
|
||||
@endif
|
||||
@endif
|
||||
</div>
|
||||
@ -148,13 +190,14 @@
|
||||
{!! $third !!}
|
||||
@elseif (! empty($third))
|
||||
<div class="w-1/2 sm:w-1/3 text-center">
|
||||
@php
|
||||
$text_color = $third->attributes->has('text-color') ? $third->attributes->get('text-color') : 'text-purple group-hover:text-purple-700';
|
||||
@endphp
|
||||
|
||||
@if ($third->attributes->has('tooltip'))
|
||||
<x-tooltip id="tooltip-summary-third" placement="top" message="{!! $third->attributes->get('tooltip') !!}">
|
||||
|
||||
@if ($third->attributes->has('href'))
|
||||
<x-link href="{{ $third->attributes->get('href') }}" class="group" override="class">
|
||||
@endif
|
||||
@php $text_color = $third->attributes->has('text-color') ? $third->attributes->get('text-color') : 'text-purple group-hover:text-purple-700'; @endphp
|
||||
<div @class(['relative text-xl sm:text-6xl', $text_color, 'mb-2', $third->attributes->get('class')])>
|
||||
{!! $third->attributes->get('amount') !!}
|
||||
<span class="w-8 absolute left-0 right-0 m-auto -bottom-1 bg-gray-200 transition-all group-hover:bg-gray-900" style="height: 1px;"></span>
|
||||
@ -163,16 +206,21 @@
|
||||
<span class="font-light mt-3">
|
||||
{!! $third->attributes->get('title') !!}
|
||||
</span>
|
||||
@if ($third->attributes->has('href'))
|
||||
</x-link>
|
||||
@endif
|
||||
@else
|
||||
<div @class(['relative text-xl sm:text-6xl', $text_color, 'mb-2', $third->attributes->get('class')])>
|
||||
{!! $third->attributes->get('amount') !!}
|
||||
<span class="w-8 absolute left-0 right-0 m-auto -bottom-1 bg-gray-200 transition-all group-hover:bg-gray-900" style="height: 1px;"></span>
|
||||
</div>
|
||||
|
||||
<span class="font-light mt-3">
|
||||
{!! $third->attributes->get('title') !!}
|
||||
</span>
|
||||
@endif
|
||||
</x-tooltip>
|
||||
@else
|
||||
@if ($third->attributes->has('href'))
|
||||
<x-link href="{{ $third->attributes->get('href') }}" class="group" override="class">
|
||||
@endif
|
||||
@php $text_color = $third->attributes->has('text-color') ? $third->attributes->get('text-color') : 'text-purple group-hover:text-purple-700'; @endphp
|
||||
<div @class(['relative text-xl sm:text-6xl', $text_color, 'mb-2', $third->attributes->get('class')])>
|
||||
{!! $third->attributes->get('amount') !!}
|
||||
<span class="w-8 absolute left-0 right-0 m-auto -bottom-1 bg-gray-200 transition-all group-hover:bg-gray-900" style="height: 1px;"></span>
|
||||
@ -181,8 +229,16 @@
|
||||
<span class="font-light mt-3">
|
||||
{!! $third->attributes->get('title') !!}
|
||||
</span>
|
||||
@if ($third->attributes->has('href'))
|
||||
</x-link>
|
||||
@else
|
||||
<div @class(['relative text-xl sm:text-6xl', $text_color, 'mb-2', $third->attributes->get('class')])>
|
||||
{!! $third->attributes->get('amount') !!}
|
||||
<span class="w-8 absolute left-0 right-0 m-auto -bottom-1 bg-gray-200 transition-all group-hover:bg-gray-900" style="height: 1px;"></span>
|
||||
</div>
|
||||
|
||||
<span class="font-light mt-3">
|
||||
{!! $third->attributes->get('title') !!}
|
||||
</span>
|
||||
@endif
|
||||
@endif
|
||||
</div>
|
||||
|
@ -28,7 +28,7 @@
|
||||
</div>
|
||||
|
||||
@stack('pagination_end')
|
||||
@else
|
||||
@elseif (! count($reviews->data))
|
||||
<div class="flex">
|
||||
<small>{{ trans('general.no_records') }}</small>
|
||||
</div>
|
||||
|
@ -1,4 +1,4 @@
|
||||
<div class="overflow-x-visible mb-8">
|
||||
<div class="overflow-x-visible mb-8 margin-bottom-12">
|
||||
<table class="w-full rp-border-collapse">
|
||||
@include($class->views['detail.table.header'])
|
||||
@include($class->views['detail.table.body'])
|
||||
|
@ -4,10 +4,14 @@
|
||||
@elseif (! empty($items))
|
||||
@foreach ($items as $item)
|
||||
<div @class(['w-1/2 sm:w-1/3 text-center'])>
|
||||
@php
|
||||
$text_color = (! empty($item['text_color'])) ? $item['text_color'] : 'text-purple group-hover:text-purple-700';
|
||||
@endphp
|
||||
|
||||
@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">
|
||||
@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'] !!}
|
||||
<span class="w-8 absolute left-0 right-0 m-auto -bottom-1 bg-gray-200 transition-all group-hover:bg-gray-900" style="height: 1px;"></span>
|
||||
@ -17,10 +21,20 @@
|
||||
{!! $item['title'] !!}
|
||||
</span>
|
||||
</x-link>
|
||||
@else
|
||||
<div @class(['relative text-xl sm:text-6xl', $text_color, 'mb-2'])>
|
||||
{!! $item['amount'] !!}
|
||||
<span class="w-8 absolute left-0 right-0 m-auto -bottom-1 bg-gray-200 transition-all group-hover:bg-gray-900" style="height: 1px;"></span>
|
||||
</div>
|
||||
|
||||
<span class="font-light mt-3">
|
||||
{!! $item['title'] !!}
|
||||
</span>
|
||||
@endif
|
||||
</x-tooltip>
|
||||
@else
|
||||
@if (! empty($item['href']))
|
||||
<x-link href="{{ $item['href'] }}" class="group" override="class">
|
||||
@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'] !!}
|
||||
<span class="w-8 absolute left-0 right-0 m-auto -bottom-1 bg-gray-200 transition-all group-hover:bg-gray-900" style="height: 1px;"></span>
|
||||
@ -30,6 +44,16 @@
|
||||
{!! $item['title'] !!}
|
||||
</span>
|
||||
</x-link>
|
||||
@else
|
||||
<div @class(['relative text-xl sm:text-6xl', $text_color, 'mb-2'])>
|
||||
{!! $item['amount'] !!}
|
||||
<span class="w-8 absolute left-0 right-0 m-auto -bottom-1 bg-gray-200 transition-all group-hover:bg-gray-900" style="height: 1px;"></span>
|
||||
</div>
|
||||
|
||||
<span class="font-light mt-3">
|
||||
{!! $item['title'] !!}
|
||||
</span>
|
||||
@endif
|
||||
@endif
|
||||
</div>
|
||||
@endforeach
|
||||
@ -38,14 +62,15 @@
|
||||
{!! $first !!}
|
||||
@elseif (! empty($first))
|
||||
<div class="w-1/2 sm:w-1/3 text-center">
|
||||
@php
|
||||
$text_color = $first->attributes->has('text-color') ? $first->attributes->get('text-color') : 'text-purple group-hover:text-purple-700';
|
||||
@endphp
|
||||
|
||||
@if ($first->attributes->has('tooltip'))
|
||||
<x-tooltip id="tooltip-summary-first" placement="top" message="{!! $first->attributes->get('tooltip') !!}">
|
||||
|
||||
@if ($first->attributes->has('href'))
|
||||
<x-link href="{{ $first->attributes->get('hef') }}" class="group" override="class">
|
||||
@endif
|
||||
@php $text_color = $first->attributes->has('text-color') ? $first->attributes->get('text-color') : 'text-purple group-hover:text-purple-700'; @endphp
|
||||
<div @class(['relative text-xl sm:text-6xl', $text_color, 'mb-2'])>
|
||||
<x-link href="{{ $first->attributes->get('href') }}" class="group" override="class">
|
||||
<div @class(['relative text-xl sm:text-6xl', $text_color, 'mb-2', $first->attributes->get('class')])>
|
||||
{!! $first->attributes->get('amount') !!}
|
||||
<span class="w-8 absolute left-0 right-0 m-auto -bottom-1 bg-gray-200 transition-all group-hover:bg-gray-900" style="height: 1px;"></span>
|
||||
</div>
|
||||
@ -53,17 +78,22 @@
|
||||
<span class="font-light mt-3">
|
||||
{!! $first->attributes->get('title') !!}
|
||||
</span>
|
||||
@if ($first->attributes->has('href'))
|
||||
</x-link>
|
||||
@endif
|
||||
@else
|
||||
<div @class(['relative text-xl sm:text-6xl', $text_color, 'mb-2', $first->attributes->get('class')])>
|
||||
{!! $first->attributes->get('amount') !!}
|
||||
<span class="w-8 absolute left-0 right-0 m-auto -bottom-1 bg-gray-200 transition-all group-hover:bg-gray-900" style="height: 1px;"></span>
|
||||
</div>
|
||||
|
||||
<span class="font-light mt-3">
|
||||
{!! $first->attributes->get('title') !!}
|
||||
</span>
|
||||
@endif
|
||||
</x-tooltip>
|
||||
@else
|
||||
@if ($first->attributes->has('href'))
|
||||
<x-link href="{{ $first->attributes->get('hef') }}" class="group" override="class">
|
||||
@endif
|
||||
@php $text_color = $first->attributes->has('text-color') ? $first->attributes->get('text-color') : 'text-purple group-hover:text-purple-700'; @endphp
|
||||
<div @class(['relative text-xl sm:text-6xl', $text_color, 'mb-2'])>
|
||||
<x-link href="{{ $first->attributes->get('href') }}" class="group" override="class">
|
||||
<div @class(['relative text-xl sm:text-6xl', $text_color, 'mb-2', $first->attributes->get('class')])>
|
||||
{!! $first->attributes->get('amount') !!}
|
||||
<span class="w-8 absolute left-0 right-0 m-auto -bottom-1 bg-gray-200 transition-all group-hover:bg-gray-900" style="height: 1px;"></span>
|
||||
</div>
|
||||
@ -71,8 +101,16 @@
|
||||
<span class="font-light mt-3">
|
||||
{!! $first->attributes->get('title') !!}
|
||||
</span>
|
||||
@if ($first->attributes->has('href'))
|
||||
</x-link>
|
||||
@else
|
||||
<div @class(['relative text-xl sm:text-6xl', $text_color, 'mb-2', $first->attributes->get('class')])>
|
||||
{!! $first->attributes->get('amount') !!}
|
||||
<span class="w-8 absolute left-0 right-0 m-auto -bottom-1 bg-gray-200 transition-all group-hover:bg-gray-900" style="height: 1px;"></span>
|
||||
</div>
|
||||
|
||||
<span class="font-light mt-3">
|
||||
{!! $first->attributes->get('title') !!}
|
||||
</span>
|
||||
@endif
|
||||
@endif
|
||||
</div>
|
||||
@ -88,14 +126,15 @@
|
||||
{!! $second !!}
|
||||
@elseif (! empty($second))
|
||||
<div class="w-1/2 sm:w-1/3 text-center">
|
||||
@php
|
||||
$text_color = $second->attributes->has('text-color') ? $second->attributes->get('text-color') : 'text-purple group-hover:text-purple-700';
|
||||
@endphp
|
||||
|
||||
@if ($second->attributes->has('tooltip'))
|
||||
<x-tooltip id="tooltip-summary-second" placement="top" message="{!! $second->attributes->get('tooltip') !!}">
|
||||
|
||||
@if ($second->attributes->has('href'))
|
||||
<x-link href="{{ $second->attributes->get('hef') }}" class="group" override="class">
|
||||
@endif
|
||||
@php $text_color = $second->attributes->has('text-color') ? $second->attributes->get('text-color') : 'text-purple group-hover:text-purple-700'; @endphp
|
||||
<div @class(['relative text-xl sm:text-6xl', $text_color, 'mb-2'])>
|
||||
<x-link href="{{ $second->attributes->get('href') }}" class="group" override="class">
|
||||
<div @class(['relative text-xl sm:text-6xl', $text_color, 'mb-2', $second->attributes->get('class')])>
|
||||
{!! $second->attributes->get('amount') !!}
|
||||
<span class="w-8 absolute left-0 right-0 m-auto -bottom-1 bg-gray-200 transition-all group-hover:bg-gray-900" style="height: 1px;"></span>
|
||||
</div>
|
||||
@ -103,17 +142,22 @@
|
||||
<span class="font-light mt-3">
|
||||
{!! $second->attributes->get('title') !!}
|
||||
</span>
|
||||
@if ($second->attributes->has('href'))
|
||||
</x-link>
|
||||
@endif
|
||||
@else
|
||||
<div @class(['relative text-xl sm:text-6xl', $text_color, 'mb-2', $second->attributes->get('class')])>
|
||||
{!! $second->attributes->get('amount') !!}
|
||||
<span class="w-8 absolute left-0 right-0 m-auto -bottom-1 bg-gray-200 transition-all group-hover:bg-gray-900" style="height: 1px;"></span>
|
||||
</div>
|
||||
|
||||
<span class="font-light mt-3">
|
||||
{!! $second->attributes->get('title') !!}
|
||||
</span>
|
||||
@endif
|
||||
</x-tooltip>
|
||||
@else
|
||||
@if ($second->attributes->has('href'))
|
||||
<x-link href="{{ $second->attributes->get('hef') }}" class="group" override="class">
|
||||
@endif
|
||||
@php $text_color = $second->attributes->has('text-color') ? $second->attributes->get('text-color') : 'text-purple group-hover:text-purple-700'; @endphp
|
||||
<div @class(['relative text-xl sm:text-6xl', $text_color, 'mb-2'])>
|
||||
<x-link href="{{ $second->attributes->get('href') }}" class="group" override="class">
|
||||
<div @class(['relative text-xl sm:text-6xl', $text_color, 'mb-2', $second->attributes->get('class')])>
|
||||
{!! $second->attributes->get('amount') !!}
|
||||
<span class="w-8 absolute left-0 right-0 m-auto -bottom-1 bg-gray-200 transition-all group-hover:bg-gray-900" style="height: 1px;"></span>
|
||||
</div>
|
||||
@ -121,8 +165,16 @@
|
||||
<span class="font-light mt-3">
|
||||
{!! $second->attributes->get('title') !!}
|
||||
</span>
|
||||
@if ($second->attributes->has('href'))
|
||||
</x-link>
|
||||
@else
|
||||
<div @class(['relative text-xl sm:text-6xl', $text_color, 'mb-2', $second->attributes->get('class')])>
|
||||
{!! $second->attributes->get('amount') !!}
|
||||
<span class="w-8 absolute left-0 right-0 m-auto -bottom-1 bg-gray-200 transition-all group-hover:bg-gray-900" style="height: 1px;"></span>
|
||||
</div>
|
||||
|
||||
<span class="font-light mt-3">
|
||||
{!! $second->attributes->get('title') !!}
|
||||
</span>
|
||||
@endif
|
||||
@endif
|
||||
</div>
|
||||
@ -141,10 +193,8 @@
|
||||
@if ($third->attributes->has('tooltip'))
|
||||
<x-tooltip id="tooltip-summary-third" placement="top" message="{!! $third->attributes->get('tooltip') !!}">
|
||||
@if ($third->attributes->has('href'))
|
||||
<x-link href="{{ $third->attributes->get('hef') }}" class="group" override="class">
|
||||
@endif
|
||||
@php $text_color = $third->attributes->has('text-color') ? $third->attributes->get('text-color') : 'text-purple group-hover:text-purple-700'; @endphp
|
||||
<div @class(['relative text-xl sm:text-6xl', $text_color, 'mb-2'])>
|
||||
<x-link href="{{ $third->attributes->get('href') }}" class="group" override="class">
|
||||
<div @class(['relative text-xl sm:text-6xl', $text_color, 'mb-2', $third->attributes->get('class')])>
|
||||
{!! $third->attributes->get('amount') !!}
|
||||
<span class="w-8 absolute left-0 right-0 m-auto -bottom-1 bg-gray-200 transition-all group-hover:bg-gray-900" style="height: 1px;"></span>
|
||||
</div>
|
||||
@ -152,16 +202,22 @@
|
||||
<span class="font-light mt-3">
|
||||
{!! $third->attributes->get('title') !!}
|
||||
</span>
|
||||
@if ($third->attributes->has('href'))
|
||||
</x-link>
|
||||
@else
|
||||
<div @class(['relative text-xl sm:text-6xl', $text_color, 'mb-2', $third->attributes->get('class')])>
|
||||
{!! $third->attributes->get('amount') !!}
|
||||
<span class="w-8 absolute left-0 right-0 m-auto -bottom-1 bg-gray-200 transition-all group-hover:bg-gray-900" style="height: 1px;"></span>
|
||||
</div>
|
||||
|
||||
<span class="font-light mt-3">
|
||||
{!! $third->attributes->get('title') !!}
|
||||
</span>
|
||||
@endif
|
||||
</x-tooltip>
|
||||
@else
|
||||
@if ($third->attributes->has('href'))
|
||||
<x-link href="{{ $third->attributes->get('hef') }}" class="group" override="class">
|
||||
@endif
|
||||
@php $text_color = $third->attributes->has('text-color') ? $third->attributes->get('text-color') : 'text-purple group-hover:text-purple-700'; @endphp
|
||||
<div @class(['relative text-xl sm:text-6xl', $text_color, 'mb-2'])>
|
||||
<x-link href="{{ $third->attributes->get('href') }}" class="group" override="class">
|
||||
<div @class(['relative text-xl sm:text-6xl', $text_color, 'mb-2', $third->attributes->get('class')])>
|
||||
{!! $third->attributes->get('amount') !!}
|
||||
<span class="w-8 absolute left-0 right-0 m-auto -bottom-1 bg-gray-200 transition-all group-hover:bg-gray-900" style="height: 1px;"></span>
|
||||
</div>
|
||||
@ -169,8 +225,16 @@
|
||||
<span class="font-light mt-3">
|
||||
{!! $third->attributes->get('title') !!}
|
||||
</span>
|
||||
@if ($third->attributes->has('href'))
|
||||
</x-link>
|
||||
@else
|
||||
<div @class(['relative text-xl sm:text-6xl', $text_color, 'mb-2', $third->attributes->get('class')])>
|
||||
{!! $third->attributes->get('amount') !!}
|
||||
<span class="w-8 absolute left-0 right-0 m-auto -bottom-1 bg-gray-200 transition-all group-hover:bg-gray-900" style="height: 1px;"></span>
|
||||
</div>
|
||||
|
||||
<span class="font-light mt-3">
|
||||
{!! $third->attributes->get('title') !!}
|
||||
</span>
|
||||
@endif
|
||||
@endif
|
||||
</div>
|
||||
|
@ -1,11 +1,10 @@
|
||||
<div class="p-7 shadow-2xl rounded-2xl">
|
||||
@if ($transactionTemplate)
|
||||
@switch($transactionTemplate)
|
||||
@case('classic')
|
||||
@break
|
||||
@case('modern')
|
||||
@break
|
||||
@default
|
||||
@case('default')
|
||||
<x-transactions.template.ddefault
|
||||
type="{{ $type }}"
|
||||
:transaction="$transaction"
|
||||
@ -59,10 +58,10 @@
|
||||
text-related-amount="{{ $textRelatedAmount }}"
|
||||
route-document-show="{{ $routeDocumentShow }}"
|
||||
/>
|
||||
@endswitch
|
||||
@else
|
||||
@break
|
||||
@default
|
||||
@include($transactionTemplate)
|
||||
@endif
|
||||
@endswitch
|
||||
|
||||
<akaunting-connect-transactions
|
||||
:show="connect.show"
|
||||
|
34
safelist.txt
34
safelist.txt
@ -1,11 +1,20 @@
|
||||
xl:pt-6
|
||||
lg:mt-2
|
||||
ltr:-right-1.5
|
||||
rtl:-left-1.5
|
||||
lg:pl-24
|
||||
lg:my-12
|
||||
lg:mt-4
|
||||
lg:pl-6
|
||||
sm:max-w-4xl
|
||||
hover:bg-silver-700
|
||||
hover:bg-peach_orange-700
|
||||
hover:bg-pastel_green-700
|
||||
hover:bg-white
|
||||
hover:border-silver-700
|
||||
hover:border-peach_orange-700
|
||||
hover:border-pastel_green-700
|
||||
hover:text-silver-700
|
||||
hover:text-peach_orange-700
|
||||
hover:text-pastel_green-700
|
||||
lg:text-6xl
|
||||
lg:h-6
|
||||
lg:text-xl
|
||||
@ -19,25 +28,4 @@ lg:rtl:mr-72
|
||||
lg:space-x-8
|
||||
lg:text-4xl
|
||||
lg:top-7
|
||||
ltr:border-l-8
|
||||
rtl:border-r-8
|
||||
ltr:pr-20
|
||||
rtl:pl-20
|
||||
lg:max-w-lg
|
||||
sm:max-w-4xl
|
||||
hover:bg-silver-700
|
||||
hover:bg-peach_orange-700
|
||||
hover:bg-pastel_green-700
|
||||
hover:bg-white
|
||||
hover:border-silver-700
|
||||
hover:border-peach_orange-700
|
||||
hover:border-pastel_green-700
|
||||
hover:text-silver-700
|
||||
hover:text-peach_orange-700
|
||||
hover:text-pastel_green-700
|
||||
ltr:pl-0
|
||||
rtl:pr-0
|
||||
ltr:lg:pl-6
|
||||
rtl:lg:pr-6
|
||||
ltr:-right-8
|
||||
rtl:-left-8
|
||||
|
Loading…
x
Reference in New Issue
Block a user