@if($remove_document || isset($change) && $change) @endif @isset($documents) @foreach ($documents as $document) @endforeach @else No documents found @endisset
{{Lang::get('documents.date')}} {{Lang::get('documents.document_name')}} {{Lang::get('documents.document_type')}} {{Lang::get('documents.updated_by')}}{{Lang::get('documents.action')}}
{{ Carbon\Carbon::parse($document->created_at)->format('d-m-Y h:i a') }} @if($document->auto_generated == 'Y' && $transaction->status == "PAID" || $document->auto_generated == 'N') {{ $document->document_name }} @else

{{ $document->document_name }}

@endif
{{ $document->document_type }} {{ !empty($document->updatedBy->full_name) ? $document->updatedBy->full_name:'' }} @if ($document->auto_generated != "Y" && $remove_document) @else @if(isset($change) && $change) @endif @endif
@include('admin.print_modal') @include('livewire.document._document_remove_model')