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

ORDER LIST FINANCE

{{-- 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 Toko Post Invoice Amount Realduedate Status Act
{{ $s['accountnum'] }} {{ $s['no_order'] }} {{ $s['toko'] }} {{ $s['created_at'] }} {{ $s['no_invoice']}} Rp {{ number_format(floatval($s['amount'])) }} {{ $s['realduedate']}}
@if($s['approval'] != '') {{ ($s['approval'] == 0) ? 'Approved' : 'Not Approved' }} @elseif($s['approval'] == '') Waiting Action @endif
@if($s['approval'] == '') Ya Tidak @endif @if($s['approval'] == '1') Edit @endif
@endsection