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

Invoice

Order {{ $data['order']->invoice_number }}

{{ __('text.billed_to') }}:
{{ $data['order']->Customer->name }}
{{ $data['order']->Customer->email }}
{{ __('text.shipped_to') }}:
{{ $data['order']->recipient_name }}
{{ $data['order']->address_detail }}
{{ $data['order']->destination }}
{{ __('text.order_status') }}:
{!! $data['order']->status_name !!}
{{ __('text.order_date') }}:
{{ $data['order']->created_at }}

{{ __('text.order_summary') }}
@foreach ($data['order']->orderDetail()->get() as $detail) @endforeach
# Item Price Quantity Totals
{{ $loop->iteration }} {{ $detail->product->name }} {{ rupiah($detail->product->price) }} {{ $detail->qty }} {{ rupiah($detail->total_price_per_product) }}
{{ __('text.shipping_method') }}:

{{ $data['order']->courier }} {{ $data['order']->shipping_method }}

@if ($data['order']->receipt_number != null) {{ __('text.receipt_number') }}:

{{ $data['order']->receipt_number }}

@endif
Subtotal
{{ rupiah($data['order']->subtotal) }}
{{ __('text.shipping_cost') }}
{{ rupiah($data['order']->shipping_cost) }}

Total
{{ rupiah($data['order']->total_pay) }}

Order Track

@foreach ($data['order']->OrderTrack()->get() as $orderTrack)
{{ $orderTrack->created_at->diffForHumans() }}

{{ __($orderTrack->description) }}

@endforeach
@endsection @push('modal') @endpush @push('js') @endpush