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

@@ -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>