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

@ -1,24 +1,12 @@
<div id="widget-{{ $class->model->id }}" class="{{ $class->model->settings->width }}">
<div class="card">
@include($class->views['header'], ['header_class' => 'border-bottom-0'])
<div id="widget-{{ $class->model->id }}" class="{{ $class->model->settings->width }} my-8">
@include($class->views['header'], ['header_class' => ''])
<div class="table-responsive">
<table class="table align-items-center table-flush">
<thead class="thead-light">
<tr class="row table-head-line">
<th class="col-xs-6 col-md-6 text-left">{{ trans('general.name') }}</th>
<th class="col-xs-6 col-md-6 text-right">{{ trans('general.balance') }}</th>
</tr>
</thead>
<tbody class="thead-light">
@foreach($accounts as $item)
<tr class="row border-top-1 tr-py">
<td class="col-xs-6 col-md-6 text-left long-texts">{{ $item->name }}</td>
<td class="col-xs-6 col-md-6 text-right">@money($item->balance, $item->currency_code, true)</td>
</tr>
@endforeach
</tbody>
</table>
</div>
</div>
<ul class="text-sm space-y-3 my-3">
@foreach($accounts as $item)
<li class="flex justify-between">
{{ $item->name }}
<span class="font-medium">{{ $item->balance_formatted }}</span>
</li>
@endforeach
</ul>
</div>