Spamworldpro Mini Shell
Spamworldpro


Server : Apache
System : Linux server2.corals.io 4.18.0-348.2.1.el8_5.x86_64 #1 SMP Mon Nov 15 09:17:08 EST 2021 x86_64
User : corals ( 1002)
PHP Version : 7.4.33
Disable Function : exec,passthru,shell_exec,system
Directory :  /home/corals/syn.corals.io/storage/framework/views/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : /home/corals/syn.corals.io/storage/framework/views/4cb9e843ac64f6cf30f57d4cc5faa13d151e4eb1.php
<?php $__env->startSection('content_header'); ?>
    <?php $__env->startComponent('components.content_header'); ?>
        <?php $__env->slot('page_title'); ?>
            <?php echo e($title_singular); ?>

        <?php $__env->endSlot(); ?>
        <?php $__env->slot('breadcrumb'); ?>
            <?php echo e(Breadcrumbs::render('syndicate_fee_create_edit')); ?>

        <?php $__env->endSlot(); ?>
    <?php if (isset($__componentOriginal49aca921af2df6149c8fbbdc21f15941a7e3c98f)): ?>
<?php $component = $__componentOriginal49aca921af2df6149c8fbbdc21f15941a7e3c98f; ?>
<?php unset($__componentOriginal49aca921af2df6149c8fbbdc21f15941a7e3c98f); ?>
<?php endif; ?>
<?php echo $__env->renderComponent(); ?>
<?php $__env->stopSection(); ?>

<?php $__env->startSection('content'); ?>
    ##parent-placeholder-040f06fd774092478d450774f5ba30c5da78acc8##
    <div class="row ">
        <div class="col-md-6">
            <?php $__env->startComponent('components.box'); ?>
                <?php echo CoralsForm::openForm($fee); ?>


                <?php echo CoralsForm::customFields($fee); ?>

                <div class="row">
                    <div class="col-md-4">
                        <?php echo CoralsForm::select("user_id",  'Syndicate::attributes.pharmacy.responsible_pharmacist' ,[], true,null,
                                         [
                                         'class'=>'select2-ajax',
                                         'data'=>[
                                                'model'=>\Corals\Modules\Syndicate\Models\SyndicateUser::class,
                                                'columns'=> json_encode(['name','email','last_name']),
                                                'show_identifier'=>json_encode('true'),
                                                'selected'=>json_encode([$fee->user_id]),
                                                ]
                                         ], 'select2'); ?>

                    </div>
                    <div class="col-md-4">
                        <?php echo CoralsForm::select('type_code', 'Syndicate::attributes.fee.transaction_type',Syndicate::getFeeSetupType(), true, $fee->type_id, [], 'select2'); ?>

                    </div>
                </div>
                <div class="row">
                    <div class="col-md-4">
                        <?php echo CoralsForm::number('due', 'Syndicate::attributes.fee.due', true); ?>

                    </div>
                    <div class="col-md-4">
                        <?php echo CoralsForm::number('year', 'Syndicate::attributes.fee.year', true); ?>

                    </div>
                </div>
                <div class="row">
                    <div class="col-md-4">
                        <label class="text-lg"><?php echo e(trans('Syndicate::attributes.fee.paid').': '.$fee->paid); ?></label>
                    </div>
                </div>
                <div class="row">
                    <div class="col-md-8">
                        <?php echo CoralsForm::textarea('details', 'Syndicate::attributes.fee.details', false); ?>

                    </div>
                </div>
                <?php echo CoralsForm::formButtons(); ?>


                <?php echo CoralsForm::closeForm($fee); ?>

            <?php if (isset($__componentOriginala4d84fb46be687bb4f86b193bc47a03d952a16b5)): ?>
<?php $component = $__componentOriginala4d84fb46be687bb4f86b193bc47a03d952a16b5; ?>
<?php unset($__componentOriginala4d84fb46be687bb4f86b193bc47a03d952a16b5); ?>
<?php endif; ?>
<?php echo $__env->renderComponent(); ?>
        </div>
    </div>
<?php $__env->stopSection(); ?>

<?php $__env->startSection('js'); ?>
    <script>
        $("#type_code").change(function () {
            let id = $(this).val();
            $.ajax({
                type: 'POST',
                url: '<?php echo e(URL::to("syndicate/fee-data")); ?>',
                dataType: 'json',
                data: {id: id},
                success: (response) => {
                    $("#year").val(response.year);
                    $("#due").val(response.amount);
                }, error: function () {
                    console.log(this.error)
                }
            })

        });
    </script>
<?php $__env->stopSection(); ?>

<?php echo $__env->make('layouts.crud.create_edit', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH /home/corals/public_html/syn.corals.io/Corals/modules/Syndicate/resources/views/fees/create_edit.blade.php ENDPATH**/ ?>

Spamworldpro Mini