@extends('layouts.manage') @section('title')@lang('Invoice')-{{$order->orderno}}-{{$order->created_at->format('dmY')}}@if(!empty(config('settings.site_logo_name')))-{{str_slug(config('settings.site_logo_name'))}}@endif - {{config('app.name')}}@endsection @section('page-header-title') @lang('View Invoice') @endsection @section('page-header-description') @lang('View and Print Invoice') @endsection @section('styles') @include('includes.order_tracker_style') @endsection @section('content')
@if($order->receiver_detail)
@lang('Receiver Detail:')
{{$order->receiver_detail}}
@endif @if(count($order->shipments) > 0)
@foreach($order->shipments as $shipment) @if($order->shipments->contains($shipment->id))
{{$shipment->name}}
{{$shipment->address. ', ' .$shipment->city. ', ' .$shipment->state. ' - ' .$shipment->zip. ' ' .$shipment->country}}
{{$shipment->created_at->toCookieString()}}
@endif @endforeach @if($order->is_processed == 1)
@lang('Delivered')
{{Carbon\Carbon::parse($order->processed_date)->toCookieString()}}
@endif

@endif
@include('partials.invoice') @endsection