

<?php $__env->startSection('title'); ?>
Hrm - <?php echo e($title); ?>

<?php $__env->stopSection(); ?>


<?php $__env->startSection('navbar-content'); ?>
<div class="content-header">
    <div class="container-fluid">
        <div class="row mb-2">
            <div class="col-sm-6">
                <h1 class="m-0">
                    HRM </h1>
            </div><!-- /.col -->
            <div class="col-sm-6">
                <ol class="breadcrumb float-sm-right">
                    <li class="breadcrumb-item"><a href="<?php echo e(route('home')); ?>">Dashboard</a></li>
                    <?php if(helper::roleAccess('hrm.attendance.index')): ?>
                    <li class="breadcrumb-item"><a href="attendance<?php echo e(route('hrm.attendance.index')); ?>">Attendance List</a>
                    </li>
                    <?php endif; ?>
                    <li class="breadcrumb-item active"><span>Edit Attendance</span></li>
                </ol>
            </div><!-- /.col -->
        </div><!-- /.row -->
    </div><!-- /.container-fluid -->
</div>
<?php $__env->stopSection(); ?>
<?php $__env->startSection('admin-content'); ?>


<div class="row">
    <div class="col-md-12">
        <div class="card card-default">
            <div class="card-header">
                <h3 class="card-title">Attendance Edit</h3>
                <div class="card-tools">
                    <?php if(helper::roleAccess('hrm.attendance.create')): ?>
                    <a class="btn btn-default" href="<?php echo e(route('hrm.attendance.create')); ?>"><i class="fas fa-plus"></i>
                        Add New</a>
                    <?php endif; ?>
                    <span id="buttons"></span>

                    <a class="btn btn-tool btn-default" data-card-widget="collapse">
                        <i class="fas fa-minus"></i>
                    </a>
                    <a class="btn btn-tool btn-default" data-card-widget="remove">
                        <i class="fas fa-times"></i>
                    </a>
                </div>
            </div>
            <!-- /.card-header -->
            <div class="card-body">
                <form class="needs-validation" method="POST" action="<?php echo e(route('hrm.attendance.update.attendnace', $model->id)); ?>">
                    <?php echo csrf_field(); ?>
                     <div class="card">
                        <div class="card-header">
                            <h4 class="card-title">Basic Details</h4>
                        </div>
                        <div class="card-body">
                            <div class="row">
                                
                                <div class="col-md-4 mb-1">
                                    <label for="">Date</label>
                                    <input type="date" class="form-control input-rounded" value="<?php echo e($model->date); ?>" name="date">
                                    <?php $__errorArgs = ['date'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?>
                                        <span class=" error text-red text-bold"><?php echo e($message); ?></span>
                                    <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>
                                </div>
                    
                                <div class="col-md-4 mb-1">
                                    <label for="">Sign_In</label>
                                    
                                    <input type="time" name="sign_in" class="form-control" placeholder="Sign_in" value="<?php echo e($model->sign_in); ?>">
                                    <?php $__errorArgs = ['sign_in'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?>
                                        <span class=" error text-red text-bold"><?php echo e($message); ?></span>
                                    <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>
                                </div>
                                <div class="col-md-4 mb-1">
                                    <label for="">Sign_Out</label>
                                    
                                    <input type="time" name="sign_out" class="form-control" placeholder="Sign_out" value="<?php echo e($model->sign_out); ?>">
                                    <?php $__errorArgs = ['sign_out'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?>
                                    <span class=" error text-red text-bold"><?php echo e($message); ?></span>
                                    <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>
                                </div>
                                
                                    
                                    
                            </div>
                        </div>
                    </div>
                         
                    <button class="btn btn-info" type="submit"><i class="fa fa-save"></i> &nbsp;Save</button>
                </form>
            </div>
            <!-- /.card-body -->
            <div class="card-footer">

            </div>
        </div>
    </div>
    <!-- /.col-->
</div>

<?php $__env->stopSection(); ?>
<?php echo $__env->make('backend.layouts.master', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH E:\jubayer\resources\views/backend/pages/hrm/attendance/edit.blade.php ENDPATH**/ ?>