{{ trans_choice('general.items', 2) }}
    
    
        @can('create-common-items')
            
                {{ trans('general.title.new', ['type' => trans_choice('general.items', 1)]) }}
            
        @endcan
    
    
        
            
                more_horiz
            
            @can('create-common-items')
                
                    {{ trans('import.import') }}
                
            @endcan
            
                {{ trans('general.export') }}
            
        
    
    
        @if ($items->count() || request()->get('search', false))
            
                
                
                    
                        
                            
                                
                            
                            
                                
                                    
                                
                                
                                    
                                
                            
                            
                                
                            
                            
                                {{ trans_choice('general.taxes', 2) }}
                            
                            
                                
                                    
                                
                                
                                    
                                
                            
                        
                    
                    
                        @foreach($items as $item)
                            
                                
                                    
                                
                                
                                    
                                        
                                            {{ $item->name }}
                                        
                                        @if (! $item->enabled)
                                            
                                        @endif
                                    
                                    
                                        {{ $item->description }}
                                    
                                
                                
                                    
                                        
                                    
                                
                                
                                    @if ($item->taxes->count())
                                        @foreach($item->taxes as $tax)
                                            
                                                {{ $tax->tax->name }}
                                            
                                        @endforeach
                                    @else
                                        
                                    @endif
                                
                                
                                    
                                        @if ($item->sale_price)
                                            
                                        @else
                                            
                                        @endif
                                    
                                    
                                        @if ($item->purchase_price)
                                            
                                        @else
                                            
                                        @endif
                                    
                                
                                
                                    
                                
                            
                        @endforeach
                    
                
                
            
        @else
            
        @endif