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/79dc7074f781420eb75564b5955e326f86e51d5e.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_loans_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-8">
            <?php $__env->startComponent('components.box'); ?>
                <div class="row">
                    <div class="col-md-3">
                        <?php echo CoralsForm::text("", 'Syndicate::attributes.fee.type', false, $fee->type->value,['disabled']); ?>

                    </div>

                    <div class="col-md-3">
                        <?php echo CoralsForm::text("", 'Syndicate::attributes.fee.due', false, $fee->due,['disabled']); ?>

                    </div>
                    <div class="col-md-3">
                        <?php echo CoralsForm::text("", 'Syndicate::attributes.fee.paid', false, $fee->paid,['disabled']); ?>

                    </div>
                    <div class="col-md-3">
                        <?php echo CoralsForm::text("", 'Syndicate::attributes.fee.remaining', false, ($fee->due - $fee->paid),['disabled']); ?>

                    </div>
                </div>
                <?php echo CoralsForm::openForm($fee_transaction); ?>

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

                <input type="hidden" value="<?php echo e($fee->user_id); ?>">

                <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::text("receipt_no", 'Syndicate::attributes.fee_transaction.number', true); ?>

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

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

                    </div>
                    <div class="col-md-4">
                        <?php echo CoralsForm::select('currency_code', 'Syndicate::attributes.fee_transaction.currency', ListOfValues::get('Syndicate::currency', false, 'active', true), true, $fee->currency_id, [], 'select2'); ?>

                    </div>
                    <div class="col-md-4">
                        <?php echo CoralsForm::select('payment_method', 'Syndicate::attributes.fee_transaction.payment', ListOfValues::get('Syndicate::payment_method', false, 'active', true), true, $fee->payment_method, [] ,'select2'); ?>

                    </div>
                </div>
                <div class="form-group">
                    <input name="fees-due-validation" hidden>
                </div>

                <div class="" id="cheque_div"
                     style="<?php echo e($fee_transaction->payment_method=='Syndicate::payment_method.cheque'?'':'display:none'); ?>">
                    <div class="passport-box" id="cheque_details">
                        <div class="row">
                            <div class="col-md-4">
                                <?php echo CoralsForm::text('cheque_no', 'Syndicate::attributes.fee_transaction.cheque_no', true); ?>

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

                            </div>
                        </div>

                        <div class="row">
                            <div class="col-md-4">
                                <?php echo CoralsForm::select('cheque_currency', 'Syndicate::attributes.fee_transaction.currency',ListOfValues::get('Syndicate::currency', false, 'active', true), true, $fee->user_id, [], 'select2'); ?>

                            </div>
                            <div class="col-md-4">
                                <?php echo CoralsForm::date('cheque_date', 'Syndicate::attributes.fee_transaction.date_cheque', true); ?>

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

                <div class="" id="transfer_div"
                     style="<?php echo e($fee_transaction->payment_method=='Syndicate::payment_method.transfer'?'':'display:none'); ?>">
                    <div class="passport-box" id="transfer_details">
                        <div class="row">
                            <div class="col-md-4">
                                <?php echo CoralsForm::text('transfer_no', 'Syndicate::attributes.fee_transaction.transfer_no', true); ?>

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

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

                <div class="row">
                    <div class="col-md-8">
                        <?php echo CoralsForm::textarea('details','Syndicate::attributes.fee_transaction.details'); ?>

                    </div>
                </div>

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


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

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


<?php $__env->startPush('partial_js'); ?>
    <script>

        $('#payment_method').change(function () {
            let value = ($(this).val());
            if (value === '') {
                $(document).ready(function () {
                    $('#cheque_div').hide();
                    $('#transfer_div').hide();
                })
            }
            if (value === 'Syndicate::payment_method.cash') {
                $(document).ready(function () {
                    $('#cheque_div').hide();
                    $('#transfer_div').hide();
                })
            }
            if (value === 'Syndicate::payment_method.cheque') {
                $(document).ready(function () {
                    $('#cheque_div').show();
                    $('#transfer_div').hide();
                })
            }
            if (value === 'Syndicate::payment_method.transfer') {
                $(document).ready(function () {
                    $('#cheque_div').hide();
                    $('#transfer_div').show();
                })
            }
        });
    </script>
<?php $__env->stopPush(); ?>






<?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/fee_transactions/create_edit.blade.php ENDPATH**/ ?>

Spamworldpro Mini