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

Dashboard

Admin Dashboard of SSLR Portal

@if(Auth::user()->role_id == 1)

Total Users

@php if(session('region_id') != '' and session('region_id') != null) { $users = DB::table('users')->where([['status', 1], ['region_id', session('region_id')]])->count(); echo $users; } else { $users = DB::table('users')->where('status', 1)->count(); echo $users; } @endphp

Only Active Users showing

Total JSF

@php if(session('region_id') != '' and session('region_id') != null) { $jsf_count = DB::table('jsf')->where([['status', 1], ['region_id', session('region_id')]])->count(); echo $jsf_count; } else{ $jsf_count = DB::table('jsf')->where('status', 1)->count(); echo $jsf_count; } @endphp

Total JSF Submitted

Total SIP

@php if(session('region_id') != '' and session('region_id') != null) { $sip_count = DB::table('sip')->where([['status', 1], ['region_id', session('region_id')]])->count(); echo $sip_count; } else{ $sip_count = DB::table('sip')->where('status', 1)->count(); echo $sip_count; } @endphp

Total SIP Submitted

Total Survey

@php if(session('region_id') != '' and session('region_id') != null) { $survey = DB::table('sief_survey')->where([['region_id', session('region_id')],['status', 1]])->count(); echo $survey; } else{ $survey = DB::table('sief_survey')->where('status', 1)->get()->pluck('id')->toArray();; echo count(array_unique($survey)); } @endphp

Total Survey Submitted
@endif
@csrf @method('post')
Search CAS Details(Estimated LOA cost, Associated companies, etc)

Estimated Cost (In Euro)

  • 1-10 tpa : {{$returnArr['loa1']??'Not Available'}}
  • 10-100 tpa : {{$returnArr['loa2']??'Not Available'}}
  • 100-1000 tpa : {{$returnArr['loa3']??'Not Available'}}
  • Intermediate less than 1000 tpa : @if($regionid == 1) @if(count($mainsearchData) > 0) @foreach($mainsearchData as $key => $n) @if($n->member4 !='' && $n->member4 != '0') {{$n->member4}} @endif @if($n->member4 == '0' || $n->member4 =='') {{''}} @endif @endforeach @else {{''}} @endif @endif @if($exist_in_turkey && $regionid == 2) @if(count($mainsearchData) > 0) @foreach($mainsearchData as $key => $n) @if($n->member4 !='' && $n->member4 != '0') {{$n->member4}} @endif @if($n->member4 == '0' || $n->member4 =='') {{''}} @endif @endforeach @else {{''}} @endif @endif @if($exist_in_korea && $regionid == 3) @if(count($mainsearchData) > 0) @foreach($mainsearchData as $key => $n) @if($n->member4 !='' && $n->member4 != '0') {{$n->member4}} @endif @if($n->member4 == '0' || $n->member4 =='') {{''}} @endif @endforeach @else {{''}} @endif @endif @if($regionid == 2) {{$returnArr['loa4']??''}} @endif
  • Intermediate with 1000 +tpa : {{$returnArr['loa1']??'Not Available'}}
@if($regionid == 2 && isset($query_cost_report))

Note:  The LOA cost is calculated based upon following table:

Annex JS Member (accommodating potential number of JS members joining )
VII {{$query_cost_report->num_turkey_vii ?? '4'}}
VIII {{$query_cost_report->num_turkey_viii ?? '4'}}
IX {{$query_cost_report->num_turkey_ix ?? '4'}}
@endif @if($regionid == 3 && isset($query_cost_report))

Note:  The LOA cost is calculated based upon following table:

Annex JS Member (accommodating potential number of JS members joining )
VII {{$query_cost_report->num_korea_vii ?? '3'}}
VIII {{$query_cost_report->num_korea_viii ?? '3'}}
IX {{$query_cost_report->num_korea_ix ?? '3'}}
@endif @if($regionid == 1 && isset($query_cost_report))

Note:  The LOA cost is calculated based upon following table:

Annex JS Member (accommodating potential number of JS members joining )
VII {{$query_cost_report->num_vii ?? '4'}}
VIII {{$query_cost_report->num_viii ?? '4'}}
IX {{$query_cost_report->num_ix ?? '4'}}
@endif

It may be noted that the above-mentioned LOA cost is estimated cost and is based on current number of intentions. Thus, may subject to change at a later date if number of actual registrants increase/decrease as compared to the number of intents. It may also change because of purchase of new data from data holders for the mentioned end points or the cost of the planned studies which has been included after the studies have been finalized.

@if($evaluation != '' && $evaluation->is_in_evaluation == 'YES') @if($evaluation->remark=="")

* The substance is currently under evaluation by the authority (ECHA/MSCA). The progress of evaluation can be found at Dossier Evaluation status - ECHA. As your only representative, we are sending regular updates received from ECHA/lead registrant/consortium related to evaluation of your substance.

Once the final decision is issued by the authority, as a co-registrant of the substance, you are obliged to fulfil information requirements applicable to your registered tonnage band and you will need to share the costs incurred for additional testing and update of the registration dossier due to ongoing evaluation process.

If you do not intend to participate in the cost-sharing process, you can cease the registration of your substance after the draft decision but before the final decision is issued by the authority.
@else

* {{$evaluation->remark}}
@endif @endif


@if(Auth::user()->role_id == 1)

SIP

@if(count($sip) > 0) @php $i = 1; @endphp @foreach($sip as $key => $n) @endforeach @else

No SIP Found

@endif

JSF

@if(count($jsf) > 0) @php $i = 1; @endphp @foreach($jsf as $key => $n) @endforeach @else

No JSF Found

@endif

SIEF Request

@if(count($siffs) > 0) @php $i = 1; @endphp @foreach($siffs as $key => $n)
Sr No Region Company Name Email CAS NO EC NO UUID Date Action LOA Cost Invoice Creation Date Invoice Sent LOA Is Payment Received Is Token Sent
{{ $i++ }} {{ $n->Region->name }} {{ $n->Company->company_name }} {{ $n->Company->e_mail }} {{ $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('id', $n->company_id)->first(); @endphp View SIEF @if($company->invoice_pdf == '' || $company->invoice_pdf == NULL) Create Invoice @else Pdf @endif