@extends('frontend.layouts_wh.master') {{-- sweet alert --}} @section('content')

ORDER LIST

{{-- notifikasi form validasi --}} @if ($errors->has('file')) {{ $errors->first('file') }} @endif {{-- notifikasi sukses --}} @if ($sukses = Session::get('sukses'))
{{ $sukses }}
@endif
@php $i=1 @endphp @foreach($data as $s) @endforeach
Accountnum No.Order Status Post Toko Approval Act
{{ $s->accountnum }} {{ $s->no_order }}
{{ ($s->status == 0) ? 'Undownloaded' : '' }} {{ ($s->status == 1) ? 'Downloaded' : '' }}
{{ $s->created_at }} {{ $s->toko }}
@if($s->approval != '') {{ ($s->approval == 0) ? 'Approved' : 'Reject' }} @elseif($s->approval == '') Waiting Action @endif
Detail @if($s->status == '1') Export @endif
@endsection