Media show stylesheet...
This commit is contained in:
		@@ -339,23 +339,8 @@
 | 
			
		||||
                    </div>
 | 
			
		||||
 | 
			
		||||
                    @if($invoice->attachment)
 | 
			
		||||
                        <span class="attachment">
 | 
			
		||||
                            <a href="{{ url('uploads/' . $invoice->attachment->id . '/download') }}">
 | 
			
		||||
                                <span id="download-attachment" class="text-primary">
 | 
			
		||||
                                    <i class="fa fa-file-{{ $invoice->attachment->aggregate_type }}-o"></i> {{ $invoice->attachment->basename }}
 | 
			
		||||
                                </span>
 | 
			
		||||
                            </a>
 | 
			
		||||
                            {!! Form::open([
 | 
			
		||||
                                'id' => 'attachment-' . $invoice->attachment->id,
 | 
			
		||||
                                'method' => 'DELETE',
 | 
			
		||||
                                'url' => [url('uploads/' . $invoice->attachment->id)],
 | 
			
		||||
                                'style' => 'display:inline'
 | 
			
		||||
                            ]) !!}
 | 
			
		||||
                            <a id="remove-attachment" href="javascript:void();">
 | 
			
		||||
                                <span class="text-danger"><i class="fa fa fa-times"></i></span>
 | 
			
		||||
                            </a>
 | 
			
		||||
                            {!! Form::close() !!}
 | 
			
		||||
                        </span>
 | 
			
		||||
                    @php $file = $invoice->attachment; @endphp
 | 
			
		||||
                    @include('partials.media.file')
 | 
			
		||||
                    @endif
 | 
			
		||||
                </div>
 | 
			
		||||
            </div>
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user