Merge pull request #1166 from batuhawk/master

Vendor bills table column display updated
This commit is contained in:
Batuhan Baş 2020-01-22 12:57:29 +03:00 committed by GitHub
commit 6e193f704b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -117,8 +117,8 @@
<tr class="row table-head-line"> <tr class="row table-head-line">
<th class="col-xs-6 col-sm-3">{{ trans('general.date') }}</th> <th class="col-xs-6 col-sm-3">{{ trans('general.date') }}</th>
<th class="col-xs-6 col-sm-2">{{ trans('general.amount') }}</th> <th class="col-xs-6 col-sm-2">{{ trans('general.amount') }}</th>
<th class="col-sm-4 d-none d-sm-none">{{ trans_choice('general.categories', 1) }}</th> <th class="col-sm-4 d-none d-sm-block">{{ trans_choice('general.categories', 1) }}</th>
<th class="col-sm-3 d-none d-sm-none">{{ trans_choice('general.accounts', 1) }}</th> <th class="col-sm-3 d-none d-sm-block">{{ trans_choice('general.accounts', 1) }}</th>
</tr> </tr>
</thead> </thead>
<tbody> <tbody>
@ -126,8 +126,8 @@
<tr class="row align-items-center border-top-1"> <tr class="row align-items-center border-top-1">
<td class="col-xs-6 col-sm-3">@date($item->paid_at)</td> <td class="col-xs-6 col-sm-3">@date($item->paid_at)</td>
<td class="col-xs-6 col-sm-2">@money($item->amount, $item->currency_code, true)</td> <td class="col-xs-6 col-sm-2">@money($item->amount, $item->currency_code, true)</td>
<td class="col-sm-4 d-none d-sm-none">{{ $item->category ? $item->category->name : trans('general.na') }}</td> <td class="col-sm-4 d-none d-sm-block">{{ $item->category ? $item->category->name : trans('general.na') }}</td>
<td class="col-sm-3 d-none d-sm-none">{{ $item->account->name }}</td> <td class="col-sm-3 d-none d-sm-block">{{ $item->account->name }}</td>
</tr> </tr>
@endforeach @endforeach
</tbody> </tbody>