@extends('layout.master') @section('content') @php $actual_link = (isset($_SERVER['HTTPS']) && $_SERVER['HTTPS'] === 'on' ? "https" : "http") . "://$_SERVER[HTTP_HOST]$_SERVER[REQUEST_URI]"; $url_components = explode('/',$actual_link); //dd($actual_link); $id = base64_decode(end($url_components)); $checkedInsurance = prev($url_components); $randomIdAll = rand().'all0121'.date('Y-m-d H:m:s'); $randomIdAir = rand().'air02123123'.date('Y-m-d H:m:s'); $randomIdSurface = rand().'surface03123123'.date('Y-m-d H:m:s'); $randomIdSelf = rand().'self04123213123'.date('Y-m-d H:m:s'); @endphp

Select Courier Partner

@php $lspNameArray = []; $lspType = []; //dd($orders['lsp_ratings']); @endphp @foreach($orders['lsp_ratings'] as $ratingKeys => $ratingValues) @if(!in_array($ratingValues['lspData']['name'],$lspNameArray))
@endif @php array_push($lspNameArray,strtoupper($ratingValues['lspData']['name'])); array_push($lspType,$ratingValues['suraface_type']); @endphp @endforeach
@foreach($orders['lsp_ratings_air'] as $ratingKeys => $ratingValues)
@endforeach
@foreach($orders['lsp_ratings_surface'] as $ratingKeys => $ratingValues)
@endforeach
@endsection