@extends('layouts.seller.app') @section('content') @php $firstItem = $order->getorderitems->first(); $supplierBusiness = @$firstItem->getproduct->getbusiness; $supplier = $supplierBusiness->assignedBusiness->first(); $supplierAddres = @$firstItem->getproduct->getbusiness->getaddress; $shippingAddres = @$firstItem->getshippingaddress; @endphp

Order: {{ $order->order_no }}

Manage your order.

@include('layouts.seller.flash')
Order No: {{ $order->order_no }} | {{ date('m-d-Y', strtotime($order->created_at)) }} {{-- Money Back guarantee | Express Delivery --}}
Supplier
{{ @$supplierBusiness->name }}
Contact name: {{ !empty(@$supplierBusiness->contact_person_name) ? @$supplierBusiness->contact_person_name : @$supplier->getuser->first_name . ' ' . @$supplier->getuser->last_name }}

Registered Company

{{ @$supplierBusiness->company }}

Contact Tel: {{ @$supplierBusiness->company_phone }}
Contact Email: {{ @$supplierBusiness->company_email }}
Buyer
{{ @$shippingAddres->location_name }}
Contact name: {{ !empty(@$shippingAddres->contact_person_name) ? @$shippingAddres->contact_person_name : @$order->getorder->getuser->first_name . ' ' . @$order->getorder->getuser->last_name }}
{{--

Registered Company

Thrissur Kerala India

--}}
Contact Tel: {{ !empty(@$shippingAddres->phone) ? @$shippingAddres->phone : @$order->getorder->getuser->mobile }}
Contact Email: {{ !empty(@$shippingAddres->email) ? @$shippingAddres->email : @$order->getorder->getuser->email }}
Product Details
@if (!empty(@$order->getorderitems)) @php $i=0; @endphp @foreach (@$order->getorderitems as $items) {{-- --}} @php $i++; @endphp @endforeach @endif
# Item Category Package Info Quantity Unit Price Total
{{ $i + 1 }} {{ @$items->getproduct->name . ' (' . @$items->getproduct->cas_number . ')' }} {{ @$items->getproduct->getcategory->name }} Type: {{ ucfirst(@$items->packaging_type) }}
Unit: {{ ucfirst(@$items->packaging_measurement_units) }}
Weight: {{ @$items->packaging_net_weight }}
{{ @$items->quantity }} {{ @$items->getproduct->getpackage->getcurrency->symbole }}{{@$items->selling_price}}${{ number_format(@$items->selling_price, 2) }} ${{ number_format(@$items->total_amount, 2) }}
{{--
Shipment Terms
Shipping Method Shipping Fees
{{ ($order->shipping_provider) ? $order->shipping_provider : 'DHL Express USA'}} $ 0.00
--}}
{{--

@if (!empty(@$order->transactions)) @php $t=0; @endphp @foreach (@$order->transactions as $trans) @php $i++; @endphp @endforeach @endif
Time Sent (PST) Payment Method Transaction Type Transaction Id Amount Status
{{ date("m-d-Y", strtotime($trans->created_at)) }} {{$trans->payment_method }}
{{ $trans->transaction_id }}
{{ $trans->transaction_type }} Payment {{ $trans->transaction_id }} ${{ number_format($trans->total, 2)}} Payment {{ $trans->status }}
{{date("m-d-Y H:i:s", strtotime($trans->created_at)) }}
--}}

@if (!empty(@$order->getpaidnote->first())) @php $pn=0; @endphp @foreach (@$order->getpaidnote as $paidnote) @php $pn++; @endphp @endforeach @else @endif
Time Sent (PST) Time Updated (PST) Notes
{{ date('m-d-Y', strtotime($paidnote->created_at)) }} {{ date('m-d-Y', strtotime($paidnote->updated_at)) }} {!! $paidnote->notes !!} @if (Common::getPermission('13')) @endif
No Record Found

@if (!empty(@$order->getshippednote->first())) @php $sn=0; @endphp @foreach (@$order->getshippednote as $shippednote) @php $sn++; @endphp @endforeach @else @endif
Time Sent (PST) Time Updated (PST) Shipping Provider Tracking Number Notes
{{ date('m-d-Y', strtotime($shippednote->created_at)) }} {{ date('m-d-Y', strtotime($shippednote->updated_at)) }} {{ strtoupper($shippednote->shipping_provider) }} {{ $shippednote->tracking_number }} {!! $shippednote->notes !!} @if (Common::getPermission('14')) @endif
No Record Found

@if (!empty(@$order->ordertrack->count()))
@foreach ($order->ordertrack as $ordertrack)
  • {{ date('m-d-Y H:i:s', strtotime($ordertrack->created_at)) }}

    ({{ Common::createdBy($ordertrack->created_by, true) }}) {{ $ordertrack->status }}

  • @endforeach
    @else

    No Track Detail Found

    @endif
    @endsection @push('css') @endpush @push('js') @endpush