@extends('frontend.layouts.products-app') @section('title') Orders @endsection @section('seo') @endsection @section('content')

My Account   |   My Orders

My Orders

@foreach ($data as $orders) @php $items = json_decode($orders->items); $quantities = json_decode($orders->quantity); @endphp @endforeach {{-- --}} {{-- --}}
REF ID DATE ITEMS ORDERED SHIP TO ORDER TOTAL STATUS
{{$orders->reference}} 10/21/2022 @if ($items && $quantities) @foreach ($items as $index => $item) {{ $item }} x {{ $quantities[$index] }}
@endforeach @endif
{{$orders->shipAddress}} P{{$orders->total_amount}} {{ $orders->order_status ? $orders->order_status : 'Pending' }}
000000262 10/21/2022 SFW123DTB X 1 Davao City P20,095 Complete
000000263 10/21/2022 SFW123DTB X 1 Davao City P20,095 Complete
000000264 10/21/2022 SFW123DTB X 1 Davao City P20,095 Shipping
{{-- {{$data->links("")}} --}}
Items 1 to 3 of 2 pages
  1  
  2  
@if ($data->currentPage() > 1)   Previous   @endif @if ($data->hasMorePages())   Next   @endif {{--
Next
--}}



@endsection