@extends('layouts.app') @section('title') {{ $pageInfo['title'] }} @endsection @section('admin-content')

{{ $pageInfo['title'] }}

{{-- submit button --}}
@php use App\Helpers\NextCloudHelper; @endphp

Form Up Country

@include('backend.layouts.partials.messages')
@foreach ($forms['form_up_country'] as $index => $item) @endforeach
# No Expense Nama Cabang Rayon Tanggal Tujuan Jarak Total Total Approved Account Number Status
{{ $loop->iteration }} {{ $item->expense_number }} {{ $item->user->name }} {{ $item->user->cabang->cabang->name }} {{ $item->rayon->code }} {{ \Carbon\Carbon::parse($item->tanggal)->locale('id')->isoFormat('D MMMM Y') }} {{ $item->tujuan }} {{ $item->jarak }} km {{ number_format($item->total, 0, ',', '.') }} @if ($item->approved_total) {{ number_format($item->approved_total, 0, ',', '.') }} @else - @endif {{ $item->account_number }} @if ($item->status == 'On Progress') {{ $item->status }} @elseif ($item->status == 'Approved' || $item->status == 'Final Approved') {{ $item->status }} @else {{ $item->status }} @endif

Form Vehicle Running Cost

@foreach ($forms['form_vehicle_running_cost'] as $index => $item) @endforeach
# Nama Cabang Tanggal Liter Total Total Approved Jarak Tipe Bensin Nomor Polisi Bukti Account Number Status
{{ $loop->iteration }} {{ $item->user->name }} {{ $item->user->cabang->cabang->name }} {{ \Carbon\Carbon::parse($item->tanggal)->locale('id')->isoFormat('dddd, D MMMM Y HH:mm:ss') }} {{ $item->liter }} {{ number_format($item->total, 0, ',', '.') }} {{ number_format($item->approved_total, 0, ',', '.') }} {{ $item->jarak }} km {{ $item->tipe_bensin }} {{ $item->nopol }} @if ($item->bukti_total) Download @else - @endif {{ $item->account_number }} @if ($item->status == 'On Progress') {{ $item->status }} @elseif ($item->status == 'Approved' || $item->status == 'Final Approved') {{ $item->status }} @else {{ $item->status }} @endif

Form Entertainment Presentation

@foreach ($forms['form_entertainment_presentation'] as $index => $item) @endforeach
# User Cabang Nama Penerima Tanggal Jenis Keterangan Total Total Approved Bukti Account Number Status
{{ $loop->iteration }} {{ $item->user->name }} {{ $item->user->cabang->cabang->name }} {{ $item->name }} {{ \Carbon\Carbon::parse($item->tanggal)->locale('id')->isoFormat('D MMMM Y') }} {{ $item->jenis }} {{ $item->keterangan }} {{ number_format($item->total, 0, ',', '.') }} {{ number_format($item->approved_total, 0, ',', '.') }} @if ($item->bukti_total) Download @else - @endif {{ $item->account_number }} @if ($item->status == 'On Progress') {{ $item->status }} @elseif ($item->status == 'Approved' || $item->status == 'Final Approved') {{ $item->status }} @else {{ $item->status }} @endif

Form Meeting Seminar

@foreach ($forms['form_meeting_seminar'] as $index => $item) @endforeach
# No Expense Nama Cabang Tanggal Allowance Transport Ankot Hotel Total Total Approved Account Number Status
{{ $loop->iteration }} {{ $item->expense_number }} {{ $item->user->name }} {{ $item->user->cabang->cabang->name }} {{ \Carbon\Carbon::parse($item->created_at)->locale('id')->isoFormat('D MMMM Y') }} {{ number_format($item->allowance, 0, ',', '.') }} {{ number_format($item->transport_ankot, 0, ',', '.') }} {{ number_format($item->hotel, 0, ',', '.') }} {{ number_format($item->total, 0, ',', '.') }} {{ number_format($item->approved_total, 0, ',', '.') }} {{ $item->account_number }} @if ($item->status == 'On Progress') {{ $item->status }} @elseif ($item->status == 'Approved' || $item->status == 'Final Approved') {{ $item->status }} @else {{ $item->status }} @endif

Form Others

@foreach ($forms['form_others'] as $index => $item) @endforeach
# Nama Cabang Tanggal Jenis Keterangan Total Bukti Total Account Number Status
{{ $loop->iteration }} {{ $item->user->name }} {{ $item->user->cabang->cabang->name }} {{ \Carbon\Carbon::parse($item->tanggal)->locale('id')->isoFormat('D MMMM Y') }} {{ $item->kategori->name }} {{ $item->keterangan }} {{ number_format($item->total, 0, ',', '.') }} @if ($item->bukti_total) Download @else - @endif {{ $item->account_number }} @if ($item->status == 'On Progress') {{ $item->status }} @elseif ($item->status == 'Approved' || $item->status == 'Final Approved') {{ $item->status }} @else {{ $item->status }} @endif
@endsection @section('scripts') @endsection