<?php $__env->startSection('content'); ?>
<div class="container-fluid">
    <div class="page-titles">
        <ol class="breadcrumb">
            <li class="breadcrumb-item"><a href="javascript:void(0)">Settings</a></li>
            <li class="breadcrumb-item active"><a href="<?php echo e(URL::to('/department')); ?>">Department</a></li>
        </ol>
    </div>
    <div class="row">
        <div class="col-12">
            <div class="card">
                <div class="card-primary">
                    <div class="card-header">
                        <b>Show Department</b>
                    </div>
                    <div class="card-body">
                        <!-- form start -->
                        <form id="userregform" class="form-horizontal" action="<?php echo e(URL::to('/show_department_post')); ?>" method="post" autocomplete="off" enctype="multipart/form-data">
                            <?php echo e(csrf_field()); ?>

                            <div class="form-group">
                                <label><b>Organisation</b></label> : 
                                 <?php echo e($departments->organisation->organisation_name); ?>

                            </div>
                            <div class="form-group">
                                <label>Department Name</label>
                                <input type="text" class="form-control" id="department_name" name="department_name" placeholder="Enter Department Name" required value="<?php echo e($departments->department_name); ?>" maxlength="250">
                                <input type="hidden" name="department_id" id="department_id" value="<?php echo e($departments->id); ?>">
                            </div>
                            <div class="form-group">
                                <label>Remarks</label>
                                <input type="text" class="form-control input-default" id="remarks" name="remarks" placeholder="Enter Remarks" value="<?php echo e($departments->remarks); ?>">
                            </div>
                            <div class="card-footer">
                              <button type="submit" class="btn btn-primary">Submit</button>
                              <a href="<?php echo e(URL::to('/department')); ?>" title="View Facility" class="btn btn-warning">Back</a>
                            </div>
                        </form>
                    </div>
                </div>
            </div>
        </div>
    </div>
</div>
<script type="text/javascript">
    $(document).ready(function() {
        toastr.options.timeOut = 10000;
        <?php if(Session::has('error')): ?>
            toastr.error('<?php echo e(Session::get('error')); ?>');
        <?php elseif(Session::has('success')): ?>
            toastr.success('<?php echo e(Session::get('success')); ?>');
        <?php endif; ?>
    });
</script>
<?php $__env->stopSection(); ?>

<?php echo $__env->make('layout.default', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH /var/www/html/ksstmprod/resources/views/Admin/Settings/show_department.blade.php ENDPATH**/ ?>