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