HEX
Server: nginx/1.28.1
System: Linux 10-41-63-61 6.8.0-31-generic #31-Ubuntu SMP PREEMPT_DYNAMIC Sat Apr 20 00:40:06 UTC 2024 x86_64
User: www (1001)
PHP: 7.4.33
Disabled: passthru,exec,system,putenv,chroot,chgrp,chown,shell_exec,popen,proc_open,pcntl_exec,ini_alter,ini_restore,dl,openlog,syslog,readlink,symlink,popepassthru,pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,imap_open,apache_setenv
Upload Files
File: /www/wwwroot/www.shooperm.com/storage/framework/views/f445f938cafd59f2ca7b488f3839ff3769150a0e.php
<table class="table Crm_table_active">
    <thead>
    <tr>
        <th scope="col"><?php echo e(__('common.sl')); ?></th>
        <th scope="col"><?php echo e(__('common.name')); ?></th>
        <th scope="col"><?php echo e(__('general_settings.activate')); ?></th>
        <th scope="col"><?php echo e(__('common.action')); ?></th>
    </tr>
    </thead>
    <tbody>
    <?php $__currentLoopData = $carriers; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $key => $row): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
        <tr>
            <td><?php echo e($key + 1); ?></td>
            <td>
                <?php echo e($row->name); ?>

                <?php if(config('app.sync')): ?>
                    <?php if($row->slug == 'Shiprocket'): ?>
                        <span class="demo_addons">Addon</span>
                    <?php endif; ?>
                <?php endif; ?>
            </td>
            <?php if($row->slug == 'Shiprocket'): ?>
                <?php
                    $carrierConfig = $row->carrierConfig;
                ?>
                 <?php if($carrierConfig): ?>
                    <td class="text-left">
                        <label class="switch_toggle" for="checkbox<?php echo e($row->id); ?>">
                            <input data-carrier="<?php echo e($row->id); ?>" type="checkbox" id="checkbox<?php echo e($row->id); ?>" <?php if($row->carrierConfig->carrier_status == 1): ?> checked <?php endif; ?> <?php if(permissionCheck('shipping.carriers.status')): ?> value="<?php echo e($row->carrierConfig->id); ?>" class="carrier_activate" <?php else: ?> disabled <?php endif; ?>>
                            <div class="slider round"></div>
                        </label>
                    </td>
                <?php else: ?>
                    <td class="text-left">
                        <label class="switch_toggle disable_shiprocket" for="checkbox<?php echo e($row->id); ?>">
                            <input title="Carrier Config Done First" type="checkbox" id="checkbox<?php echo e($row->id); ?>"  class="carrier_dissable" disabled >
                            <div class="slider round"></div>
                        </label>
                    </td>
                <?php endif; ?>
            <?php else: ?>
                <td class="text-left">
                    <label class="switch_toggle" for="checkbox<?php echo e($row->id); ?>">
                        <input data-carrier="<?php echo e($row->id); ?>" type="checkbox" id="checkbox<?php echo e($row->id); ?>" <?php if($row->status == 1): ?> checked <?php endif; ?> <?php if(permissionCheck('shipping.carriers.status')): ?> value="<?php echo e($row->id); ?>" class="carrier_activate" <?php else: ?> disabled <?php endif; ?>>
                        <div class="slider round"></div>
                    </label>
                </td>
            <?php endif; ?>
            <td>
                <?php if($row->type != 'Automatic'): ?>
                <div class="dropdown CRM_dropdown">
                    <button class="btn btn-secondary dropdown-toggle" type="button" id="dropdownMenu2" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
                        <?php echo e(__('common.select')); ?>

                    </button>
                    <div class="dropdown-menu dropdown-menu-right" aria-labelledby="dropdownMenu2">

                        <a href="#" data-id="<?php echo e($row->id); ?>" class="edit_carrier dropdown-item"><?php echo e(__('common.edit')); ?></a>
                        <?php if(permissionCheck('shipping.carrier.update')): ?>
                        <?php endif; ?>
                        <?php if(permissionCheck('shipping.carrier.destroy')): ?>
                        <?php endif; ?>
                        <a href="#" data-id="<?php echo e($row->id); ?>" class="delete_carrier dropdown-item"><?php echo e(__('common.delete')); ?></a>

                    </div>
                </div>
                <?php else: ?>
                <?php echo e(__('common.not_editable')); ?>

                <?php endif; ?>
            </td>
        </tr>
    <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
    </tbody>
</table>
<?php /**PATH /www/wwwroot/www.shooperm.com/Modules/Shipping/Resources/views/carriers/list.blade.php ENDPATH**/ ?>