Update index.blade.php
This commit is contained in:
parent
9dc83d5a63
commit
d7cfad76dd
@ -46,7 +46,14 @@
|
|||||||
<td class="col-xs-4 col-sm-3 col-md-2">{{ trans_choice('general.' . Str::plural($item->type), 1) }}</td>
|
<td class="col-xs-4 col-sm-3 col-md-2">{{ trans_choice('general.' . Str::plural($item->type), 1) }}</td>
|
||||||
<td class="col-sm-2 col-md-2 hidden-sm">{{ $item->category->name }}</td>
|
<td class="col-sm-2 col-md-2 hidden-sm">{{ $item->category->name }}</td>
|
||||||
<td class="col-md-2 hidden-md">{{ $item->description }}</td>
|
<td class="col-md-2 hidden-md">{{ $item->description }}</td>
|
||||||
<td class="col-xs-4 col-sm-2 col-md-2 text-right">@money($item->amount, $item->currency_code, true)</td>
|
@if(!is_null($item->bill_id))
|
||||||
|
@else
|
||||||
|
<td class="col-xs-4 col-sm-2 col-md-2 text-right">
|
||||||
|
<a href="{{ route('bills.show', $item->bill_id) }}">
|
||||||
|
@money($item->amount, $item->currency_code, true)
|
||||||
|
</a>
|
||||||
|
</td>
|
||||||
|
@endif
|
||||||
</tr>
|
</tr>
|
||||||
@endforeach
|
@endforeach
|
||||||
</tbody>
|
</tbody>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user