@extends('layouts.app') @section('title', __('user.workshift')) @section('content')

@lang( 'user.workshift' ) @lang( 'user.workshift.edit' )

{!! Form::open(['url' => action('WorkShiftController@update', [$workshift->id]), 'method' => 'PUT', 'id' => 'update_department']) !!}
{!! Form::label('is_active', __( 'user.workshift.status' ) . ':*') !!} {{-- {!! Form::checkbox('is_active', $department->is_active , [ 'class' => 'input-icheck']); !!} {{ __( 'Active Department' ) }} --}} is_active == 1 ? ' checked' : '') }}>
{!! Form::label('name', __( 'user.workshift.name' ) . ':*') !!} {!! Form::text('name', $workshift->name, ['class' => 'form-control', 'required', 'placeholder' => __( 'user.workshift.name' )]) !!}
{!! Form::label('start_time', __( 'user.workshift.starttime' ) . ':*') !!} {!! Form::time('start_time', $workshift->start_time, ['class' => 'form-control', 'required', 'placeholder' => __('user.workshift.starttime')]) !!}
{!! Form::label('end_time', __('user.workshift.endtime') . ':*') !!} {!! Form::time('end_time', $workshift->end_time, ['class' => 'form-control', 'required', 'placeholder' => __('user.workshift.endtime')]) !!}
{!! Form::label('weekly_holidays', __('user.workshift.weekly') . ':*') !!}
weekly_holidays == 1 ? ' checked' : '') }}>
{!! Form::close() !!}
@stop