App show information slot added.. ( #1zv4tzv )

This commit is contained in:
Cüneyt Şentürk 2022-06-13 16:00:25 +03:00
parent c8fddf8f5d
commit 709d6b12f4
3 changed files with 13 additions and 10 deletions

View File

@ -0,0 +1,11 @@
@props(['module'])
<div x-show="price_type == true" class="text-center text-sm mt-3 mb--2">
<span style="height: 21px;display: block;"></span>
</div>
<div x-show="price_type == false" class="text-center text-sm mt-3 mb--2">
<span style="font-size: 12px;">
<span class="text-danger">*</span> <a href="https://akaunting.com/features/why-akaunting-cloud?utm_source=app&utm_medium=show&utm_campaign={{ $module->name }}" target="_blank">{!! trans('modules.information_monthly') !!}</a>
</span>
</div>

View File

@ -18,10 +18,6 @@
{!! $module->yearly_per_monthly_price !!}
</span>
@endif
<div class="text-center text-sm mt-3 mb--2">
<span style="height: 18px;display: block;"></span>
</div>
</div>
<div x-show="price_type == false">
@ -38,12 +34,6 @@
{!! $module->monthly_price !!}
</span>
@endif
<div class="text-center text-sm mt-3 mb--2">
<span style="font-size: 12px;">
<span class="text-danger">*</span> {!! trans('modules.information_monthly') !!}
</span>
</div>
</div>
{!! $module->price_suffix !!}

View File

@ -105,6 +105,8 @@
@endif
</div>
</div>
<x-layouts.modules.show.information :module="$module" />
</div>
<div class="flex justify-around space-x-12 mt-5">