ok

Mini Shell

Direktori : /home2/selectio/www/a1tex.in/storage/framework/views/
Upload File :
Current File : /home2/selectio/www/a1tex.in/storage/framework/views/b29a757837ebe7b99d92801b4976f7dd0011ac2a.php

<?php $__env->startSection('title', \App\CPU\translate('Product Bulk Import')); ?>

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

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

<?php $__env->startSection('content'); ?>
    <div class="content container-fluid">
        <!-- Page Title -->
        <div class="mb-4">
            <h2 class="h1 mb-1 text-capitalize d-flex gap-2">
                <img src="<?php echo e(asset('/public/assets/back-end/img/bulk-import.png')); ?>" alt="">
                <?php echo e(\App\CPU\translate('bulk_Import')); ?>

            </h2>
        </div>
        <!-- End Page Title -->

        <!-- Content Row -->
        <div class="row" style="text-align: <?php echo e(Session::get('direction') === "rtl" ? 'right' : 'left'); ?>;">
            <div class="col-12">
                <div class="card card-body">
                    <h1 class="display-5"><?php echo e(\App\CPU\translate('Instructions')); ?> : </h1>
                    <p> 1. <?php echo e(\App\CPU\translate('Download the format file and fill it with proper data.')); ?></p>

                    <p>2. <?php echo e(\App\CPU\translate('You can download the example file to understand how the data must be filled.')); ?></p>

                    <p>3. <?php echo e(\App\CPU\translate('Once you have downloaded and filled the format file')); ?>, <?php echo e(\App\CPU\translate('upload it in the form below and submit.')); ?></p>

                    <p>4. <?php echo e(\App\CPU\translate('After uploading products you need to edit them and set product images and choices.')); ?></p>

                    <p>5. <?php echo e(\App\CPU\translate('You can get brand and category id from their list')); ?>, <?php echo e(\App\CPU\translate('please input the right ids.')); ?></p>

                    <p>6. <?php echo e(\App\CPU\translate('You can upload your product images in product folder from gallery')); ?>, <?php echo e(\App\CPU\translate('and copy image`s path.')); ?></p>
                </div>
            </div>

            <div class="col-md-12 mt-2">
                <form class="product-form" action="<?php echo e(route('admin.product.bulk-import')); ?>" method="POST"
                      enctype="multipart/form-data">
                    <?php echo csrf_field(); ?>
                    <div class="card rest-part">
                        <div class="px-3 py-4 d-flex flex-wrap align-items-center gap-10 justify-content-center">
                            <h4 class="mb-0"><?php echo e(\App\CPU\translate("Don`t_have_the_template_?")); ?></h4>
                            <a href="<?php echo e(asset('public/assets/product_bulk_format.xlsx')); ?>" download=""
                               class="btn-link text-capitalize fz-16 font-weight-medium"><?php echo e(\App\CPU\translate('download_here')); ?></a>
                        </div>
                        <div class="card-body">
                            <div class="form-group">
                                <div class="row justify-content-center">
                                    <div class="col-auto">
                                        <div class="upload-file">
                                            <input type="file" name="products_file" accept=".xlsx, .xls" class="upload-file__input">
                                            <div class="upload-file__img_drag upload-file__img">
                                                <img src="<?php echo e(asset('/public/assets/back-end/img/drag-upload-file.png')); ?>" alt="">
                                            </div>
                                        </div>
                                    </div>
                                </div>
                            </div>
                            <div class="d-flex flex-wrap gap-10 align-items-center justify-content-end">
                                <button type="reset" class="btn btn-secondary px-4" onclick="resetImg();"><?php echo e(\App\CPU\translate('reset')); ?></button>
                                <button type="submit" class="btn btn--primary px-4"><?php echo e(\App\CPU\translate('Submit')); ?></button>
                            </div>
                        </div>
                    </div>
                </form>
            </div>
        </div>
    </div>
<?php $__env->stopSection(); ?>

<?php $__env->startPush('script'); ?>
<script>
    // File Upload
    "use strict";

    $('.upload-file__input').on('change', function() {
        $(this).siblings('.upload-file__img').find('img').attr({
            'src': '<?php echo e(asset('/public/assets/back-end/img/excel.png')); ?>',
            'width': 80
        });
    });

    function resetImg() {
        $('.upload-file__img img').attr({
            'src': '<?php echo e(asset('/public/assets/back-end/img/drag-upload-file.png')); ?>',
            'width': 'auto'
        });
    }
</script>

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

<?php echo $__env->make('layouts.back-end.app', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH /home2/romeojul/public_html/a1tex.in/resources/views/admin-views/product/bulk-import.blade.php ENDPATH**/ ?>

Zerion Mini Shell 1.0