@extends('layout.master') @section('content') @php $actual_link = (isset($_SERVER['HTTPS']) && $_SERVER['HTTPS'] === 'on' ? 'https' : 'http') . "://$_SERVER[HTTP_HOST]$_SERVER[REQUEST_URI]"; $actual_link = parse_url($actual_link)['path']; $url_components = explode('/', $actual_link); //dd($url_components,end($url_components),prev($url_components)); $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'); $randomIdB2BOrB2C = rand() . 'b2borb2cs04123213123' . date('Y-m-d H:m:s'); $role = Auth::user()->role; @endphp Select Courier Partner Pickup From Delivered to Order Value in Rs. @php if (isset($orders['product_details'])) { $weight = number_format((float)@$orders['product_details']['weight'],3); } else { $weight = number_format((float)@$orders['product_weight'],3); } @endphp Applied Weight in kg Sort by Select Cheapest Fastest Rating Recommended All Air Surface Self-Fulfilled @php $lspNameArray = []; $lspType = []; //dd($orders['lsp_ratings']); @endphp @foreach ($orders['lsp_ratings'] as $ratingKeys => $ratingValues) @if (!in_array(@$ratingValues['lspData']['name'], $lspNameArray) && $ratingValues['lspData'] != '') @php $randomIdAll = @$ratingValues['suraface_type'] == 'air' ? $randomIdAll.'air' : $randomIdAll.'surface'; @endphp @if(strtoupper(@$ratingValues['lspData']['name']) == 'MPCL') Recommended @endif @if(@$ratingValues['suraface_type'] == 'air') @else @endif @if(!empty(@$ratingValues['company_logo'])) @else @endif {{ @$ratingValues['lspData']['name'] }} {{ @$ratingValues['service_type'] == 'B2B' ? 'B2B' : ''}} {{ number_format((float)@$orders['product_weight'],3) }} kg | Min Weight {{ number_format((float)@$ratingValues['lspData']['min_weight'],3) }}kg {{ @$ratingValues['ratings']['segmentedPickupRating'] == 0 ? @$ratingValues['lspData']['pickup_performance'] : @$ratingValues['ratings']['segmentedPickupRating'] }} Pickup Performance {{ @$ratingValues['ratings']['segmentedDeliverRating'] == 0 ? @$ratingValues['lspData']['delivery_performance'] : @$ratingValues['ratings']['segmentedDeliverRating'] }} Delivery Performance {{@$ratingValues['ratings']['segmentedNdrRating'] == 0 ? @$ratingValues['lspData']['ndr_performance'] : @$ratingValues['ratings']['segmentedNdrRating'] }} NDR Performance {{@$ratingValues['ratings']['segmentedRtoRating'] == 0 ? @$ratingValues['lspData']['rto_performance'] : @$ratingValues['ratings']['segmentedRtoRating'] }} RTO Performance {{@$ratingValues['ratings']['segmentedWdRating'] == 0 ? @$ratingValues['lspData']['weight_cases'] : @$ratingValues['ratings']['segmentedWdRating'] }} Weight Cases {{@$ratingValues['ratings']['overAllRating'] == 0 ? @$ratingValues['lspData']['overall_rating'] : @$ratingValues['ratings']['overAllRating'] }} Overall Rating Call before delivery: Available POD: Instant Delivery Boy Number: Not Available Tracking Service: Real Time Rs {{ number_format((float) @$ratingValues['total'], 2) }} Freight Charges Rs. {{ number_format((float) @$ratingValues['total'], 2) }} COD Charges Rs. {{ number_format((float) @$ratingValues['cod_charges'], 2) }} Expected Pickup @if (@$products->lsp_pickup_scheduled_date == date('Y-m-d')) Today @elseif(@$products->lsp_pickup_scheduled_date == date('Y-m-d', strtotime('+1 day'))) Tomorrow @else {{ @$products->lsp_pickup_scheduled_date }} @endif @endif @php array_push($lspNameArray, strtoupper(@$ratingValues['lspData']['name'])); array_push($lspType, @$ratingValues['suraface_type']); @endphp @endforeach Proceed @foreach ($orders['lsp_ratings_air'] as $ratingKeys => $ratingValues) @if (!in_array(@$ratingValues['lspData']['name'], $lspNameArray) && $ratingValues['lspData'] != '') @if(strtoupper(@$ratingValues['lspData']['name']) == 'MPCL') Recommended @endif @if(!empty(@$ratingValues['company_logo'])) @else @endif {{ @$ratingValues['lspData']['name'] }} {{ @$ratingValues['service_type'] == 'B2B' ? 'B2B' : ''}} {{ number_format((float)@$orders['product_weight'],3) }} kg | Min Weight {{ number_format((float)@$ratingValues['lspData']['min_weight'],3) }}kg RTO Charges: Rs 0.0 {{ @$ratingValues['ratings']['segmentedPickupRating'] == 0 ? @$ratingValues['lspData']['pickup_performance'] : @$ratingValues['ratings']['segmentedPickupRating'] }} Pickup Performance {{ @$ratingValues['ratings']['segmentedDeliverRating'] == 0 ? @$ratingValues['lspData']['delivery_performance'] : @$ratingValues['ratings']['segmentedDeliverRating'] }} Delivery Performance {{ @$ratingValues['ratings']['segmentedNdrRating'] == 0 ? @$ratingValues['lspData']['ndr_performance'] : @$ratingValues['ratings']['segmentedNdrRating'] }} NDR Performance {{ @$ratingValues['ratings']['segmentedRtoRating'] == 0 ? @$ratingValues['lspData']['rto_performance'] : @$ratingValues['ratings']['segmentedRtoRating'] }} RTO Performance {{@$ratingValues['ratings']['segmentedWdRating'] == 0 ? @$ratingValues['lspData']['weight_cases'] : @$ratingValues['ratings']['segmentedWdRating'] }} Weight Cases {{@$ratingValues['ratings']['overAllRating'] == 0 ? @$ratingValues['lspData']['overall_rating'] : @$ratingValues['ratings']['overAllRating'] }} Overall Rating Call before delivery: Available POD: Instant Delivery Boy Number: Not Available Tracking Service: Real Time Rs {{ number_format((float) @$ratingValues['total'], 2) }} Freight Charges Rs. {{ number_format((float) @$ratingValues['total'], 2) }} COD Charges Rs. {{number_format((float) @$ratingValues['cod_charges'], 2)}} Expected Pickup @if (@$products->lsp_pickup_scheduled_date == date('Y-m-d')) Today @elseif(@$products->lsp_pickup_scheduled_date == date('Y-m-d', strtotime('+1 day'))) Tomorrow @else {{ @$products->lsp_pickup_scheduled_date }} @endif @endif @endforeach Proceed @foreach ($orders['lsp_ratings_surface'] as $ratingKeys => $ratingValues) @if (!in_array(@$ratingValues['lspData']['name'], $lspNameArray) && $ratingValues['lspData'] != '') @if(strtoupper(@$ratingValues['lspData']['name']) == 'MPCL') Recommended @endif @if(!empty(@$ratingValues['company_logo'])) @else @endif {{ @$ratingValues['lspData']['name'] }} {{ @$ratingValues['service_type'] == 'B2B' ? 'B2B' : ''}} {{ number_format((float)@$orders['product_weight'],2) }} kg | Min Weight {{ number_format((float)@$ratingValues['lspData']['min_weight']) }}kg {{ @$ratingValues['ratings']['segmentedPickupRating'] == 0 ? @$ratingValues['lspData']['pickup_performance'] : @$ratingValues['ratings']['segmentedPickupRating'] }} Pickup Performance {{ @$ratingValues['ratings']['segmentedDeliverRating'] == 0 ? @$ratingValues['lspData']['delivery_performance'] : @$ratingValues['ratings']['segmentedDeliverRating'] }} Delivery Performance {{ @$ratingValues['ratings']['segmentedNdrRating'] == 0 ? @$ratingValues['lspData']['ndr_performance'] : @$ratingValues['ratings']['segmentedNdrRating'] }} NDR Performance {{ @$ratingValues['ratings']['segmentedRtoRating'] == 0 ? @$ratingValues['lspData']['rto_performance'] : @$ratingValues['ratings']['segmentedRtoRating'] }} RTO Performance {{@$ratingValues['ratings']['segmentedWdRating'] == 0 ? @$ratingValues['lspData']['weight_cases'] : @$ratingValues['ratings']['segmentedWdRating'] }} Weight Cases {{@$ratingValues['ratings']['overAllRating'] == 0 ? @$ratingValues['lspData']['overall_rating'] : @$ratingValues['ratings']['overAllRating'] }} Overall Rating Call before delivery: Available POD: Instant Delivery Boy Number: Not Available Tracking Service: Real Time Rs {{ number_format((float) @$ratingValues['total'], 2) }} Freight Charges Rs. {{ number_format((float) @$ratingValues['total'], 2) }} COD Charges Rs. {{ number_format((float) @$ratingValues['cod_charges'], 2) }} Expected Pickup @if (@$products->lsp_pickup_scheduled_date == date('Y-m-d')) Today @elseif(@$products->lsp_pickup_scheduled_date == date('Y-m-d', strtotime('+1 day'))) Tomorrow @else {{ @$products->lsp_pickup_scheduled_date }} @endif @endif @endforeach Proceed @csrf self-fullfilled Details @php $buyerDetails = isset($orders['order_details']['buyers_json_data']) ? json_decode($orders['order_details']['buyers_json_data'])->buyers_details->users_details : ''; $buyerAddress = isset($orders['order_details']['buyers_json_data']) ? json_decode($orders['order_details']['buyers_json_data'])->buyers_details->user_address : ''; // $sellerAddress = isset($orders['order_details']['others_json_data']) ? json_decode($orders['order_details']['others_json_data'])->seller_details->seller_address : ''; @endphp From Address From Contact To Address To Contact Name Mobile Number Vehicle Details Submit Is Insured Shipping Summary What next Important steps to follow ship your order Pack your products property with the invoice inside. Step 1 Download shipping label and pass it on the package Step 2 Generate pickup and download manifest for your order Step 3 Wait for the pickup and handover your shipment for delivery Step 4 Ship Now Ship Later Expected Pickup Date × Expected Date Payment Type Credit Limit Rs : {{ Auth::user()->credit_limit }} × Want to make payment from wallet Current Balance : Rs. {{ Auth::user()->wallet_amount }} Declared Amount @endsection
Select Courier Partner
Recommended
{{ number_format((float)@$orders['product_weight'],3) }} kg | Min Weight {{ number_format((float)@$ratingValues['lspData']['min_weight'],3) }}kg
Pickup Performance
Delivery Performance
NDR Performance
RTO Performance
Weight Cases
Overall Rating
Call before delivery: Available
POD: Instant
Delivery Boy Number: Not Available
Tracking Service: Real Time
Freight Charges Rs. {{ number_format((float) @$ratingValues['total'], 2) }}
COD Charges Rs. {{ number_format((float) @$ratingValues['cod_charges'], 2) }}
RTO Charges: Rs 0.0
COD Charges Rs. {{number_format((float) @$ratingValues['cod_charges'], 2)}}
{{ number_format((float)@$orders['product_weight'],2) }} kg | Min Weight {{ number_format((float)@$ratingValues['lspData']['min_weight']) }}kg
self-fullfilled Details
Important steps to follow ship your order
Pack your products property with the invoice inside.
Download shipping label and pass it on the package
Generate pickup and download manifest for your order
Wait for the pickup and handover your shipment for delivery
{{ Auth::user()->credit_limit }}