@extends('layouts.template') @section('content')

Staff

@if(Session::has('flash_message'))

{{ Session::get('flash_message') }}

@endif
@foreach($staff as $data) @endforeach
Staff Nr Name Country Section Start Date End Date Working Days Leave Due Status Action
staff_{{$data->id}} {{$data->name}} {{$data->country}} {{$data->section}} {{Helper::convert_to_ddmmyy($data->start_date)}} {{Helper::convert_to_ddmmyy($data->end_date)}} {{$data->working_days}} {{$data->leave_due}} {{$data->status}} {!! Form::open([ 'method'=>'DELETE', 'url' => ['/taskassigner/staffcontrol', $data->id], 'style' => 'display:inline' ]) !!} {!! Form::button('', array( 'type' => 'submit', 'class' => 'btn btn-danger btn-s', 'title' => 'Delete Name', 'onclick'=>'return confirm("Confirm delete?")' )) !!} {!! Form::close() !!}

Activity Log

Staff Nr Name Section Date Status Days
@endsection