<?php $__env->startSection('maincontent'); ?>
<?php $__env->startSection('title'); ?>
    <?php echo e(env('APP_NAME')); ?>- Basicinfo
<?php $__env->stopSection(); ?>

<div class="container-fluid pt-4 px-4">
    <div class="row">

        <div class="col-sm-12 col-md-12 col-xl-12 mb-4">
            <div class="bg-secondary rounded h-100 p-4">
                <h2 class="mb-4" style="text-align: center;color:red">Website Basic Information Update</h2>
                <form action="<?php echo e(route('admin.basicinfos.update', $webinfo->id)); ?>" method="POST"
                    enctype="multipart/form-data">
                    <?php echo method_field('PUT'); ?>
                    <?php echo csrf_field(); ?>
                    <div class="row">
                        <div class="col-lg-6">
                            <div class="form-floating mb-3">
                                <input type="email" class="form-control" name="email" value="<?php echo e($webinfo->email); ?>"
                                    id="floatingInput" placeholder="name@example.com">
                                <label for="floatingInput">Email address</label>
                            </div>
                            <div class="form-floating mb-3">
                                <input type="text" class="form-control" name="phone_one"
                                    value="<?php echo e($webinfo->phone_one); ?>" id="floatingPassword" placeholder="Phone One">
                                <label for="floatingPassword">Phone One</label>
                            </div>
                            <div class="form-floating mb-3">
                                <input type="text" class="form-control" name="phone_two"
                                    value="<?php echo e($webinfo->phone_two); ?>" id="floatingPassword" placeholder="Phone Two">
                                <label for="floatingPassword">Phone Two</label>
                            </div>
                            <div class="form-floating mb-3">
                                <input type="text" class="form-control" name="wp_1"
                                    value="<?php echo e($webinfo->wp_1); ?>" id="floatingPassword" placeholder="Whats App One">
                                <label for="floatingPassword">Whats App One</label>
                            </div>
                            <div class="form-floating mb-3">
                                <input type="text" class="form-control" name="wp_2"
                                    value="<?php echo e($webinfo->wp_2); ?>" id="floatingPassword" placeholder="Whats App Two">
                                <label for="floatingPassword">Whats App Two</label>
                            </div>
                            <div class="form-floating mb-3">
                                <input type="text" class="form-control" name="messanger"
                                    value="<?php echo e($webinfo->messanger); ?>" id="floatingPassword" placeholder="Messanger Link">
                                <label for="floatingPassword">Messanger Link</label>
                            </div>
                            <div class="form-floating mb-3">
                                <input type="text" class="form-control" name="imo"
                                    value="<?php echo e($webinfo->imo); ?>" id="floatingPassword" placeholder="Imo">
                                <label for="floatingPassword">Imo</label>
                            </div>

                            <div class="form-floating mb-3">
                                <textarea class="form-control" placeholder="Office Address" name="address" id="floatingTextarea" style="height: 100px;"><?php echo e($webinfo->address); ?></textarea>
                                <label for="floatingTextarea">Office Address</label>
                            </div>
                        </div>
                        <div class="col-lg-6">
                            <div class="form-floating mb-3">
                                <input type="text" class="form-control" name="bk"
                                    value="<?php echo e($webinfo->bk); ?>" id="floatingPassword" placeholder="Bkash Account">
                                <label for="floatingPassword">Bkash Account</label>
                            </div>
                            <div class="form-floating mb-3">
                                <input type="text" class="form-control" name="ng"
                                    value="<?php echo e($webinfo->ng); ?>" id="floatingPassword" placeholder="Nagad Account">
                                <label for="floatingPassword">Nagad Account</label>
                            </div>
                            <div class="form-floating mb-3">
                                <input type="text" class="form-control" name="dbbl"
                                    value="<?php echo e($webinfo->dbbl); ?>" id="floatingPassword" placeholder="DBBL Account">
                                <label for="floatingPassword">DBBL Account</label>
                            </div>
                            <div class="form-floating mb-3">
                                <input type="text" class="form-control" name="usd_rate"
                                    value="<?php echo e($webinfo->usd_rate); ?>" id="floatingPassword" placeholder="Phone Two">
                                <label for="floatingPassword">1 USD TO BDT</label>
                            </div>
                            <div class="mb-3">
                                <input class="form-control form-control-lg bg-dark" name="logo" id="formFileLg"
                                    type="file">
                            </div>
                            <div class="m-3 ms-0" style="text-align: center;height: 85px;margin-top:50px !important">
                                <h4 style="width:30%;float: left;text-align: left;">LOGO : </h4>
                                <img src="<?php echo e(asset($webinfo->logo)); ?>" alt="" srcset=""
                                    style="max-height: 100px;">
                            </div>
                            <div class="mb-3">
                                <lable>Vat Status</lable>
                                <select name="vat_status" id="vat_status" required
                                    class="form-select form-select-lg mb-3" aria-label=".form-select-lg example">
                                    <?php if($webinfo->vat_status == 'On'): ?>
                                        <option value="On" selected>On</option>
                                        <option value="Off">Off</option>
                                    <?php else: ?>
                                        <option value="On">On</option>
                                        <option value="Off" selected>Off</option>
                                    <?php endif; ?>

                                </select>
                            </div>
                            <div class="form-floating mb-3">
                                <input type="text" class="form-control" name="vat"
                                    value="<?php echo e($webinfo->vat); ?>" id="floatingPassword" placeholder="Vat">
                                <label for="floatingPassword">Vat (%)</label>
                            </div>
                            <div class="mt-3">
                                <button type="submit" class="btn btn-primary btn-lg w-100">Update</button>
                            </div>
                        </div>

                    </div>
                </form>
            </div>
        </div>
        <div class="col-sm-12 col-md-12 col-xl-12 mb-4">
            <div class="bg-secondary rounded h-100 p-4">
                <h2 class="mb-4" style="text-align: center;color:red">Shipping Information Update</h2>
                <form action="<?php echo e(route('admin.shipping.update', $webinfo->id)); ?>" method="POST"
                    enctype="multipart/form-data">
                    <?php echo method_field('PUT'); ?>
                    <?php echo csrf_field(); ?>
                    <div class="row">
                        <div class="col-lg-6">
                            <div class="form-floating mb-3">
                                <input type="text" class="form-control" name="inside_dhaka_charge"
                                    value="<?php echo e($webinfo->inside_dhaka_charge); ?>" id="inside_dhaka_charge"
                                    placeholder="Inside Dhaka Charge">
                                <label for="floatingInput">Inside Dhaka Charge</label>
                            </div>
                            <div class="form-floating mb-3">
                                <input type="text" class="form-control" name="outside_dhaka_charge"
                                    value="<?php echo e($webinfo->outside_dhaka_charge); ?>" id="outside_dhaka_charge"
                                    placeholder="Outside Dhaka Charge">
                                <label for="floatingPassword">Outside Dhaka Charge</label>
                            </div>
                            <div class="form-floating mb-3">
                                <input type="text" class="form-control" name="insie_dhaka"
                                    value="<?php echo e($webinfo->insie_dhaka); ?>" id="insie_dhaka"
                                    placeholder="Inside Dhaka Delivery Time">
                                <label for="floatingPassword">Inside Dhaka Delivery Time</label>
                            </div>
                            <div class="form-floating mb-3">
                                <input type="text" class="form-control" name="outside_dhaka"
                                    value="<?php echo e($webinfo->outside_dhaka); ?>" id="outside_dhaka"
                                    placeholder="Outside Dhaka Delivery Time">
                                <label for="floatingPassword">Outside Dhaka Delivery Time</label>
                            </div>
                        </div>
                        <div class="col-lg-6">
                            <div class="form-floating mb-3">
                                <input type="text" class="form-control" name="contact"
                                    value="<?php echo e($webinfo->contact); ?>" id="contact" placeholder="Contact Info">
                                <label for="floatingInput">Contact Info</label>
                            </div>
                            <div class="form-floating mb-3">
                                <input type="text" class="form-control" name="refund_rule"
                                    value="<?php echo e($webinfo->refund_rule); ?>" id="refund_rule" placeholder="Refund Rules">
                                <label for="floatingPassword">Refund Rules</label>
                            </div>
                            <div class=" mb-4">
                                <select name="cash_on_delivery" id="cash_on_delivery" required
                                    class="form-select form-select-lg mb-3" aria-label=".form-select-lg example">
                                    <?php if($webinfo->cash_on_delivery == 'ON'): ?>
                                        <option value="ON" selected>ON</option>
                                        <option value="OFF">OFF</option>
                                    <?php else: ?>
                                        <option value="ON">ON</option>
                                        <option value="OFF" selected>OFF</option>
                                    <?php endif; ?>

                                </select>
                            </div>
                            <div class="mt-3">
                                <button type="submit" class="btn btn-primary btn-lg w-100">Update</button>
                            </div>
                        </div>

                    </div>
                </form>
            </div>
        </div>
        <div class="col-sm-12 col-md-12 col-xl-12 mb-4">
            <div class="bg-secondary rounded h-100 p-4">
                <h2 class="mb-4" style="text-align: center;color:red">Pixel & Analytics</h2>
                <form action="<?php echo e(url('/admin/pixel/analytics', $webinfo->id)); ?>" method="POST"
                    enctype="multipart/form-data">
                    <?php echo csrf_field(); ?>
                    <div class="row">
                        <div class="col-lg-6">
                            <div class="form-floating mb-3">
                                <textarea class="form-control" placeholder="Facebook Pixel" name="facebook_pixel" id="floatingTextarea"
                                    style="height: 150px;"><?php echo e($webinfo->facebook_pixel); ?></textarea>
                                <label for="floatingTextarea">Facebook Pixel</label>
                            </div>
                        </div>
                        <div class="col-lg-6">
                            <div class="form-floating mb-3">
                                <textarea class="form-control" placeholder="Google Analytics" name="google_analytics" id="floatingTextarea"
                                    style="height: 150px;"><?php echo e($webinfo->google_analytics); ?></textarea>
                                <label for="floatingTextarea">Google Analytics</label>
                            </div>
                        </div>

                        <div class="col-lg-6">
                            <div class="form-floating mb-3">
                                <textarea class="form-control" placeholder="Marquee Text" name="marquee_text" id="marquee_text"
                                    style="height: 100px;"><?php echo e($webinfo->marquee_text); ?></textarea>
                                <label for="floatingTextarea">Marquee Text</label>
                            </div>
                        </div>
                        <div class="col-lg-6">
                            <div class="form-floating mb-3">
                                <textarea class="form-control" placeholder="Chatbox Script" name="chat_box" id="chat_box"
                                    style="height: 100px;"><?php echo e($webinfo->chat_box); ?></textarea>
                                <label for="floatingTextarea">Chatbox Script</label>
                            </div>
                        </div>
                        <div class="mt-3">
                            <button type="submit" class="btn btn-primary btn-lg w-100">Update</button>
                        </div>
                    </div>
                </form>
            </div>
        </div>

        <div class="col-sm-12 col-md-12 col-xl-12">
            <div class="bg-secondary rounded h-100 p-4">
                <h2 class="mb-4" style="text-align: center;color:red">Social Links Update</h2>
                <form action="<?php echo e(url('/admin/basicinfo/update', $webinfo->id)); ?>" method="POST"
                    enctype="multipart/form-data">
                    <?php echo csrf_field(); ?>
                    <div class="row">
                        <div class="col-lg-6">
                            <div class="form-floating mb-3">
                                <input type="text" class="form-control" name="facebook"
                                    value="<?php echo e($webinfo->facebook); ?>" id="floatingInput"
                                    placeholder="https://www.facebook.com/">
                                <label for="floatingInput">Facebook</label>
                            </div>
                            <div class="form-floating mb-3">
                                <input type="text" class="form-control" name="twitter"
                                    value="<?php echo e($webinfo->twitter); ?>" id="floatingInput"
                                    placeholder="https://www.google.com/maps">
                                <label for="floatingInput">Google Maps</label>
                            </div> 
                            <div class="form-floating mb-3">
                                <input type="text" class="form-control" name="pinterest"
                                    value="<?php echo e($webinfo->pinterest); ?>" id="floatingInput"
                                    placeholder="https://www.tiktok.com/">
                                <label for="floatingInput">Tiktok</label>
                            </div>
                        </div>
                        <div class="col-lg-6"> 
                            <div class="form-floating mb-3">
                                <input type="text" class="form-control" name="linkedin"
                                    value="<?php echo e($webinfo->linkedin); ?>" id="floatingInput"
                                    placeholder="https://www.instagram.com/">
                                <label for="floatingInput">Instagram</label>
                            </div>
                            <div class="form-floating mb-3">
                                <input type="text" class="form-control" name="youtube"
                                    value="<?php echo e($webinfo->youtube); ?>" id="floatingInput"
                                    placeholder="https://www.Youtube.com/">
                                <label for="floatingInput">Youtube</label>
                            </div>
                            <div class="mt-4">
                                <button type="submit" class="btn btn-primary btn-lg w-100">Update</button>
                            </div>
                        </div>

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

    </div>
</div>

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

<?php echo $__env->make('backend.master', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH D:\xampp\htdocs\multivendor_ecom\resources\views/backend/content/basicinfo/index.blade.php ENDPATH**/ ?>