some changes for attachment
This commit is contained in:
parent
97afc50cfa
commit
94b7e9ec64
@ -203,7 +203,9 @@
|
||||
$('#attachment').fancyfile({
|
||||
text : '{{ trans('general.form.select.file') }}',
|
||||
style : 'btn-default',
|
||||
@if($invoice->attachment)
|
||||
placeholder : '<?php echo $invoice->attachment->basename; ?>'
|
||||
@endif
|
||||
});
|
||||
|
||||
var autocomplete_path = "{{ url('items/items/autocomplete') }}";
|
||||
|
@ -178,6 +178,12 @@
|
||||
@endpermission
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
@if($invoice->attachment)
|
||||
<span>
|
||||
<a href=""><i class="fa fa-file-{{ $invoice->attachment->aggregate_type }}-o"></i> {{ $invoice->attachment->basename }}</a> <i class="fa fa fa-times"></i>
|
||||
</span>
|
||||
@endif
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
|
Loading…
x
Reference in New Issue
Block a user