@extends('layouts.master-voyo') @section('header') @stop @section('content')

{{ trans('site.Dashboard') }}

@include('components.userstatus',[ 'type' =>'alert-warning' ])
@include('member._partials.sidebar')
@if(session('status'))
{{ session('status') }}
@endIf @if (count($errors) > 0)
    @foreach ($errors->all() as $error)
  • {{ $error }}
  • @endforeach
@endif

{{ trans('dashboard.Order_Information') }}

@foreach( $member->Order as $order ) @endforeach
# {{ trans('dashboard.Order_No') }} {{ trans('dashboard.Date') }} {{ trans('dashboard.Marketplace') }} {{ trans('dashboard.Amount') }} (SGD) {{ trans('dashboard.Invoice') }} {{ trans('dashboard.Voucher') }}
{{ $i }} {{ $order->order_ref }} {{ $order->created_at->format('d/m/Y') }} {{ $order->Marketplace->name }} $ {{ number_format($order->getTotalAmount(), 2) }} @foreach( $order->Voucher as $voucher ) {{ $voucher->voucher_code }} @endforeach
@include('site.bottom-menu') @stop @section('footer') @stop