@extends('layouts.cannavaro.master') @section('header') @stop @section('breadcrumb') @stop @section('content')
@if(Auth::user()->can('proses.permohonan.baru'))
@if($mode=='1' && Auth::user()->detail) Daftar Permohonan @endif
@endif

{{ $pagetitle }}

{{ csrf_field() }}
@if(in_array($mode,[2,3])) @endif @if(count($types) > 0) @foreach($types as $type) @if(in_array($mode,[2,3])) @endif @endforeach @else @endif @if(count($types) > 0) @endif
PelulusPemohonTarikh Mohon Tarikh Penerbangan Tujuan Tempat Bertugas Peruntukan Dipohon Oleh Status {{ __('Admin::base.action') }}
@if($type->approver_id!='') {!! $type->approver->detail->users_detail_name !!} @else - @endif @if($type->is_warga!=1) {!! $type->permohonan_bw_nama.(($type->permohonan_bw_idno!='') ? '
('.$type->permohonan_bw_idno.')' : '').'
(Bukan Warga)' !!} @else {!! $type->pemohon->detail->users_detail_name.' ('.$type->pemohon->detail->users_detail_staffno.')' !!} @endif
{!! date( 'd/m/Y H:i', strtotime($type->created_at)).'
('.$type->permohonan_no.')' !!} {!! ($type->approved_date!='') ? '
(Diluluskan Pada: '.date( 'd/m/Y H:i', strtotime($type->approved_date)).')' : '' !!}
{!! (($type->permohonan_mula_tugas)!='') ? date( 'd/m/Y', strtotime($type->permohonan_mula_tugas)) : '' !!} {!! $type->permohonan_tujuan !!} {!! $type->permohonan_tempat_tugasan !!} {!! ($type->allocation_id!='') ? $type->allocation->allocation_desc : '' !!} {!! $type->createdby->detail->users_detail_name.' ('.$type->createdby->detail->users_detail_staffno.')' !!} @if($type->is_warga == 1) {!! (($type->created_by!=$type->pemohon_id && $mode==1) ? '
Wakil kepada: '.$type->pemohon->detail->users_detail_name.' ('.$type->pemohon->detail->users_detail_staffno.')' : '') !!} @else {!! (($mode==1) ? '
Wakil kepada bukan warga: '.$type->permohonan_bw_nama.' ('.$type->permohonan_bw_idno.')' : '') !!} @endif
{!! Globe::statusLabel($type->status) !!}
@if(in_array($type->status,['A']) && $mode==3) @endif @if(in_array($type->status,['I']) && $mode==3) @endif @if((in_array($type->status,['A','C','I','T','O']) && $mode == 3) || (in_array($type->status,['C','I','T','O']) && in_array($mode,[1,2]) )) @else @endif {{-- @if($type->bomfile && in_array($mode,[3])) --}} @if(in_array($mode,[2,3])) @if($mode == 3) @endif @endif @if($type->status=='N' && $mode==3) @endif @if($mode == 1 && $type->created_by==Auth::user()->id) {{-- @if(in_array($type->status,['D'])) --}} @if(in_array($type->status,['D','N'])) @endif {{-- @if($type->status == 'A') --}} @if($type->status == 'N') @endif @endif @if($type->ticket) @if(count($type->ticket)>0) @if(in_array($mode,[1,3]) && ($type->created_by==Auth::user()->id || Auth::user()->can('proses.permohonan.belitiket'))) @endif @endif @endif
Tiada Rekod Ditemui.
{{ $types->firstItem() }} - {{ $types->lastItem() }} daripada {{ $types->total() }} (Mukasurat {{ $types->currentPage() }})
{{ $types->appends(Request::only('search'))->appends(Request::all())->links() }}
@stop @section('footer') @stop