@if ($viewInvoiceFilePermission == 'all' || ($viewInvoiceFilePermission == 'added' && $file->added_by == user()->id))
@if ($file->icon == 'images')
@lang('app.view')
@else
@lang('app.view')
@endif
@lang('app.download')
@endif
@if ($deleteInvoiceFilePermission == 'all' || ($deleteInvoiceFilePermission == 'added' && $file->added_by == user()->id))
@lang('app.delete')
@endif