some changes for attachment

This commit is contained in:
cuneytsenturk
2017-12-28 17:45:34 +03:00
parent 97afc50cfa
commit 94b7e9ec64
2 changed files with 8 additions and 0 deletions

View File

@ -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') }}";