@extends('layouts.app') @section('pageTitle', 'Pengajuan - Detail') @section('content') @include('notify')
View Data Pengajuan
@if ($pengajuan_data->data->pengajuan[0]->status == 1 && session('id') == $pengajuan_data->data->pengajuan[0]->created_by_id) @endif
{{ date_format(date_create($pengajuan_data->data->pengajuan[0]->created), 'd M Y H:m') }}
{{ $pengajuan_data->data->pengajuan[0]->created_by }} - {{ $pengajuan_data->data->pengajuan[0]->level_created }}
{{ !empty($pengajuan_data->data->pengajuan[0]->unit_pilih_name) ? $pengajuan_data->data->pengajuan[0]->unit_pilih_name : $pengajuan_data->data->pengajuan[0]->company_id }}
@if ($pengajuan_data->data->pengajuan[0]->status <= 3) {{ $pengajuan_data->data->pengajuan[0]->category }} @else {{ $pengajuan_data->data->pengajuan[0]->category }} @endif
{!! nl2br($pengajuan_data->data->pengajuan[0]->description) !!}
{{ number_format($pengajuan_data->data->pengajuan[0]->amount, 0, ',', '.') }}
@if ($pengajuan_data->data->pengajuan[0]->type_id == 1)
@else
{{ $pengajuan_data->data->pengajuan[0]->bank }} - {{ $pengajuan_data->data->pengajuan[0]->bank_account }} a/n {{ $pengajuan_data->data->pengajuan[0]->bank_account_name }}
@endif
@if (!empty($pengajuan_data->data->pengajuan[0]->file_1)) @php $str = explode('.', $pengajuan_data->data->pengajuan[0]->file_1); $format = end($str); @endphp @if (in_array($format, $format_images)) @else @endif @else - @endif
@if (!empty($pengajuan_data->data->pengajuan[0]->file_2)) @php $str = explode('.', $pengajuan_data->data->pengajuan[0]->file_2); $format = end($str); @endphp @if (in_array($format, $format_images)) @else @endif @else - @endif
Review Pengajuan