@extends('layouts.admin.app') @section('content')

SIEF AGREEMENT COMPLETED

Advanced Search Filter
@csrf @method('post')
Clear
@if(count($siffs) > 0) @if($flag == 'false') @endif @if($flag == 'true') @endif @php $i = 1; @endphp @foreach($siffs as $key => $n) @if($flag == 'false') @endif @if($flag == 'true') @endif @endforeach
Sr No Region Company Name Email CAS NO EC NO UUID Date CostActionAction
{{ $i++ }} {{ $n->Region->name }} {{ $n->cas_no }} {{ $n->ec_no }} {{ $n->uuid }} {{ $n->created_at->format('d-m-Y') }} @if($n->request_status_id == config('app.PENDING_REQUEST')) @endif {{$n->cost}}€ @php $company = DB::table('company_uuid')->where('uuid', $n->uuid)->first(); $invoice = DB::table('invoice')->where([['cas_no', $n->cas_no], ['company_uuid', $n->uuid]])->first(); @endphp View SIEF @if(!DB::table('invoice')->where([['cas_no', $n->cas_no], ['company_uuid', $n->uuid]])->exists())
Create Invoice @else
View Invoice @if($n->company != null and $n->Company->payment_received == '')
Follow Up Follow Up History @endif @endif @if($n->company != null and $n->Company->invoice_sent == '')
Mark as Sent @else @endif @if(DB::table('loa')->where([['cas_no',$n->cas_no],['uuid',$n->uuid],['region_id',$n->region_id]])->exists())
LOA PDF @else
Create LOA @endif @if($n->company != null and $n->Company->payment_received == '')
Mark as Payment Received @else
Payment Received by {{ $n->paymentreceived ?? '' }} @endif @if($n->company != null and $n->Company->token_sent == '' and $n->Company->token_sent == NULL)
Mark as Token Sent @else
Token Sent by {{ $n->tokenlogs ?? '' }} @endif
@else

No SIEF Aggreement Request Found

@endif
{{$siffs->links()}}
// // @endsection @section('scripts') @endsection