@extends('adminlte::page') @section('title', 'Create and Update Shifts ' . Config::get('adminlte.title')) @section('content_header')

Shifts

@stop @section('content') {{--Show message if any--}} @include('layouts.flash-message')

Add or Update

{{ html()->form()->route($data->form_action)->method('POST')->autocomplete('off')->open() }} {{ html()->hidden('id', $data->id)->id('id') }}
Name
{{ html()->text('name')->value($data->name)->class('form-control')->required() }}

Shift name

Start Time
{{ html()->text('start_time')->value($data->start_time)->class('form-control timepicker')->required() }}

(Format: Hour:Minute) Fill with the start time hour office

End Time
{{ html()->text('end_time')->value($data->end_time)->class('form-control timepicker')->required() }}

(Format: Hour:Minute) Fill with the end time hour office

Late Mark After (in minutes)
{{ html()->text('late_mark_after')->value($data->late_mark_after)->class('form-control timepicker_minutes')->required() }}

(Format: Hour:Minute) (in minutes) How many minutes is said to be late

Color
{{ html()->select('color')->class('form-control')->options(['chartreuse' => 'Chartreuse', 'cyan' => 'Cyan', 'LightPink' => 'LightPink', 'yellow' => 'Yellow', 'snow' => 'Snow'])->value($data->color) }}

Choose color. Color will show in Attendance page. So you can see their shift from the color

{{ html()->form()->close() }}
@stop @section('css') @stop @section('js') @stop