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(),
|
'category_id' => $this->getTransferCategoryId(),
|
||||||
'payment_method' => $this->request->get('payment_method'),
|
'payment_method' => $this->request->get('payment_method'),
|
||||||
'reference' => $this->request->get('reference'),
|
'reference' => $this->request->get('reference'),
|
||||||
|
'created_from' => $this->request->get('created_from'),
|
||||||
'created_by' => $this->request->get('created_by'),
|
'created_by' => $this->request->get('created_by'),
|
||||||
]));
|
]));
|
||||||
|
|
||||||
@ -65,6 +66,7 @@ class CreateTransfer extends Job implements HasOwner, HasSource, ShouldCreate
|
|||||||
'category_id' => $this->getTransferCategoryId(),
|
'category_id' => $this->getTransferCategoryId(),
|
||||||
'payment_method' => $this->request->get('payment_method'),
|
'payment_method' => $this->request->get('payment_method'),
|
||||||
'reference' => $this->request->get('reference'),
|
'reference' => $this->request->get('reference'),
|
||||||
|
'created_from' => $this->request->get('created_from'),
|
||||||
'created_by' => $this->request->get('created_by'),
|
'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'],
|
'company_id' => $this->request['company_id'],
|
||||||
'expense_transaction_id' => $expense_transaction->id,
|
'expense_transaction_id' => $expense_transaction->id,
|
||||||
'income_transaction_id' => $income_transaction->id,
|
'income_transaction_id' => $income_transaction->id,
|
||||||
|
'created_from' => $this->request->get('created_from'),
|
||||||
'created_by' => $this->request->get('created_by'),
|
'created_by' => $this->request->get('created_by'),
|
||||||
]);
|
]);
|
||||||
|
|
||||||
|
18
presets.js
vendored
18
presets.js
vendored
@ -20,8 +20,24 @@ module.exports = {
|
|||||||
|
|
||||||
safelist: [
|
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',
|
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;
|
margin-bottom: 9px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.print-report-padding {
|
||||||
|
padding-left: 25px;
|
||||||
|
}
|
||||||
|
|
||||||
html[dir='ltr'] .right-column {
|
html[dir='ltr'] .right-column {
|
||||||
text-align: right;
|
text-align: right;
|
||||||
}
|
}
|
||||||
@ -63,6 +67,10 @@ html[dir='rtl'] .right-column {
|
|||||||
margin-bottom: 8px;
|
margin-bottom: 8px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.margin-bottom-12 {
|
||||||
|
margin: 12px 0;
|
||||||
|
}
|
||||||
|
|
||||||
.print-template .mt-1
|
.print-template .mt-1
|
||||||
{
|
{
|
||||||
margin-top: 8px;
|
margin-top: 8px;
|
||||||
|
@ -1,143 +1,142 @@
|
|||||||
<div class="p-7 shadow-2xl rounded-2xl">
|
<div class="p-7 shadow-2xl rounded-2xl">
|
||||||
@if ($documentTemplate)
|
@switch($documentTemplate)
|
||||||
@switch($documentTemplate)
|
@case('classic')
|
||||||
@case('classic')
|
<x-documents.template.classic
|
||||||
<x-documents.template.classic
|
type="{{ $type }}"
|
||||||
type="{{ $type }}"
|
:document="$document"
|
||||||
:document="$document"
|
document-template="{{ $documentTemplate }}"
|
||||||
document-template="{{ $documentTemplate }}"
|
logo="{{ $logo }}"
|
||||||
logo="{{ $logo }}"
|
background-color="{{ $backgroundColor }}"
|
||||||
background-color="{{ $backgroundColor }}"
|
hide-footer="{{ $hideFooter }}"
|
||||||
hide-footer="{{ $hideFooter }}"
|
hide-company-logo="{{ $hideCompanyLogo }}"
|
||||||
hide-company-logo="{{ $hideCompanyLogo }}"
|
hide-company-details="{{ $hideCompanyDetails }}"
|
||||||
hide-company-details="{{ $hideCompanyDetails }}"
|
hide-company-name="{{ $hideCompanyName }}"
|
||||||
hide-company-name="{{ $hideCompanyName }}"
|
hide-company-address="{{ $hideCompanyAddress }}"
|
||||||
hide-company-address="{{ $hideCompanyAddress }}"
|
hide-company-tax-number="{{ $hideCompanyTaxNumber }}"
|
||||||
hide-company-tax-number="{{ $hideCompanyTaxNumber }}"
|
hide-company-phone="{{ $hideCompanyPhone }}"
|
||||||
hide-company-phone="{{ $hideCompanyPhone }}"
|
hide-company-email="{{ $hideCompanyEmail }}"
|
||||||
hide-company-email="{{ $hideCompanyEmail }}"
|
hide-contact-info="{{ $hideContactInfo }}"
|
||||||
hide-contact-info="{{ $hideContactInfo }}"
|
hide-contact-name="{{ $hideContactName }}"
|
||||||
hide-contact-name="{{ $hideContactName }}"
|
hide-contact-address="{{ $hideContactAddress }}"
|
||||||
hide-contact-address="{{ $hideContactAddress }}"
|
hide-contact-tax-number="{{ $hideContactTaxNumber }}"
|
||||||
hide-contact-tax-number="{{ $hideContactTaxNumber }}"
|
hide-contact-phone="{{ $hideContactPhone }}"
|
||||||
hide-contact-phone="{{ $hideContactPhone }}"
|
hide-contact-email="{{ $hideContactEmail }}"
|
||||||
hide-contact-email="{{ $hideContactEmail }}"
|
hide-order-number="{{ $hideOrderNumber }}"
|
||||||
hide-order-number="{{ $hideOrderNumber }}"
|
hide-document-number="{{ $hideDocumentNumber }}"
|
||||||
hide-document-number="{{ $hideDocumentNumber }}"
|
hide-issued-at="{{ $hideIssuedAt }}"
|
||||||
hide-issued-at="{{ $hideIssuedAt }}"
|
hide-due-at="{{ $hideDueAt }}"
|
||||||
hide-due-at="{{ $hideDueAt }}"
|
text-contact-info="{{ $textContactInfo }}"
|
||||||
text-contact-info="{{ $textContactInfo }}"
|
text-issued-at="{{ $textIssuedAt }}"
|
||||||
text-issued-at="{{ $textIssuedAt }}"
|
text-document-number="{{ $textDocumentNumber }}"
|
||||||
text-document-number="{{ $textDocumentNumber }}"
|
text-due-at="{{ $textDueAt }}"
|
||||||
text-due-at="{{ $textDueAt }}"
|
text-order-number="{{ $textOrderNumber }}"
|
||||||
text-order-number="{{ $textOrderNumber }}"
|
text-document-title="{{ $textDocumentTitle }}"
|
||||||
text-document-title="{{ $textDocumentTitle }}"
|
text-document-subheading="{{ $textDocumentSubheading }}"
|
||||||
text-document-subheading="{{ $textDocumentSubheading }}"
|
hide-items="{{ $hideItems }}"
|
||||||
hide-items="{{ $hideItems }}"
|
hide-name="{{ $hideName }}"
|
||||||
hide-name="{{ $hideName }}"
|
hide-description="{{ $hideDescription }}"
|
||||||
hide-description="{{ $hideDescription }}"
|
hide-quantity="{{ $hideQuantity }}"
|
||||||
hide-quantity="{{ $hideQuantity }}"
|
hide-price="{{ $hidePrice }}"
|
||||||
hide-price="{{ $hidePrice }}"
|
hide-amount="{{ $hideAmount }}"
|
||||||
hide-amount="{{ $hideAmount }}"
|
hide-note="{{ $hideNote }}"
|
||||||
hide-note="{{ $hideNote }}"
|
text-items="{{ $textItems }}"
|
||||||
text-items="{{ $textItems }}"
|
text-quantity="{{ $textQuantity }}"
|
||||||
text-quantity="{{ $textQuantity }}"
|
text-price="{{ $textPrice }}"
|
||||||
text-price="{{ $textPrice }}"
|
text-amount="{{ $textAmount }}"
|
||||||
text-amount="{{ $textAmount }}"
|
/>
|
||||||
/>
|
@break
|
||||||
@break
|
@case('modern')
|
||||||
@case('modern')
|
<x-documents.template.modern
|
||||||
<x-documents.template.modern
|
type="{{ $type }}"
|
||||||
type="{{ $type }}"
|
:document="$document"
|
||||||
:document="$document"
|
document-template="{{ $documentTemplate }}"
|
||||||
document-template="{{ $documentTemplate }}"
|
logo="{{ $logo }}"
|
||||||
logo="{{ $logo }}"
|
background-color="{{ $backgroundColor }}"
|
||||||
background-color="{{ $backgroundColor }}"
|
hide-footer="{{ $hideFooter }}"
|
||||||
hide-footer="{{ $hideFooter }}"
|
hide-company-logo="{{ $hideCompanyLogo }}"
|
||||||
hide-company-logo="{{ $hideCompanyLogo }}"
|
hide-company-details="{{ $hideCompanyDetails }}"
|
||||||
hide-company-details="{{ $hideCompanyDetails }}"
|
hide-company-name="{{ $hideCompanyName }}"
|
||||||
hide-company-name="{{ $hideCompanyName }}"
|
hide-company-address="{{ $hideCompanyAddress }}"
|
||||||
hide-company-address="{{ $hideCompanyAddress }}"
|
hide-company-tax-number="{{ $hideCompanyTaxNumber }}"
|
||||||
hide-company-tax-number="{{ $hideCompanyTaxNumber }}"
|
hide-company-phone="{{ $hideCompanyPhone }}"
|
||||||
hide-company-phone="{{ $hideCompanyPhone }}"
|
hide-company-email="{{ $hideCompanyEmail }}"
|
||||||
hide-company-email="{{ $hideCompanyEmail }}"
|
hide-contact-info="{{ $hideContactInfo }}"
|
||||||
hide-contact-info="{{ $hideContactInfo }}"
|
hide-contact-name="{{ $hideContactName }}"
|
||||||
hide-contact-name="{{ $hideContactName }}"
|
hide-contact-address="{{ $hideContactAddress }}"
|
||||||
hide-contact-address="{{ $hideContactAddress }}"
|
hide-contact-tax-number="{{ $hideContactTaxNumber }}"
|
||||||
hide-contact-tax-number="{{ $hideContactTaxNumber }}"
|
hide-contact-phone="{{ $hideContactPhone }}"
|
||||||
hide-contact-phone="{{ $hideContactPhone }}"
|
hide-contact-email="{{ $hideContactEmail }}"
|
||||||
hide-contact-email="{{ $hideContactEmail }}"
|
hide-order-number="{{ $hideOrderNumber }}"
|
||||||
hide-order-number="{{ $hideOrderNumber }}"
|
hide-document-number="{{ $hideDocumentNumber }}"
|
||||||
hide-document-number="{{ $hideDocumentNumber }}"
|
hide-issued-at="{{ $hideIssuedAt }}"
|
||||||
hide-issued-at="{{ $hideIssuedAt }}"
|
hide-due-at="{{ $hideDueAt }}"
|
||||||
hide-due-at="{{ $hideDueAt }}"
|
text-contact-info="{{ $textContactInfo }}"
|
||||||
text-contact-info="{{ $textContactInfo }}"
|
text-issued-at="{{ $textIssuedAt }}"
|
||||||
text-issued-at="{{ $textIssuedAt }}"
|
text-document-number="{{ $textDocumentNumber }}"
|
||||||
text-document-number="{{ $textDocumentNumber }}"
|
text-due-at="{{ $textDueAt }}"
|
||||||
text-due-at="{{ $textDueAt }}"
|
text-order-number="{{ $textOrderNumber }}"
|
||||||
text-order-number="{{ $textOrderNumber }}"
|
text-document-title="{{ $textDocumentTitle }}"
|
||||||
text-document-title="{{ $textDocumentTitle }}"
|
text-document-subheading="{{ $textDocumentSubheading }}"
|
||||||
text-document-subheading="{{ $textDocumentSubheading }}"
|
hide-items="{{ $hideItems }}"
|
||||||
hide-items="{{ $hideItems }}"
|
hide-name="{{ $hideName }}"
|
||||||
hide-name="{{ $hideName }}"
|
hide-description="{{ $hideDescription }}"
|
||||||
hide-description="{{ $hideDescription }}"
|
hide-quantity="{{ $hideQuantity }}"
|
||||||
hide-quantity="{{ $hideQuantity }}"
|
hide-price="{{ $hidePrice }}"
|
||||||
hide-price="{{ $hidePrice }}"
|
hide-amount="{{ $hideAmount }}"
|
||||||
hide-amount="{{ $hideAmount }}"
|
hide-note="{{ $hideNote }}"
|
||||||
hide-note="{{ $hideNote }}"
|
text-items="{{ $textItems }}"
|
||||||
text-items="{{ $textItems }}"
|
text-quantity="{{ $textQuantity }}"
|
||||||
text-quantity="{{ $textQuantity }}"
|
text-price="{{ $textPrice }}"
|
||||||
text-price="{{ $textPrice }}"
|
text-amount="{{ $textAmount }}"
|
||||||
text-amount="{{ $textAmount }}"
|
/>
|
||||||
/>
|
@break
|
||||||
@break
|
@case('default')
|
||||||
@default
|
<x-documents.template.ddefault
|
||||||
<x-documents.template.ddefault
|
type="{{ $type }}"
|
||||||
type="{{ $type }}"
|
:document="$document"
|
||||||
:document="$document"
|
document-template="{{ $documentTemplate }}"
|
||||||
document-template="{{ $documentTemplate }}"
|
logo="{{ $logo }}"
|
||||||
logo="{{ $logo }}"
|
background-color="{{ $backgroundColor }}"
|
||||||
background-color="{{ $backgroundColor }}"
|
hide-footer="{{ $hideFooter }}"
|
||||||
hide-footer="{{ $hideFooter }}"
|
hide-company-logo="{{ $hideCompanyLogo }}"
|
||||||
hide-company-logo="{{ $hideCompanyLogo }}"
|
hide-company-details="{{ $hideCompanyDetails }}"
|
||||||
hide-company-details="{{ $hideCompanyDetails }}"
|
hide-company-name="{{ $hideCompanyName }}"
|
||||||
hide-company-name="{{ $hideCompanyName }}"
|
hide-company-address="{{ $hideCompanyAddress }}"
|
||||||
hide-company-address="{{ $hideCompanyAddress }}"
|
hide-company-tax-number="{{ $hideCompanyTaxNumber }}"
|
||||||
hide-company-tax-number="{{ $hideCompanyTaxNumber }}"
|
hide-company-phone="{{ $hideCompanyPhone }}"
|
||||||
hide-company-phone="{{ $hideCompanyPhone }}"
|
hide-company-email="{{ $hideCompanyEmail }}"
|
||||||
hide-company-email="{{ $hideCompanyEmail }}"
|
hide-contact-info="{{ $hideContactInfo }}"
|
||||||
hide-contact-info="{{ $hideContactInfo }}"
|
hide-contact-name="{{ $hideContactName }}"
|
||||||
hide-contact-name="{{ $hideContactName }}"
|
hide-contact-address="{{ $hideContactAddress }}"
|
||||||
hide-contact-address="{{ $hideContactAddress }}"
|
hide-contact-tax-number="{{ $hideContactTaxNumber }}"
|
||||||
hide-contact-tax-number="{{ $hideContactTaxNumber }}"
|
hide-contact-phone="{{ $hideContactPhone }}"
|
||||||
hide-contact-phone="{{ $hideContactPhone }}"
|
hide-contact-email="{{ $hideContactEmail }}"
|
||||||
hide-contact-email="{{ $hideContactEmail }}"
|
hide-order-number="{{ $hideOrderNumber }}"
|
||||||
hide-order-number="{{ $hideOrderNumber }}"
|
hide-document-number="{{ $hideDocumentNumber }}"
|
||||||
hide-document-number="{{ $hideDocumentNumber }}"
|
hide-issued-at="{{ $hideIssuedAt }}"
|
||||||
hide-issued-at="{{ $hideIssuedAt }}"
|
hide-due-at="{{ $hideDueAt }}"
|
||||||
hide-due-at="{{ $hideDueAt }}"
|
text-contact-info="{{ $textContactInfo }}"
|
||||||
text-contact-info="{{ $textContactInfo }}"
|
text-issued-at="{{ $textIssuedAt }}"
|
||||||
text-issued-at="{{ $textIssuedAt }}"
|
text-document-number="{{ $textDocumentNumber }}"
|
||||||
text-document-number="{{ $textDocumentNumber }}"
|
text-due-at="{{ $textDueAt }}"
|
||||||
text-due-at="{{ $textDueAt }}"
|
text-order-number="{{ $textOrderNumber }}"
|
||||||
text-order-number="{{ $textOrderNumber }}"
|
text-document-title="{{ $textDocumentTitle }}"
|
||||||
text-document-title="{{ $textDocumentTitle }}"
|
text-document-subheading="{{ $textDocumentSubheading }}"
|
||||||
text-document-subheading="{{ $textDocumentSubheading }}"
|
hide-items="{{ $hideItems }}"
|
||||||
hide-items="{{ $hideItems }}"
|
hide-name="{{ $hideName }}"
|
||||||
hide-name="{{ $hideName }}"
|
hide-description="{{ $hideDescription }}"
|
||||||
hide-description="{{ $hideDescription }}"
|
hide-quantity="{{ $hideQuantity }}"
|
||||||
hide-quantity="{{ $hideQuantity }}"
|
hide-discount="{{ $hideDiscount }}"
|
||||||
hide-discount="{{ $hideDiscount }}"
|
hide-price="{{ $hidePrice }}"
|
||||||
hide-price="{{ $hidePrice }}"
|
hide-amount="{{ $hideAmount }}"
|
||||||
hide-amount="{{ $hideAmount }}"
|
hide-note="{{ $hideNote }}"
|
||||||
hide-note="{{ $hideNote }}"
|
text-items="{{ $textItems }}"
|
||||||
text-items="{{ $textItems }}"
|
text-quantity="{{ $textQuantity }}"
|
||||||
text-quantity="{{ $textQuantity }}"
|
text-price="{{ $textPrice }}"
|
||||||
text-price="{{ $textPrice }}"
|
text-amount="{{ $textAmount }}"
|
||||||
text-amount="{{ $textAmount }}"
|
/>
|
||||||
/>
|
@break
|
||||||
@endswitch
|
@default
|
||||||
@else
|
@include($documentTemplate)
|
||||||
@include($documentTemplate)
|
@endswitch
|
||||||
@endif
|
|
||||||
</div>
|
</div>
|
@ -48,6 +48,7 @@
|
|||||||
value="{!! $value !!}"
|
value="{!! $value !!}"
|
||||||
placeholder="{{ $placeholder }}"
|
placeholder="{{ $placeholder }}"
|
||||||
rows="{{ $rows }}"
|
rows="{{ $rows }}"
|
||||||
|
:disabled="$disabled"
|
||||||
{{ $attributes->merge($custom_attributes) }}
|
{{ $attributes->merge($custom_attributes) }}
|
||||||
/>
|
/>
|
||||||
|
|
||||||
|
@ -4,12 +4,24 @@
|
|||||||
@elseif (! empty($items))
|
@elseif (! empty($items))
|
||||||
@foreach ($items as $item)
|
@foreach ($items as $item)
|
||||||
<div @class(['w-1/2 sm:w-1/3 text-center'])>
|
<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']))
|
@if (! empty($item['tooltip']))
|
||||||
<x-tooltip id="tooltip-summary-{{ $loop->index }}" placement="top" message="{!! $item['tooltip'] !!}">
|
<x-tooltip id="tooltip-summary-{{ $loop->index }}" placement="top" message="{!! $item['tooltip'] !!}">
|
||||||
@if (! empty($item['href']))
|
@if (! empty($item['href']))
|
||||||
<x-link href="{{ $item['href'] }}" class="group" override="class">
|
<x-link href="{{ $item['href'] }}" class="group" override="class">
|
||||||
@endif
|
<div @class(['relative text-xl sm:text-6xl', $text_color, 'mb-2'])>
|
||||||
@php $text_color = (! empty($item['text_color'])) ? $item['text_color'] : 'text-purple group-hover:text-purple-700'; @endphp
|
{!! $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>
|
||||||
|
</x-link>
|
||||||
|
@else
|
||||||
<div @class(['relative text-xl sm:text-6xl', $text_color, 'mb-2'])>
|
<div @class(['relative text-xl sm:text-6xl', $text_color, 'mb-2'])>
|
||||||
{!! $item['amount'] !!}
|
{!! $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>
|
<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 +30,21 @@
|
|||||||
<span class="font-light mt-3">
|
<span class="font-light mt-3">
|
||||||
{!! $item['title'] !!}
|
{!! $item['title'] !!}
|
||||||
</span>
|
</span>
|
||||||
@if (! empty($item['href']))
|
|
||||||
</x-link>
|
|
||||||
@endif
|
@endif
|
||||||
</x-tooltip>
|
</x-tooltip>
|
||||||
@else
|
@else
|
||||||
@if (! empty($item['href']))
|
@if (! empty($item['href']))
|
||||||
<x-link href="{{ $item['href'] }}" class="group" override="class">
|
<x-link href="{{ $item['href'] }}" class="group" override="class">
|
||||||
@endif
|
<div @class(['relative text-xl sm:text-6xl', $text_color, 'mb-2'])>
|
||||||
@php $text_color = (! empty($item['text_color'])) ? $item['text_color'] : 'text-purple group-hover:text-purple-700'; @endphp
|
{!! $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>
|
||||||
|
</x-link>
|
||||||
|
@else
|
||||||
<div @class(['relative text-xl sm:text-6xl', $text_color, 'mb-2'])>
|
<div @class(['relative text-xl sm:text-6xl', $text_color, 'mb-2'])>
|
||||||
{!! $item['amount'] !!}
|
{!! $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>
|
<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 +53,6 @@
|
|||||||
<span class="font-light mt-3">
|
<span class="font-light mt-3">
|
||||||
{!! $item['title'] !!}
|
{!! $item['title'] !!}
|
||||||
</span>
|
</span>
|
||||||
@if (! empty($item['href']))
|
|
||||||
</x-link>
|
|
||||||
@endif
|
@endif
|
||||||
@endif
|
@endif
|
||||||
</div>
|
</div>
|
||||||
@ -46,13 +62,24 @@
|
|||||||
{!! $first !!}
|
{!! $first !!}
|
||||||
@elseif (! empty($first))
|
@elseif (! empty($first))
|
||||||
<div class="w-1/2 sm:w-1/3 text-center">
|
<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'))
|
@if ($first->attributes->has('tooltip'))
|
||||||
<x-tooltip id="tooltip-summary-first" placement="top" message="{!! $first->attributes->get('tooltip') !!}">
|
<x-tooltip id="tooltip-summary-first" placement="top" message="{!! $first->attributes->get('tooltip') !!}">
|
||||||
|
|
||||||
@if ($first->attributes->has('href'))
|
@if ($first->attributes->has('href'))
|
||||||
<x-link href="{{ $first->attributes->get('href') }}" class="group" override="class">
|
<x-link href="{{ $first->attributes->get('href') }}" class="group" override="class">
|
||||||
@endif
|
<div @class(['relative text-xl sm:text-6xl', $text_color, 'mb-2', $first->attributes->get('class')])>
|
||||||
@php $text_color = $first->attributes->has('text-color') ? $first->attributes->get('text-color') : 'text-purple group-hover:text-purple-700'; @endphp
|
{!! $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>
|
||||||
|
</x-link>
|
||||||
|
@else
|
||||||
<div @class(['relative text-xl sm:text-6xl', $text_color, 'mb-2', $first->attributes->get('class')])>
|
<div @class(['relative text-xl sm:text-6xl', $text_color, 'mb-2', $first->attributes->get('class')])>
|
||||||
{!! $first->attributes->get('amount') !!}
|
{!! $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>
|
<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 +88,21 @@
|
|||||||
<span class="font-light mt-3">
|
<span class="font-light mt-3">
|
||||||
{!! $first->attributes->get('title') !!}
|
{!! $first->attributes->get('title') !!}
|
||||||
</span>
|
</span>
|
||||||
@if ($first->attributes->has('href'))
|
|
||||||
</x-link>
|
|
||||||
@endif
|
@endif
|
||||||
|
|
||||||
</x-tooltip>
|
</x-tooltip>
|
||||||
@else
|
@else
|
||||||
@if ($first->attributes->has('href'))
|
@if ($first->attributes->has('href'))
|
||||||
<x-link href="{{ $first->attributes->get('href') }}" class="group" override="class">
|
<x-link href="{{ $first->attributes->get('href') }}" class="group" override="class">
|
||||||
@endif
|
<div @class(['relative text-xl sm:text-6xl', $text_color, 'mb-2', $first->attributes->get('class')])>
|
||||||
@php $text_color = $first->attributes->has('text-color') ? $first->attributes->get('text-color') : 'text-purple group-hover:text-purple-700'; @endphp
|
{!! $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>
|
||||||
|
</x-link>
|
||||||
|
@else
|
||||||
<div @class(['relative text-xl sm:text-6xl', $text_color, 'mb-2', $first->attributes->get('class')])>
|
<div @class(['relative text-xl sm:text-6xl', $text_color, 'mb-2', $first->attributes->get('class')])>
|
||||||
{!! $first->attributes->get('amount') !!}
|
{!! $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>
|
<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 +111,6 @@
|
|||||||
<span class="font-light mt-3">
|
<span class="font-light mt-3">
|
||||||
{!! $first->attributes->get('title') !!}
|
{!! $first->attributes->get('title') !!}
|
||||||
</span>
|
</span>
|
||||||
@if ($first->attributes->has('href'))
|
|
||||||
</x-link>
|
|
||||||
@endif
|
@endif
|
||||||
@endif
|
@endif
|
||||||
</div>
|
</div>
|
||||||
@ -96,13 +126,24 @@
|
|||||||
{!! $second !!}
|
{!! $second !!}
|
||||||
@elseif (! empty($second))
|
@elseif (! empty($second))
|
||||||
<div class="w-1/2 sm:w-1/3 text-center">
|
<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'))
|
@if ($second->attributes->has('tooltip'))
|
||||||
<x-tooltip id="tooltip-summary-second" placement="top" message="{!! $second->attributes->get('tooltip') !!}">
|
<x-tooltip id="tooltip-summary-second" placement="top" message="{!! $second->attributes->get('tooltip') !!}">
|
||||||
|
|
||||||
@if ($second->attributes->has('href'))
|
@if ($second->attributes->has('href'))
|
||||||
<x-link href="{{ $second->attributes->get('href') }}" class="group" override="class">
|
<x-link href="{{ $second->attributes->get('href') }}" class="group" override="class">
|
||||||
@endif
|
<div @class(['relative text-xl sm:text-6xl', $text_color, 'mb-2', $second->attributes->get('class')])>
|
||||||
@php $text_color = $second->attributes->has('text-color') ? $second->attributes->get('text-color') : 'text-purple group-hover:text-purple-700'; @endphp
|
{!! $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>
|
||||||
|
</x-link>
|
||||||
|
@else
|
||||||
<div @class(['relative text-xl sm:text-6xl', $text_color, 'mb-2', $second->attributes->get('class')])>
|
<div @class(['relative text-xl sm:text-6xl', $text_color, 'mb-2', $second->attributes->get('class')])>
|
||||||
{!! $second->attributes->get('amount') !!}
|
{!! $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>
|
<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 +152,21 @@
|
|||||||
<span class="font-light mt-3">
|
<span class="font-light mt-3">
|
||||||
{!! $second->attributes->get('title') !!}
|
{!! $second->attributes->get('title') !!}
|
||||||
</span>
|
</span>
|
||||||
|
|
||||||
@if ($second->attributes->has('href'))
|
|
||||||
</x-link>
|
|
||||||
@endif
|
@endif
|
||||||
|
|
||||||
</x-tooltip>
|
</x-tooltip>
|
||||||
@else
|
@else
|
||||||
@if ($second->attributes->has('href'))
|
@if ($second->attributes->has('href'))
|
||||||
<x-link href="{{ $second->attributes->get('href') }}" class="group" override="class">
|
<x-link href="{{ $second->attributes->get('href') }}" class="group" override="class">
|
||||||
@endif
|
<div @class(['relative text-xl sm:text-6xl', $text_color, 'mb-2', $second->attributes->get('class')])>
|
||||||
@php $text_color = $second->attributes->has('text-color') ? $second->attributes->get('text-color') : 'text-purple group-hover:text-purple-700'; @endphp
|
{!! $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>
|
||||||
|
</x-link>
|
||||||
|
@else
|
||||||
<div @class(['relative text-xl sm:text-6xl', $text_color, 'mb-2', $second->attributes->get('class')])>
|
<div @class(['relative text-xl sm:text-6xl', $text_color, 'mb-2', $second->attributes->get('class')])>
|
||||||
{!! $second->attributes->get('amount') !!}
|
{!! $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>
|
<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 +175,6 @@
|
|||||||
<span class="font-light mt-3">
|
<span class="font-light mt-3">
|
||||||
{!! $second->attributes->get('title') !!}
|
{!! $second->attributes->get('title') !!}
|
||||||
</span>
|
</span>
|
||||||
|
|
||||||
@if ($second->attributes->has('href'))
|
|
||||||
</x-link>
|
|
||||||
@endif
|
@endif
|
||||||
@endif
|
@endif
|
||||||
</div>
|
</div>
|
||||||
@ -148,13 +190,24 @@
|
|||||||
{!! $third !!}
|
{!! $third !!}
|
||||||
@elseif (! empty($third))
|
@elseif (! empty($third))
|
||||||
<div class="w-1/2 sm:w-1/3 text-center">
|
<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'))
|
@if ($third->attributes->has('tooltip'))
|
||||||
<x-tooltip id="tooltip-summary-third" placement="top" message="{!! $third->attributes->get('tooltip') !!}">
|
<x-tooltip id="tooltip-summary-third" placement="top" message="{!! $third->attributes->get('tooltip') !!}">
|
||||||
|
|
||||||
@if ($third->attributes->has('href'))
|
@if ($third->attributes->has('href'))
|
||||||
<x-link href="{{ $third->attributes->get('href') }}" class="group" override="class">
|
<x-link href="{{ $third->attributes->get('href') }}" class="group" override="class">
|
||||||
@endif
|
<div @class(['relative text-xl sm:text-6xl', $text_color, 'mb-2', $third->attributes->get('class')])>
|
||||||
@php $text_color = $third->attributes->has('text-color') ? $third->attributes->get('text-color') : 'text-purple group-hover:text-purple-700'; @endphp
|
{!! $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>
|
||||||
|
</x-link>
|
||||||
|
@else
|
||||||
<div @class(['relative text-xl sm:text-6xl', $text_color, 'mb-2', $third->attributes->get('class')])>
|
<div @class(['relative text-xl sm:text-6xl', $text_color, 'mb-2', $third->attributes->get('class')])>
|
||||||
{!! $third->attributes->get('amount') !!}
|
{!! $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>
|
<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 +216,21 @@
|
|||||||
<span class="font-light mt-3">
|
<span class="font-light mt-3">
|
||||||
{!! $third->attributes->get('title') !!}
|
{!! $third->attributes->get('title') !!}
|
||||||
</span>
|
</span>
|
||||||
@if ($third->attributes->has('href'))
|
|
||||||
</x-link>
|
|
||||||
@endif
|
@endif
|
||||||
|
|
||||||
</x-tooltip>
|
</x-tooltip>
|
||||||
@else
|
@else
|
||||||
@if ($third->attributes->has('href'))
|
@if ($third->attributes->has('href'))
|
||||||
<x-link href="{{ $third->attributes->get('href') }}" class="group" override="class">
|
<x-link href="{{ $third->attributes->get('href') }}" class="group" override="class">
|
||||||
@endif
|
<div @class(['relative text-xl sm:text-6xl', $text_color, 'mb-2', $third->attributes->get('class')])>
|
||||||
@php $text_color = $third->attributes->has('text-color') ? $third->attributes->get('text-color') : 'text-purple group-hover:text-purple-700'; @endphp
|
{!! $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>
|
||||||
|
</x-link>
|
||||||
|
@else
|
||||||
<div @class(['relative text-xl sm:text-6xl', $text_color, 'mb-2', $third->attributes->get('class')])>
|
<div @class(['relative text-xl sm:text-6xl', $text_color, 'mb-2', $third->attributes->get('class')])>
|
||||||
{!! $third->attributes->get('amount') !!}
|
{!! $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>
|
<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,11 +239,9 @@
|
|||||||
<span class="font-light mt-3">
|
<span class="font-light mt-3">
|
||||||
{!! $third->attributes->get('title') !!}
|
{!! $third->attributes->get('title') !!}
|
||||||
</span>
|
</span>
|
||||||
@if ($third->attributes->has('href'))
|
|
||||||
</x-link>
|
|
||||||
@endif
|
@endif
|
||||||
@endif
|
@endif
|
||||||
</div>
|
</div>
|
||||||
@endif
|
@endif
|
||||||
@endif
|
@endif
|
||||||
</div>
|
</div>
|
||||||
|
@ -28,7 +28,7 @@
|
|||||||
</div>
|
</div>
|
||||||
|
|
||||||
@stack('pagination_end')
|
@stack('pagination_end')
|
||||||
@else
|
@elseif (! count($reviews->data))
|
||||||
<div class="flex">
|
<div class="flex">
|
||||||
<small>{{ trans('general.no_records') }}</small>
|
<small>{{ trans('general.no_records') }}</small>
|
||||||
</div>
|
</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">
|
<table class="w-full rp-border-collapse">
|
||||||
@include($class->views['detail.table.header'])
|
@include($class->views['detail.table.header'])
|
||||||
@include($class->views['detail.table.body'])
|
@include($class->views['detail.table.body'])
|
||||||
|
@ -4,10 +4,37 @@
|
|||||||
@elseif (! empty($items))
|
@elseif (! empty($items))
|
||||||
@foreach ($items as $item)
|
@foreach ($items as $item)
|
||||||
<div @class(['w-1/2 sm:w-1/3 text-center'])>
|
<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']))
|
@if (! empty($item['tooltip']))
|
||||||
<x-tooltip id="tooltip-summary-{{ $loop->index }}" placement="top" message="{!! $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">
|
||||||
|
<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>
|
||||||
|
</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">
|
<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'])>
|
<div @class(['relative text-xl sm:text-6xl', $text_color, 'mb-2'])>
|
||||||
{!! $item['amount'] !!}
|
{!! $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>
|
<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 +44,7 @@
|
|||||||
{!! $item['title'] !!}
|
{!! $item['title'] !!}
|
||||||
</span>
|
</span>
|
||||||
</x-link>
|
</x-link>
|
||||||
</x-tooltip>
|
@else
|
||||||
@else
|
|
||||||
<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'])>
|
<div @class(['relative text-xl sm:text-6xl', $text_color, 'mb-2'])>
|
||||||
{!! $item['amount'] !!}
|
{!! $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>
|
<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>
|
||||||
@ -29,7 +53,7 @@
|
|||||||
<span class="font-light mt-3">
|
<span class="font-light mt-3">
|
||||||
{!! $item['title'] !!}
|
{!! $item['title'] !!}
|
||||||
</span>
|
</span>
|
||||||
</x-link>
|
@endif
|
||||||
@endif
|
@endif
|
||||||
</div>
|
</div>
|
||||||
@endforeach
|
@endforeach
|
||||||
@ -38,14 +62,25 @@
|
|||||||
{!! $first !!}
|
{!! $first !!}
|
||||||
@elseif (! empty($first))
|
@elseif (! empty($first))
|
||||||
<div class="w-1/2 sm:w-1/3 text-center">
|
<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'))
|
@if ($first->attributes->has('tooltip'))
|
||||||
<x-tooltip id="tooltip-summary-first" placement="top" message="{!! $first->attributes->get('tooltip') !!}">
|
<x-tooltip id="tooltip-summary-first" placement="top" message="{!! $first->attributes->get('tooltip') !!}">
|
||||||
|
|
||||||
@if ($first->attributes->has('href'))
|
@if ($first->attributes->has('href'))
|
||||||
<x-link href="{{ $first->attributes->get('hef') }}" class="group" override="class">
|
<x-link href="{{ $first->attributes->get('href') }}" class="group" override="class">
|
||||||
@endif
|
<div @class(['relative text-xl sm:text-6xl', $text_color, 'mb-2', $first->attributes->get('class')])>
|
||||||
@php $text_color = $first->attributes->has('text-color') ? $first->attributes->get('text-color') : 'text-purple group-hover:text-purple-700'; @endphp
|
{!! $first->attributes->get('amount') !!}
|
||||||
<div @class(['relative text-xl sm:text-6xl', $text_color, 'mb-2'])>
|
<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>
|
||||||
|
</x-link>
|
||||||
|
@else
|
||||||
|
<div @class(['relative text-xl sm:text-6xl', $text_color, 'mb-2', $first->attributes->get('class')])>
|
||||||
{!! $first->attributes->get('amount') !!}
|
{!! $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>
|
<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>
|
</div>
|
||||||
@ -53,17 +88,22 @@
|
|||||||
<span class="font-light mt-3">
|
<span class="font-light mt-3">
|
||||||
{!! $first->attributes->get('title') !!}
|
{!! $first->attributes->get('title') !!}
|
||||||
</span>
|
</span>
|
||||||
@if ($first->attributes->has('href'))
|
|
||||||
</x-link>
|
|
||||||
@endif
|
@endif
|
||||||
|
|
||||||
</x-tooltip>
|
</x-tooltip>
|
||||||
@else
|
@else
|
||||||
@if ($first->attributes->has('href'))
|
@if ($first->attributes->has('href'))
|
||||||
<x-link href="{{ $first->attributes->get('hef') }}" class="group" override="class">
|
<x-link href="{{ $first->attributes->get('href') }}" class="group" override="class">
|
||||||
@endif
|
<div @class(['relative text-xl sm:text-6xl', $text_color, 'mb-2', $first->attributes->get('class')])>
|
||||||
@php $text_color = $first->attributes->has('text-color') ? $first->attributes->get('text-color') : 'text-purple group-hover:text-purple-700'; @endphp
|
{!! $first->attributes->get('amount') !!}
|
||||||
<div @class(['relative text-xl sm:text-6xl', $text_color, 'mb-2'])>
|
<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>
|
||||||
|
</x-link>
|
||||||
|
@else
|
||||||
|
<div @class(['relative text-xl sm:text-6xl', $text_color, 'mb-2', $first->attributes->get('class')])>
|
||||||
{!! $first->attributes->get('amount') !!}
|
{!! $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>
|
<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>
|
</div>
|
||||||
@ -71,8 +111,6 @@
|
|||||||
<span class="font-light mt-3">
|
<span class="font-light mt-3">
|
||||||
{!! $first->attributes->get('title') !!}
|
{!! $first->attributes->get('title') !!}
|
||||||
</span>
|
</span>
|
||||||
@if ($first->attributes->has('href'))
|
|
||||||
</x-link>
|
|
||||||
@endif
|
@endif
|
||||||
@endif
|
@endif
|
||||||
</div>
|
</div>
|
||||||
@ -88,14 +126,25 @@
|
|||||||
{!! $second !!}
|
{!! $second !!}
|
||||||
@elseif (! empty($second))
|
@elseif (! empty($second))
|
||||||
<div class="w-1/2 sm:w-1/3 text-center">
|
<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'))
|
@if ($second->attributes->has('tooltip'))
|
||||||
<x-tooltip id="tooltip-summary-second" placement="top" message="{!! $second->attributes->get('tooltip') !!}">
|
<x-tooltip id="tooltip-summary-second" placement="top" message="{!! $second->attributes->get('tooltip') !!}">
|
||||||
|
|
||||||
@if ($second->attributes->has('href'))
|
@if ($second->attributes->has('href'))
|
||||||
<x-link href="{{ $second->attributes->get('hef') }}" class="group" override="class">
|
<x-link href="{{ $second->attributes->get('href') }}" class="group" override="class">
|
||||||
@endif
|
<div @class(['relative text-xl sm:text-6xl', $text_color, 'mb-2', $second->attributes->get('class')])>
|
||||||
@php $text_color = $second->attributes->has('text-color') ? $second->attributes->get('text-color') : 'text-purple group-hover:text-purple-700'; @endphp
|
{!! $second->attributes->get('amount') !!}
|
||||||
<div @class(['relative text-xl sm:text-6xl', $text_color, 'mb-2'])>
|
<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>
|
||||||
|
</x-link>
|
||||||
|
@else
|
||||||
|
<div @class(['relative text-xl sm:text-6xl', $text_color, 'mb-2', $second->attributes->get('class')])>
|
||||||
{!! $second->attributes->get('amount') !!}
|
{!! $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>
|
<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>
|
</div>
|
||||||
@ -103,17 +152,22 @@
|
|||||||
<span class="font-light mt-3">
|
<span class="font-light mt-3">
|
||||||
{!! $second->attributes->get('title') !!}
|
{!! $second->attributes->get('title') !!}
|
||||||
</span>
|
</span>
|
||||||
@if ($second->attributes->has('href'))
|
|
||||||
</x-link>
|
|
||||||
@endif
|
@endif
|
||||||
|
|
||||||
</x-tooltip>
|
</x-tooltip>
|
||||||
@else
|
@else
|
||||||
@if ($second->attributes->has('href'))
|
@if ($second->attributes->has('href'))
|
||||||
<x-link href="{{ $second->attributes->get('hef') }}" class="group" override="class">
|
<x-link href="{{ $second->attributes->get('href') }}" class="group" override="class">
|
||||||
@endif
|
<div @class(['relative text-xl sm:text-6xl', $text_color, 'mb-2', $second->attributes->get('class')])>
|
||||||
@php $text_color = $second->attributes->has('text-color') ? $second->attributes->get('text-color') : 'text-purple group-hover:text-purple-700'; @endphp
|
{!! $second->attributes->get('amount') !!}
|
||||||
<div @class(['relative text-xl sm:text-6xl', $text_color, 'mb-2'])>
|
<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>
|
||||||
|
</x-link>
|
||||||
|
@else
|
||||||
|
<div @class(['relative text-xl sm:text-6xl', $text_color, 'mb-2', $second->attributes->get('class')])>
|
||||||
{!! $second->attributes->get('amount') !!}
|
{!! $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>
|
<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>
|
</div>
|
||||||
@ -121,8 +175,6 @@
|
|||||||
<span class="font-light mt-3">
|
<span class="font-light mt-3">
|
||||||
{!! $second->attributes->get('title') !!}
|
{!! $second->attributes->get('title') !!}
|
||||||
</span>
|
</span>
|
||||||
@if ($second->attributes->has('href'))
|
|
||||||
</x-link>
|
|
||||||
@endif
|
@endif
|
||||||
@endif
|
@endif
|
||||||
</div>
|
</div>
|
||||||
@ -141,10 +193,18 @@
|
|||||||
@if ($third->attributes->has('tooltip'))
|
@if ($third->attributes->has('tooltip'))
|
||||||
<x-tooltip id="tooltip-summary-third" placement="top" message="{!! $third->attributes->get('tooltip') !!}">
|
<x-tooltip id="tooltip-summary-third" placement="top" message="{!! $third->attributes->get('tooltip') !!}">
|
||||||
@if ($third->attributes->has('href'))
|
@if ($third->attributes->has('href'))
|
||||||
<x-link href="{{ $third->attributes->get('hef') }}" class="group" override="class">
|
<x-link href="{{ $third->attributes->get('href') }}" class="group" override="class">
|
||||||
@endif
|
<div @class(['relative text-xl sm:text-6xl', $text_color, 'mb-2', $third->attributes->get('class')])>
|
||||||
@php $text_color = $third->attributes->has('text-color') ? $third->attributes->get('text-color') : 'text-purple group-hover:text-purple-700'; @endphp
|
{!! $third->attributes->get('amount') !!}
|
||||||
<div @class(['relative text-xl sm:text-6xl', $text_color, 'mb-2'])>
|
<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>
|
||||||
|
</x-link>
|
||||||
|
@else
|
||||||
|
<div @class(['relative text-xl sm:text-6xl', $text_color, 'mb-2', $third->attributes->get('class')])>
|
||||||
{!! $third->attributes->get('amount') !!}
|
{!! $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>
|
<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>
|
</div>
|
||||||
@ -152,16 +212,22 @@
|
|||||||
<span class="font-light mt-3">
|
<span class="font-light mt-3">
|
||||||
{!! $third->attributes->get('title') !!}
|
{!! $third->attributes->get('title') !!}
|
||||||
</span>
|
</span>
|
||||||
@if ($third->attributes->has('href'))
|
|
||||||
</x-link>
|
|
||||||
@endif
|
@endif
|
||||||
</x-tooltip>
|
</x-tooltip>
|
||||||
@else
|
@else
|
||||||
@if ($third->attributes->has('href'))
|
@if ($third->attributes->has('href'))
|
||||||
<x-link href="{{ $third->attributes->get('hef') }}" class="group" override="class">
|
<x-link href="{{ $third->attributes->get('href') }}" class="group" override="class">
|
||||||
@endif
|
<div @class(['relative text-xl sm:text-6xl', $text_color, 'mb-2', $third->attributes->get('class')])>
|
||||||
@php $text_color = $third->attributes->has('text-color') ? $third->attributes->get('text-color') : 'text-purple group-hover:text-purple-700'; @endphp
|
{!! $third->attributes->get('amount') !!}
|
||||||
<div @class(['relative text-xl sm:text-6xl', $text_color, 'mb-2'])>
|
<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>
|
||||||
|
</x-link>
|
||||||
|
@else
|
||||||
|
<div @class(['relative text-xl sm:text-6xl', $text_color, 'mb-2', $third->attributes->get('class')])>
|
||||||
{!! $third->attributes->get('amount') !!}
|
{!! $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>
|
<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>
|
</div>
|
||||||
@ -169,8 +235,6 @@
|
|||||||
<span class="font-light mt-3">
|
<span class="font-light mt-3">
|
||||||
{!! $third->attributes->get('title') !!}
|
{!! $third->attributes->get('title') !!}
|
||||||
</span>
|
</span>
|
||||||
@if ($third->attributes->has('href'))
|
|
||||||
</x-link>
|
|
||||||
@endif
|
@endif
|
||||||
@endif
|
@endif
|
||||||
</div>
|
</div>
|
||||||
|
@ -1,69 +1,68 @@
|
|||||||
<div class="p-7 shadow-2xl rounded-2xl">
|
<div class="p-7 shadow-2xl rounded-2xl">
|
||||||
@if ($transactionTemplate)
|
@switch($transactionTemplate)
|
||||||
@switch($transactionTemplate)
|
@case('classic')
|
||||||
@case('classic')
|
@break
|
||||||
@break
|
@case('modern')
|
||||||
@case('modern')
|
@break
|
||||||
@break
|
@case('default')
|
||||||
@default
|
<x-transactions.template.ddefault
|
||||||
<x-transactions.template.ddefault
|
type="{{ $type }}"
|
||||||
type="{{ $type }}"
|
:transaction="$transaction"
|
||||||
:transaction="$transaction"
|
:payment_methods="$payment_methods"
|
||||||
:payment_methods="$payment_methods"
|
transaction-template="{{ $transactionTemplate }}"
|
||||||
transaction-template="{{ $transactionTemplate }}"
|
logo="{{ $logo }}"
|
||||||
logo="{{ $logo }}"
|
hide-company="{{ $hideCompany }}"
|
||||||
hide-company="{{ $hideCompany }}"
|
hide-company-logo="{{ $hideCompanyLogo }}"
|
||||||
hide-company-logo="{{ $hideCompanyLogo }}"
|
hide-company-details="{{ $hideCompanyDetails }}"
|
||||||
hide-company-details="{{ $hideCompanyDetails }}"
|
hide-company-name="{{ $hideCompanyName }}"
|
||||||
hide-company-name="{{ $hideCompanyName }}"
|
hide-company-address="{{ $hideCompanyAddress }}"
|
||||||
hide-company-address="{{ $hideCompanyAddress }}"
|
hide-company-tax-number="{{ $hideCompanyTaxNumber }}"
|
||||||
hide-company-tax-number="{{ $hideCompanyTaxNumber }}"
|
hide-company-phone="{{ $hideCompanyPhone }}"
|
||||||
hide-company-phone="{{ $hideCompanyPhone }}"
|
hide-company-email="{{ $hideCompanyEmail }}"
|
||||||
hide-company-email="{{ $hideCompanyEmail }}"
|
hide-content-title="{{ $hideContentTitle }}"
|
||||||
hide-content-title="{{ $hideContentTitle }}"
|
hide-number="{{ $hideNumber }}"
|
||||||
hide-number="{{ $hideNumber }}"
|
hide-paid-at="{{ $hidePaidAt }}"
|
||||||
hide-paid-at="{{ $hidePaidAt }}"
|
hide-account="{{ $hideAccount }}"
|
||||||
hide-account="{{ $hideAccount }}"
|
hide-category="{{ $hideCategory }}"
|
||||||
hide-category="{{ $hideCategory }}"
|
hide-payment-methods="{{ $hidePaymentMethods }}"
|
||||||
hide-payment-methods="{{ $hidePaymentMethods }}"
|
hide-reference="{{ $hideReference }}"
|
||||||
hide-reference="{{ $hideReference }}"
|
hide-description="{{ $hideDescription }}"
|
||||||
hide-description="{{ $hideDescription }}"
|
hide-amount="{{ $hideAmount }}"
|
||||||
hide-amount="{{ $hideAmount }}"
|
text-content-title="{{ $textContentTitle }}"
|
||||||
text-content-title="{{ $textContentTitle }}"
|
text-number="{{ $textNumber }}"
|
||||||
text-number="{{ $textNumber }}"
|
text-paid-at="{{ $textPaidAt }}"
|
||||||
text-paid-at="{{ $textPaidAt }}"
|
text-account="{{ $textAccount }}"
|
||||||
text-account="{{ $textAccount }}"
|
text-category="{{ $textCategory }}"
|
||||||
text-category="{{ $textCategory }}"
|
text-payment-methods="{{ $textPaymentMethods }}"
|
||||||
text-payment-methods="{{ $textPaymentMethods }}"
|
text-reference="{{ $textReference }}"
|
||||||
text-reference="{{ $textReference }}"
|
text-description="{{ $textDescription }}"
|
||||||
text-description="{{ $textDescription }}"
|
text-paid-by="{{ $textPaidBy }}"
|
||||||
text-paid-by="{{ $textPaidBy }}"
|
hide-contact="{{ $hideContact }}"
|
||||||
hide-contact="{{ $hideContact }}"
|
hide-contact-info="{{ $hideContactInfo }}"
|
||||||
hide-contact-info="{{ $hideContactInfo }}"
|
hide-contact-name="{{ $hideContactName }}"
|
||||||
hide-contact-name="{{ $hideContactName }}"
|
hide-contact-address="{{ $hideContactAddress }}"
|
||||||
hide-contact-address="{{ $hideContactAddress }}"
|
hide-contact-tax-number="{{ $hideContactTaxNumber }}"
|
||||||
hide-contact-tax-number="{{ $hideContactTaxNumber }}"
|
hide-contact-phone="{{ $hideContactPhone }}"
|
||||||
hide-contact-phone="{{ $hideContactPhone }}"
|
hide-contact-email="{{ $hideContactEmail }}"
|
||||||
hide-contact-email="{{ $hideContactEmail }}"
|
hide-related="{{ $hideRelated }}"
|
||||||
hide-related="{{ $hideRelated }}"
|
hide-related-document-number="{{ $hideRelatedDocumentNumber }}"
|
||||||
hide-related-document-number="{{ $hideRelatedDocumentNumber }}"
|
hide-related-contact="{{ $hideRelatedContact }}"
|
||||||
hide-related-contact="{{ $hideRelatedContact }}"
|
hide-related-document-date="{{ $hideRelatedDocumentDate }}"
|
||||||
hide-related-document-date="{{ $hideRelatedDocumentDate }}"
|
hide-related-document-amount="{{ $hideRelatedDocumentAmount }}"
|
||||||
hide-related-document-amount="{{ $hideRelatedDocumentAmount }}"
|
hide-related-amount="{{ $hideRelatedAmount }}"
|
||||||
hide-related-amount="{{ $hideRelatedAmount }}"
|
text-related-transaction="{{ $textRelatedTransansaction }}"
|
||||||
text-related-transaction="{{ $textRelatedTransansaction }}"
|
text-related-document-number="{{ $textRelatedDocumentNumber }}"
|
||||||
text-related-document-number="{{ $textRelatedDocumentNumber }}"
|
text-related-contact="{{ $textRelatedContact }}"
|
||||||
text-related-contact="{{ $textRelatedContact }}"
|
text-related-document-date="{{ $textRelatedDocumentDate }}"
|
||||||
text-related-document-date="{{ $textRelatedDocumentDate }}"
|
text-related-document-amount="{{ $textRelatedDocumentAmount }}"
|
||||||
text-related-document-amount="{{ $textRelatedDocumentAmount }}"
|
text-related-amount="{{ $textRelatedAmount }}"
|
||||||
text-related-amount="{{ $textRelatedAmount }}"
|
route-document-show="{{ $routeDocumentShow }}"
|
||||||
route-document-show="{{ $routeDocumentShow }}"
|
/>
|
||||||
/>
|
@break
|
||||||
@endswitch
|
@default
|
||||||
@else
|
@include($transactionTemplate)
|
||||||
@include($transactionTemplate)
|
@endswitch
|
||||||
@endif
|
|
||||||
|
|
||||||
<akaunting-connect-transactions
|
<akaunting-connect-transactions
|
||||||
:show="connect.show"
|
:show="connect.show"
|
||||||
:transaction="connect.transaction"
|
:transaction="connect.transaction"
|
||||||
|
36
safelist.txt
36
safelist.txt
@ -1,11 +1,20 @@
|
|||||||
xl:pt-6
|
xl:pt-6
|
||||||
lg:mt-2
|
lg:mt-2
|
||||||
ltr:-right-1.5
|
|
||||||
rtl:-left-1.5
|
|
||||||
lg:pl-24
|
lg:pl-24
|
||||||
lg:my-12
|
lg:my-12
|
||||||
lg:mt-4
|
lg:mt-4
|
||||||
lg:pl-6
|
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:text-6xl
|
||||||
lg:h-6
|
lg:h-6
|
||||||
lg:text-xl
|
lg:text-xl
|
||||||
@ -19,25 +28,4 @@ lg:rtl:mr-72
|
|||||||
lg:space-x-8
|
lg:space-x-8
|
||||||
lg:text-4xl
|
lg:text-4xl
|
||||||
lg:top-7
|
lg:top-7
|
||||||
ltr:border-l-8
|
lg:max-w-lg
|
||||||
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