@section('tittle') {{"POLICY 2ND APPROVE"}}@endsection
@extends('LifeAtGainup.Navbar.nav') @section('content')
@php $loginNAME = Session::get('emp_name') @endphp
{{$loginNAME}}
10
50
70
100
Show ALL Rows
@csrf
SNO
Policy No
Policy Name
Policy Type
Department
Revised On
Policy Doc-1
Policy Doc-2
Policy Doc-3
Remark
@foreach($result as $index => $row)
{{ $index + 1 }}
{{ $row['Policy_No'] }}
{{ $row['Policy_name'] }}
{{ $row['Name'] }}
{{ $row['Department'] }}
{{ date('Y-m-d', strtotime($row['Eff_from'])) }}
@if($row['Policy_doc1'] !== "null")
Document-1
@else -- @endif
@if($row['Policy_doc2'] !== "null")
Document-2
@else -- @endif
@if($row['Policy_doc3'] !== "null")
Document-3
@else -- @endif
{{ $row['Remarks'] }}
@endforeach
Total entries:
CLEAR
@if ($message = Session::get('success'))
{{$message}}
@endif @if ($message = Session::get('alert'))
{{$message}}
@endif @endsection