Current File : //home/tradevaly/www/storage/framework/views/2b5d087290500f93d02be853078030034494265b.php |
<?php $__env->startPush('css'); ?>
<?php $__env->stopPush(); ?>
<?php $__env->startSection('content'); ?>
<div class="container">
<div class="row">
<div class="main-container">
<h2 class="c-heading main-heading multi-heading"><?php echo e(translate('Connect With')); ?> <span><?php echo e(translate($product->supplier->name)); ?></span> <?php echo e(translate('About')); ?></h2>
<div class="col-xs-12 col-sm-12 col-md-8 left-container">
<div class="inline-blocks">
<div class="left-container">
<img src="<?php echo e(asset('storage/images/admin/product/'.$product->image.'')); ?>" alt="<?php echo e($product->title); ?>">
</div>
<div class="right-container">
<h4 class="c-heading heading-rfq"><?php echo e(translate($product->title)); ?></h4>
<h6 class="sub-heading"> <?php echo e(translate($product->supplier->name)); ?> </h6>
<h6 class="sub-heading"><i class="fi fi fi-<?php echo e(strtolower($product->supplier->user->country->iso)); ?>"> </i>
<?php echo e(translate($product->supplier->user->country->nicename)); ?>
</h6>
</div>
</div>
</div>
<div class="col-xs-12 col-sm-12 col-md-12 left-container fleft m-auto">
<div class="form-container">
<form method="POST" action="<?php echo e(route('product.inquery', $product->slug)); ?>" accept-charset="UTF-8" id="rfq-form" class="uploader" enctype="multipart/form-data">
<?php echo csrf_field(); ?>
<div class="form-group">
<input class="form-control p-track" placeholder="Tell us what you want to buy *" id="want_buy" name="subject" type="text" value="<?php if(!empty($title)): ?> Contacting About <?php echo e($title); ?> <?php endif; ?>" required>
</div>
<div class="form-group">
<textarea class="form-control rfq-txt p-track" id="buyoffer_description" name="details" cols="50" rows="10" required placeholder="Enter Your Description"></textarea>
</div>
<div class="row">
<div class="col-lg-6 mb-2">
<label><?php echo e(translate('name')); ?></label>
<input type="text" class="head-field" name="name" placeholder="Enter Your Name" required="required" value="<?php echo e(Auth::user()->name); ?>">
</div>
<div class="col-lg-6 mb-2 ">
<label><?php echo e(translate('Email')); ?></label>
<input type="email" class="head-field" name="email" placeholder="Enter Your Email" required="required" value="<?php echo e(Auth::user()->email); ?>">
</div>
<?php
$my_ip = ip_country('103.122.29.214')->country_code;
$my_country = \App\Models\Country::where('iso', $my_ip)->first();
$countrylist = \App\Models\Country::all();
?>
<div class="col-lg-6 mb-2">
<label><?php echo e(translate('Country')); ?></label>
<select class="head-field country_id" name="country_id" required>
<option value="">Choose Country</option>
<?php $__currentLoopData = $countrylist; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $country): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
<option <?php echo e(Auth::user()->country_id == $country->id? 'selected' : ''); ?> value="<?php echo e($country->id); ?>"><?php echo e($country->name); ?></option>
<?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
</select>
</div>
<div class="col-lg-6 mb-2 ">
<label><?php echo e(translate('Phone')); ?></label>
<!--<input type="tel" class="head-field regphone" name="phone" placeholder="<?php echo e(translate('+00')); ?>" required="required" value="+<?php echo e($my_country->phonecode); ?>"> -->
<input type="tel" class="head-field regphone" name="phone" placeholder="<?php echo e(translate('+00')); ?>" required="required" value="<?php echo e(Auth::user()->company->phone); ?>">
<input id="phone" type='hidden'>
</div>
</div>
<div class="clearfix"></div>
<div class="clearfix"></div>
<button type="submit" class="btn btn-post-rfq"><?php echo e(translate('Submit')); ?></button>
</form>
</div>
</div>
</div>
</div>
</div>
<?php $__env->stopSection(); ?>
<?php $__env->startPush('script'); ?>
<?php $__env->stopPush(); ?>
<?php echo $__env->make('frontend.layouts.app', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH /home/tradevaly/public_html/resources/views/frontend/pages/inquery.blade.php ENDPATH**/ ?>