@extends('app-new') @push('head-script') @endpush @section('content') @if (isset($status))
@endif

{{ trans('master/master.profile_update') }}

{!! $errors->first('name', '') !!}
{!! $errors->first('email', '') !!}
{!! $errors->first('mobile', '') !!}
{!! $errors->first('old_password', '') !!}
{!! $errors->first('password', '') !!}
{!! $errors->first('password_confirmation', '') !!}
@if (isset($organization) && Auth::user()->isOrganizationalAdmin())

{{ trans('master/master.organization_setting') }}

{!! Form::text( 'max_hour', isset($organization) && $organization->max_hour ? $organization->max_hour : old('max_hour'), ['class' => 'form-control', 'id' => 'max_hour', 'placeHolder' => 'Enter Maximum Hours'], ) !!} {!! $errors->first('max_hour', '') !!}
{!! $errors->first('late_allowed', '') !!}
{!! Form::number( 'no_of_attendance_regularize', isset($organization) && $organization->no_of_attendance_regularize ? $organization->no_of_attendance_regularize : old('no_of_attendance_regularize'), [ 'class' => 'form-control', 'id' => 'no_of_attendance_regularize', 'placeHolder' => 'Enter no of attendance regularize', ], ) !!}
{!! $errors->first( 'no_of_attendance_regularize', '', ) !!}
{!! Form::text( 'buffer_time', isset($organization) && $organization->buffer_time ? $organization->buffer_time : old('buffer_time'), ['class' => 'form-control', 'id' => 'buffer_time', 'placeholder' => 'Enter Buffer timing'], ) !!}
{!! $errors->first('buffer_time', '') !!}
{!! Form::text( 'bus_buffer_time', isset($configData['bus_buffer_time']) ? $configData['bus_buffer_time'] : old('bus_buffer_time'), ['class' => 'form-control', 'id' => 'bus_buffer_time', 'placeholder' => 'Enter Bus Buffer timing'], ) !!}
{!! $errors->first('bus_buffer_time', '') !!}
{!! Form::text( 'duplicate_buffer_time', old('duplicate_buffer_time', @$configData['duplicate_buffer_time']), ['class' => 'form-control', 'id' => 'duplicate_buffer_time', 'placeholder' => 'Default: 15'], ) !!}
{!! $errors->first('duplicate_buffer_time', '') !!}
{!! Form::select( 'working_type', ['working_time' => 'Working Time', 'productive_time' => 'Productive Time'], isset($configData['working_type']) ? $configData['working_type'] : old('working_type'), ['class' => 'form-control select2'], ) !!} {!! $errors->first('working_type', '') !!}
{!! Form::select( 'comp_off_policy', ['min_max_policy' => 'Min/Max Policy', 'working_hrs_policy' => 'Working Hrs Policy'], isset($configData['comp_off_policy']) ? $configData['comp_off_policy'] : old('comp_off_policy'), ['class' => 'form-control select2'], ) !!} {!! $errors->first('comp_off_policy', '') !!}
{!! Form::time( 'working_hour', isset($organization) && $organization->working_hour ? $organization->working_hour : old('working_hour'), ['class' => 'form-control', 'id' => 'working_hour'], ) !!}
{!! $errors->first('working_hour', '') !!}
{!! Form::text('break', isset($organization) && $organization->break ? $organization->break : old('break'), [ 'class' => 'form-control', 'id' => 'break', ]) !!}
{!! $errors->first('break', '') !!}
{!! $errors->first( 'second_level_hierarchy', '', ) !!}
{!! Form::time( 'minimum_hour', isset($organization) && $organization->minimum_hour ? $organization->minimum_hour : old('minimum_hour'), ['class' => 'form-control', 'id' => 'minimum_hour'], ) !!}
{!! $errors->first('minimum_hour', '') !!}
{{-- Preview --}}
{{-- Preview --}}
{!! Form::text( 'max_pay_days', isset($organization) && $organization->max_pay_days ? $organization->max_pay_days : old('max_pay_days'), ['class' => 'form-control', 'id' => 'max_pay_days', 'placeHolder' => 'Enter Max Pay Days'], ) !!} {!! $errors->first('max_pay_days', '') !!}
{!! Form::time( 'payable_working_hour', isset($organization) && $organization->payable_working_hour ? $organization->payable_working_hour : old('payable_working_hour'), ['class' => 'form-control', 'id' => 'payable_working_hour', 'placeHolder' => 'Enter Payable Working Hour'], ) !!} {!! $errors->first('payable_working_hour', '') !!}
{!! Form::time( 'double_duty_diff', isset($configData['double_duty_diff']) ? $configData['double_duty_diff'] : old('double_duty_diff'), ['class' => 'form-control', 'id' => 'double_duty_diff'], ) !!} {!! $errors->first('double_duty_diff', '') !!}
{!! Form::time( 'canteen_attendance_buffer', isset($configData['canteen_attendance_buffer']) ? $configData['canteen_attendance_buffer'] : old('canteen_attendance_buffer'), ['class' => 'form-control', 'id' => 'canteen_attendance_buffer'], ) !!} {!! $errors->first( 'canteen_attendance_buffer', '', ) !!}
{!! Form::number( 'monthly_max_ot', isset($configData['monthly_max_ot']) ? $configData['monthly_max_ot'] : old('monthly_max_ot'), ['class' => 'form-control', 'id' => 'monthly_max_ot'], ) !!} {!! $errors->first('monthly_max_ot', '') !!}
{!! Form::number( 'quarterly_max_ot', isset($configData['quarterly_max_ot']) ? $configData['quarterly_max_ot'] : old('quarterly_max_ot'), ['class' => 'form-control', 'id' => 'quarterly_max_ot'], ) !!} {!! $errors->first('quarterly_max_ot', '') !!}
{{--
{!! Form::number('regularization_block_from', isset($configData['regularization_block_from']) ? $configData['regularization_block_from'] : old('regularization_block_from'), ['class' => 'form-control', 'id' => 'regularization_block_from']) !!} {!! $errors->first('regularization_block_from', '')!!}
--}}
{!! Form::date( 'regularization_block_to', isset($configData['regularization_block_to']) ? $configData['regularization_block_to'] : old('regularization_block_to'), ['class' => 'form-control', 'id' => 'regularization_block_to'], ) !!} {!! $errors->first( 'regularization_block_to', '', ) !!}
{!! Form::select( 'overtime_settle_to', $payrollCompontTypes, isset($configData['overtime_settle_to']) ? $configData['overtime_settle_to'] : old('overtime_settle_to'), ['class' => 'form-control select2withplacehoder'], ) !!} {!! $errors->first('overtime_settle_to', '') !!}
{!! Form::select( 'attendance_incentive_settle_to', $payrollCompontTypes, isset($configData['attendance_incentive_settle_to']) ? $configData['attendance_incentive_settle_to'] : old('attendance_incentive_settle_to'), ['class' => 'form-control select2withplacehoder'], ) !!} {!! $errors->first( 'attendance_incentive_settle_to', '', ) !!}
{!! Form::select( 'multi_amount_settle_to', $payrollCompontTypes, isset($configData['multi_amount_settle_to']) ? $configData['multi_amount_settle_to'] : old('multi_amount_settle_to'), ['class' => 'form-control select2withplacehoder'], ) !!} {!! $errors->first( 'multi_amount_settle_to', '', ) !!}
{!! Form::select( 'advance_settle_to', $payrollCompontTypes, isset($configData['advance_settle_to']) ? $configData['advance_settle_to'] : old('advance_settle_to'), ['class' => 'form-control select2withplacehoder'], ) !!} {!! $errors->first('advance_settle_to', '') !!}
{!! Form::select( 'currency', $currencies, isset($configData['currency']) ? $configData['currency'] : old('currency'), ['class' => 'form-control select2'], ) !!} {!! $errors->first('currency', '') !!}
{!! Form::text( 'device_mail_to', isset($configData['device_mail_to']) ? $configData['device_mail_to'] : old('device_mail_to'), ['class' => 'form-control', 'id' => 'device_mail_to'], ) !!} {!! $errors->first('device_mail_to', '') !!}
{!! Form::text( 'device_mail_cc', isset($configData['device_mail_cc']) ? $configData['device_mail_cc'] : old('device_mail_cc'), ['class' => 'form-control', 'id' => 'device_mail_cc'], ) !!} {!! $errors->first('device_mail_cc', '') !!}
{!! Form::text( 'shift_update_validaity', isset($configData['shift_update_validaity']) ? $configData['shift_update_validaity'] : old('shift_update_validaity'), ['class' => 'form-control', 'id' => 'shift_update_validaity'], ) !!} {!! $errors->first('shift_update_validaity', '') !!}
@endif
@endsection @push('footer-script') @endpush