@extends('layouts.account', ['title' => 'Account - Orders History']) @section('content')

Orders

@foreach ($orders as $key => $order) @endforeach
Order # Status  
{{ $order->number }}
  • {{ \Carbon\Carbon::parse($order->created_at)->format('d M Y') }}
  • {{ $order->status_title }}
  • Rp {{ number_format($order->subtotal, 0, ',', '.') }}
{{ \Carbon\Carbon::parse($order->created_at)->format('d M Y') }} {{ $order->status_title }} Rp {{ number_format($order->subtotal, 0, ',', '.') }} @foreach ($order->details->take(3) as $detail) Thumbnail @endforeach @if ($order->details->count() > 3) +{{ $order->details->count() - 3 }} @endif
@endsection @section('scripts') @endsection