akaunting 3.0 (the last dance)

This commit is contained in:
Burak Civan
2022-06-01 10:15:55 +03:00
parent cead09f6d4
commit d9c0764572
3812 changed files with 126831 additions and 102949 deletions

View File

@ -0,0 +1,29 @@
<td class="{{ $class }}" {{ $attributes }}>
@if (!empty($first))
@php
$first_attributes = $first->attributes;
if ((! $first->attributes->has('override')) || ($first->attributes->has('override') && ! in_array('class', explode(',', $first->attributes->get('override'))))) {
$first_attributes = $first->attributes->merge(['class' => 'font-medium truncate']);
}
@endphp
<div {{ $first_attributes }}>
{!! $first !!}
</div>
@endif
@if (!empty($second))
@php
$second_attributes = $second->attributes;
if ((! $second->attributes->has('override')) || ($second->attributes->has('override') && ! in_array('class', explode(',', $second->attributes->get('override'))))) {
$second_attributes = $second->attributes->merge(['class' => 'font-normal truncate']);
}
@endphp
<div {{ $second_attributes }}>
{!! $second !!}
</div>
@endif
{{ $slot }}
</td>