added amount due to email templates

This commit is contained in:
Denis Duliçi
2021-01-22 14:24:53 +03:00
parent ab0553bfb4
commit dbab1d93c3
5 changed files with 26 additions and 5 deletions

View File

@ -20,8 +20,13 @@
<div class="row">
@foreach($templates as $template)
@php $aria_expanded_status = in_array($card, [1, 2]) ? 'true' : 'false'; @endphp
@php $collapse_status = in_array($card, [1, 2]) ? 'show' : ''; @endphp
@php
if (!class_exists($template->class)) {
continue;
}
$aria_expanded_status = in_array($card, [1, 2]) ? 'true' : 'false';
$collapse_status = in_array($card, [1, 2]) ? 'show' : '';
@endphp
<div class="col-md-6">
<div class="accordion" id="accordion-{{ $card }}">