item aligment updated for all shows

This commit is contained in:
batuhanbas
2020-01-24 21:20:08 +03:00
parent c9d25c9abf
commit 07c3d1fb3e
5 changed files with 37 additions and 32 deletions

View File

@@ -322,15 +322,15 @@
<tbody>
<tr class="row">
@stack('name_th_start')
<th class="col-xs-4 col-sm-3 pl-5">{{ trans_choice('general.items', 1) }}</th>
<th class="col-xs-4 col-sm-5 pl-5">{{ trans_choice('general.items', 1) }}</th>
@stack('name_th_end')
@stack('quantity_th_start')
<th class="col-xs-4 col-sm-3 text-center">{{ trans('bills.quantity') }}</th>
<th class="col-xs-4 col-sm-1 text-center">{{ trans('bills.quantity') }}</th>
@stack('quantity_th_end')
@stack('price_th_start')
<th class="col-sm-3 text-right d-none d-sm-block pl-5">{{ trans('bills.price') }}</th>
<th class="col-sm-3 text-right d-none d-sm-block">{{ trans('bills.price') }}</th>
@stack('price_th_end')
@stack('total_th_start')
@@ -340,20 +340,20 @@
@foreach($bill->items as $bill_item)
<tr class="row">
@stack('name_td_start')
<td class="col-xs-4 col-sm-3 pl-5 long-texts">
<td class="col-xs-4 col-sm-5 pl-5">
{{ $bill_item->name }}
@if (!empty($bill_item->item->description))
<br><small>{!! \Illuminate\Support\Str::limit($bill_item->item->description, 500) !!}<small>
<br><small class="text-pre-nowrap">{!! \Illuminate\Support\Str::limit($bill_item->item->description, 500) !!}<small>
@endif
</td>
@stack('name_td_end')
@stack('quantity_td_start')
<td class="col-xs-4 col-sm-3 text-center">{{ $bill_item->quantity }}</td>
<td class="col-xs-4 col-sm-1 text-center">{{ $bill_item->quantity }}</td>
@stack('quantity_td_end')
@stack('price_td_start')
<td class="col-sm-3 text-right d-none d-sm-block pl-8">@money($bill_item->price, $bill->currency_code, true)</td>
<td class="col-sm-3 text-right d-none d-sm-block">@money($bill_item->price, $bill->currency_code, true)</td>
@stack('price_td_end')
@stack('total_td_start')