@if(!empty($doc['document_id']))
@if(@$doc['document_count_by_type'] >= 1 && $doc['document_status'] != 2)
@if($doc['document_status'] == 2)
{{ $doc['document_status_name'] }}
@elseif($doc['document_status'] == 1)
{{ $doc['document_status_name'] }}
@else
{{ $doc['document_status_name'] }}
@endif
@endif
@endif
@if($is_itn_user == 1)
@if(array_key_exists('template_download_code', $doc) && !empty($doc['template_download_code']) && !empty($doc['common_template_file_name']))
@php
$tdcode = encrypt([
'dcode' => $doc['template_download_code'],
'doc_filename' => $doc['common_template_file_name']
]);
@endphp
Template
@elseif(!empty($doc['is_azure_template_download_path']))
Template
@endif
@elseif(!empty($doc['download_template_link']))
Template
@endif
@if($is_itn_user == 1 && !empty($doc['document_id']))
@if(array_key_exists('document_download_code', $doc))
@php
$dcode = encrypt([
'dcode' => $doc['document_download_code'],
'doc_filename' => $doc['document_filename']
]);
@endphp
View
@else
@if(!empty($doc['is_azure_download_path']))
View
@else
Pending to upload
@endif
@endif
@elseif(!empty($doc['document_id']) && @$is_itn_user == 0)
@if(@$doc['document_count_by_type'] >=1)
@endif
@if(@$doc['document_count_by_type'] >= 1)
@if(!empty($doc['document_download_link']))
View
@endif
@if(check_route_access('document.action') )
Delete
@endif
@endif
@if(empty($doc['document_status']) && @$doc['document_count_by_type'] >= 1 )
@if(check_route_access('document.action'))
|
@endif
@elseif($doc['document_status'] == 1 && @$doc['document_count_by_type'] >= 1 )
@if(check_route_access('document.action'))
@endif
@elseif($doc['document_status'] == 2 )
@if(check_route_access('uploaddocument'))
@endif
@endif
@elseif(!empty($doc['user_template_id']))
@if(!empty($doc['user_template_download_link']))
View
@endif
@else
@if(check_route_access('uploaddocument') && $is_itn_user == 0)
@else
Pending to upload
@endif
@endif