all list pages updated same height

This commit is contained in:
batuhanbas
2020-02-09 16:06:06 +03:00
parent 04af057194
commit c46ab7b14f
11 changed files with 44 additions and 26 deletions

View File

@@ -123,7 +123,7 @@
</thead>
<tbody>
@foreach($transactions as $item)
<tr class="row align-items-center border-top-1">
<tr class="row align-items-center border-top-1 tr-py">
<td class="col-xs-6 col-sm-3">@date($item->paid_at)</td>
<td class="col-xs-6 col-sm-3 text-right">@money($item->amount, $item->currency_code, true)</td>
<td class="col-sm-3 d-none d-sm-block">{{ $item->category ? $item->category->name : trans('general.na') }}</td>
@@ -155,12 +155,12 @@
</thead>
<tbody>
@foreach($bills as $item)
<tr class="row align-items-center border-top-1">
<tr class="row align-items-center border-top-1 tr-py">
<td class="col-xs-4 col-sm-1"><a href="{{ route('bills.show', $item->id) }}">{{ $item->bill_number }}</a></td>
<td class="col-xs-4 col-sm-3 text-right">@money($item->amount, $item->currency_code, true)</td>
<td class="col-sm-3 d-none d-sm-block text-left">@date($item->billed_at)</td>
<td class="col-sm-3 d-none d-sm-block text-left">@date($item->due_at)</td>
<td class="col-xs-4 col-sm-2"><span class="badge badge-pill badge-{{ $item->status_label }}">{{ trans('bills.statuses.' . $item->status) }}</span></td>
<td class="col-xs-4 col-sm-2"><span class="badge badge-pill badge-{{ $item->status_label }} my--2">{{ trans('bills.statuses.' . $item->status) }}</span></td>
</tr>
@endforeach
</tbody>