@extends('includes.layouts.admin') @section('page-title') Company List @endsection @section('content')

Company List

{{-- --}}
 
{{-- --}} Reset  
 
{{-- --}} @if ($request->has('dateRange')) Report   @else Report   @endif
{{-- --}} @forelse($companies as $key => $order) @php $company_number = \App\Models\Order::where('order_id', $order->order_id) ->pluck('company_number') ->first(); @endphp @php $auth_code = \App\Models\Order::where('order_id', $order->order_id) ->pluck('auth_code') ->first(); $admin_comment = \App\Models\companyXmlDetail::where('order_id', $order->order_id) ->pluck('admin_comment') ->first(); @endphp {{-- --}} @empty @endforelse
Order ID Incorporated Company Name View XML Download Summary Action Action Comp. No. Auth. Code Admin Comment Supporting Doc ApprovalActionAction Action Action
{{ $order->order_id }} {{ date('Y-m-d', strtotime($order->created_at)) }} {{ strtoupper($order->company_name) ?? '-' }} View @php $summary_step_exist = \App\Models\companyFormStep::where('order', $order->order_id) ->where('step', 'review') ->first(); @endphp @if ($summary_step_exist) @endif
@php $submitted = \App\Models\companyXmlDetail::where('order_id', $order->order_id) ->pluck('submitted') ->first(); @endphp Submit XML
Check Status @php $orders = App\Models\Order::where('order_id', $order->order_id )->first(); $sensitiveFirstMedia = $orders->getFirstMedia('sensetive-document'); $sameAsFirstMedia = $orders->getFirstMedia('same-as-name-document'); if($sensitiveFirstMedia) { $documentName = $sensitiveFirstMedia ? $sensitiveFirstMedia->file_name : ''; $documentUrl = $sensitiveFirstMedia ? $sensitiveFirstMedia->getUrl() : ''; } else { $documentName = $sameAsFirstMedia ? $sameAsFirstMedia->file_name : ''; $documentUrl = $sameAsFirstMedia ? $sameAsFirstMedia->getUrl() : ''; } $mediaDoc = [ 'name' => $documentName, 'url' => $documentUrl, ]; @endphp @if (!empty($mediaDoc['url'])) View @endif {{-- {{ ($order->order_status == 'pending') ? 'INCOMPLETE' : 'ACCEPTED' }} --}} @php $company_status = \App\Models\Companie::where('order_id', $order->order_id) ->pluck('status') ->first(); @endphp Update Send Email To User Send Email To Bank Agent
No Record Found.
{{-- @if ($users->hasPages()) --}} {{-- @endif --}}
@if (Session::has('success'))
{{ Session::get('success') }}
@endif
--> @endsection @section('scripts') @include('admin.commonScript.script') @endsection