@extends('site.layouts.app') @section('title', 'Order detail') @section('content')
@include('site.customer.sidebar')
@php $statuses = $order->statuses; @endphp @foreach ($statuses as $key => $status)
@if ($loop->last) @else @endif

{{ date('d-m-Y H:i:s A', strtotime($status->date_time)) }}

{{ $status->status }}

@endforeach
@php $sno = 0; @endphp @foreach ($order->details as $key => $row) @php $sno++ @endphp @endforeach
# Item Qty Price Sub total
{{ $sno }} - {{ $row->quantity }} {{-- {{ str_replace('_', '', $order->sender_currency) }} --}} {{ $row->price }} {{-- {{ str_replace('_', '', $order->sender_currency) }} --}} {{ $row->quantity * $row->price }}
Shipping Cost {{ str_replace('_', '', $order->sender_currency) }} {{ $order->shipping_cost > 0 ? $order->shipping_cost : 0 }}
Total {{ str_replace('_', '', $order->sender_currency) }} {{ $order->total }}
@endsection