items of invoices and bills moved to partials path
This commit is contained in:
		@@ -132,29 +132,8 @@
 | 
			
		||||
                        </tr>
 | 
			
		||||
                    </thead>
 | 
			
		||||
                    <tbody>
 | 
			
		||||
                        @foreach($invoice->items as $invoice_item)
 | 
			
		||||
                            <tr>
 | 
			
		||||
                                @stack('name_td_start')
 | 
			
		||||
                                    <td class="item">
 | 
			
		||||
                                        {{ $invoice_item->name }}
 | 
			
		||||
                                        @if (!empty($invoice_item->item->description))
 | 
			
		||||
                                            <br><small>{!! \Illuminate\Support\Str::limit($invoice_item->item->description, 500) !!}</small>
 | 
			
		||||
                                        @endif
 | 
			
		||||
                                    </td>
 | 
			
		||||
                                @stack('name_td_end')
 | 
			
		||||
 | 
			
		||||
                                @stack('quantity_td_start')
 | 
			
		||||
                                    <td class="quantity">{{ $invoice_item->quantity }}</td>
 | 
			
		||||
                                @stack('quantity_td_end')
 | 
			
		||||
 | 
			
		||||
                                @stack('price_td_start')
 | 
			
		||||
                                    <td class="price">@money($invoice_item->price, $invoice->currency_code, true)</td>
 | 
			
		||||
                                @stack('price_td_end')
 | 
			
		||||
 | 
			
		||||
                                @stack('total_td_start')
 | 
			
		||||
                                    <td class="total">@money($invoice_item->total, $invoice->currency_code, true)</td>
 | 
			
		||||
                                @stack('total_td_end')
 | 
			
		||||
                            </tr>
 | 
			
		||||
                        @foreach($invoice->items as $item)
 | 
			
		||||
                            @include('partials.documents.item.print')
 | 
			
		||||
                        @endforeach
 | 
			
		||||
                    </tbody>
 | 
			
		||||
                </table>
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user