<?php
    $table_name = 'lms_classes';
?>
<?php $__env->startSection('table'); ?>
    <?php echo e($table_name); ?>

<?php $__env->stopSection(); ?>
<?php $__env->startSection('mainContent'); ?>

    <?php echo e(generateBreadcrumb()); ?>


    <section class="admin-visitor-area up_st_admin_visitor">
        <div class="container-fluid p-0">
            <div class="row justify-content-center">
                <div class="col-md-12">
                    <div class="box_header common_table_header">
                        <div class="main-title d-md-flex">
                            <h3 class="mb-0 mr-30 mb_xs_15px mb_sm_20px">
                                <?php if(!isset($model)): ?>
                                    <?php echo e(__('class.Add New Class')); ?>

                                <?php else: ?>
                                    <?php echo e(__('invoice.Printed Certificate')); ?>

                                <?php endif; ?>
                            </h3>
                        </div>
                    </div>
                    <div class="white-box mb_30  student-details header-menu">
                        <form method="POST" action="<?php echo e(route('prc.update', $model->id)); ?>">
                            <?php echo csrf_field(); ?>
                            <?php echo method_field('PUT'); ?>
                            <div class="row pt-0">
                            <div class="col-xl-6">
                                <div class="primary_input mb-25">
                                    <label class="primary_input_label" for="nameInput"><?php echo e(__('common.Title')); ?>

                                        <strong class="text-danger">*</strong></label>
                                    <input name="title" id="nameInput"
                                           class="primary_input_field name <?php echo e(@$errors->has('title') ? ' is-invalid' : ''); ?>"
                                           placeholder="<?php echo e(__('class.Class Name')); ?>" type="text"
                                           value="<?php echo e(isset($model) ? $model->title : ''); ?>">
                                    <?php if($errors->has('title')): ?>
                                        <span class="invalid-feedback d-block mb-10" role="alert">
                                            <strong><?php echo e(@$errors->first('title')); ?></strong>
                                        </span>
                                    <?php endif; ?>
                                </div>
                            </div>
                            <div class="col-xl-6">
                                <div class="primary_input mb-25">
                                    <label class="primary_input_label" for="priceInput"><?php echo e(__('common.Price')); ?>

                                        <strong class="text-danger">*</strong></label>
                                    <input name="price" id="priceInput" type="number"
                                           class="primary_input_field name <?php echo e(@$errors->has('price') ? ' is-invalid' : ''); ?>"
                                           placeholder="<?php echo e(__('class.Class Name')); ?>" type="text"
                                           value="<?php echo e(isset($model) ? $model->price : ''); ?>">
                                    <?php if($errors->has('price')): ?>
                                        <span class="invalid-feedback d-block mb-10" role="alert">
                                            <strong><?php echo e(@$errors->first('price')); ?></strong>
                                        </span>
                                    <?php endif; ?>
                                </div>
                            </div>
                        </div>
                        <div class="col-lg-12 text-center">
                            <div class="d-flex justify-content-center pt_20">
                                <button type="submit" class="primary-btn semi_large fix-gr-bg" data-bs-toggle="tooltip"
                                        title="<?php echo e(@$tooltip); ?>" id="save_button_parent">
                                    <i class="ti-check"></i>
                                    <?php if(!isset($model)): ?>
                                        <?php echo e(__('common.Save')); ?>

                                    <?php else: ?>
                                        <?php echo e(__('common.Update')); ?>

                                    <?php endif; ?>
                                </button>
                            </div>
                        </div>
                        </form>

                    </div>
                </div>

            </div>
        </div>
    </section>

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

<?php echo $__env->make('backend.master', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH /home/minialms/app.minialms.com/Modules/Invoice/Resources/views/printedCertificate/index.blade.php ENDPATH**/ ?>