@extends('LaravelVueAdmin.layouts.app') @section("contentheader_title", "Pengajuan Persetujuan") @section("section", "Pengajuan Persetujuan") @section("sub_section", "Detail Pengajuan Persetujuan") @section("htmlheader_title", "Detail Pengajuan Persetujuan") @section("section_url", url(config('LaravelVueAdmin.adminRoute') . '/approvals')) @unless ($approval->status === 13) @section("headerElems") @endsection @endunless @section("mini") @endsection @section('main-content')
Detail Pengajuan Persetujuan
@php $desc = $module->row->desc; echo \App\Helpers\CEOFormMaker::display($module, 'approval_number', 'form-group'); echo '
'; echo \App\Helpers\CEOFormMaker::display($module, 'category', 'form-group'); echo '
'; echo '
'; echo '
'; echo ''; echo '
'; echo '
'; echo ''.$module->row->title.''; echo '
'; echo '
'; echo '
'; echo '
'."Copy".''; echo '
'; echo '
'; echo '
'; echo '
'; echo '
'; echo '
'; echo ''; echo '
'; echo '
'; echo nl2br($desc); echo '
'; echo '
'; echo ''; echo '
'; echo '
'; echo '
'; echo \App\Helpers\CEOFormMaker::display($module, 'doc', 'form-group'); echo '
'; echo '
'; echo '
'; echo ''; echo '
'; echo '
'.$status->name.'
'; echo '
'; echo '
'; echo '
'; echo '
'; echo \App\Helpers\CEOFormMaker::display($module, 'created_by', 'form-group'); echo '
'; echo '
'; echo '
'; echo ''; echo '
'; echo '
'.date('d M \'y H:i', strtotime($module->row->created_at)).'
'; echo '
'; echo '
'; echo '
'; @endphp
@php $tanggal=NULL; @endphp @foreach($timeline as $type => $items) @foreach($items as $item) @unless (isset($tanggal)||$tanggal!==NULL)
@php $tanggal=date('d M Y', $item->updated_at->timestamp); $hari=date('l',$item->updated_at->timestamp); @endphp {{$hari}}, {{$tanggal}}
@endunless @if ($tanggal !== date('d M Y', $item->updated_at->timestamp))
@php $hari=date('l', $item->updated_at->timestamp); $tanggal=date('d M Y', $item->updated_at->timestamp) @endphp {{$hari}}, {{$tanggal}}
@endif
@php $user = \App\User::find($item->created_by); @endphp @if(!empty($user->username)) User Image @else User Image @endif
{{$item->name}} - {{$item->designation}}
{{$item->created_at->diffForHumans()}}
@php $review = nl2br($item->review); @endphp
@endforeach @endforeach @if ($tanggal !== date('d M Y', $approval->created_at->timestamp))
{{date('l', $approval->created_at->timestamp)}}, {{date('d M Y', $approval->created_at->timestamp)}}
@endif
@php $user = \App\User::find($creator->id); @endphp @if(!empty($user->username)) User Image @else User Image @endif
{{$creator->name}} - {{ $creator->designation }}
{{$approval->created_at->diffForHumans()}}
Pengajuan baru dibuat
@lv_access("Approval_ds", "create") @endlv_access @endsection @push('scripts') @endpush