Current File : /home/tradevaly/public_html/storage/framework/views/8e23b426899294677316f300968e6b5cf2a10562.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('Tell suppliers')); ?> <span><?php echo e(translate('what you need')); ?></span></h2>
<div class="col-xs-12 col-sm-12 col-md-12 left-container fleft">
<h4 class="c-heading heading-rfq"><?php echo e(translate('Complete Your RFQ')); ?></h4>
<h6 class="sub-heading"><?php echo e(translate('The more specific information, the more accurately we can match your request to the right supplier.')); ?></h6>
<div class="form-container">
<form method="POST" action="<?php echo e(route('rfq')); ?>" 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="<?php echo e(translate('Industry name *')); ?>" id="buyoffer_name" name="industry_name" type="text" required>
</div>
<div class="form-group">
<input class="form-control p-track" placeholder="<?php echo e(translate('Tell us what you want to buy *')); ?>" id="want_buy" name="want_buy" type="text" required>
</div>
<div class="form-group">
<?php
$category = \App\Models\Category::where('parent_id', 0)->where('status', 1)->get();
$categories = App\Models\User::groupBy('category_id')
->select('category_id')
->get()->toArray();
$sub_categories = [];
foreach($categories as $category){
$sub_categories[] = \App\Models\Category::where('parent_id',$category['category_id'])->get()->toArray();
}
?>
<select class="form-control" name="category_id">
<option value=""><?php echo e(translate('Select a Category *')); ?></option>
<?php $__currentLoopData = $sub_categories; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $catogories): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
<?php $__currentLoopData = $catogories; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $cat): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
<option value="<?php echo e($cat['id']); ?>"><?php echo e($cat['name']); ?></option>
<?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
<?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
</select>
</div>
<div class="form-group">
<textarea class="form-control rfq-txt p-track" placeholder="Enter your description" id="buyoffer_description" name="details" cols="50" rows="10" required></textarea>
</div>
<div class="form-group l-r-forms">
<div class="col-xs-6 col-sm-6 col-md-6 col-lg-8 fleft">
<input class="form-control p-track" placeholder="<?php echo e(translate('Enter Quantity Required *')); ?>" id="quantity" name="qty" type="text" required>
</div>
<div class="col-xs-6 col-sm-6 col-md-6 col-lg-4 fleft" required>
<select class="form-control p-track" id="quantity_unit" name="unit">
<option value="" selected="selected"><?php echo e(translate('Select Unit *')); ?></option>
<?php $__currentLoopData = $units; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $unit): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
<?php echo $unit; ?> <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
</select>
</div>
</div>
<div class="clearfix"></div>
<div class="form-group">
<select class="form-control p-track" id="frequency" name="frequency" required>
<?php $__currentLoopData = $validities; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $item): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
<?php echo $item; ?>
<?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
</select>
</div>
<div class="form-group">
<div class="file-upload-container max__width__230px">
<input id="file-upload" class="p-track" type="file" name="image" required>
<label for="file-upload" id="file-drag">
<img id="file-image" src="#" alt="Preview" class="hidden">
<div id="start">
<i class="fa fa-download" aria-hidden="true"></i>
<div><?php echo e(translate('Select a image or drag here')); ?></div>
<div id="notimage" class="hidden"><?php echo e(translate('Please select an image')); ?></div>
<p id="file-upload-btn" class="btn btn-primary btn-file-upload-p">
<span class="upload-btn-icon"><?php echo e(translate('Packages')); ?>+</span>
<span
class="upload-btn-text"><?php echo e(translate('Upload Attachment')); ?></span></p>
</div>
<div id="response" class="hidden">
<div id="messages"></div>
</div>
</label>
</div>
</div>
<div class="clearfix"></div>
<h4 class="c-heading heading-rfq margin__bottom__15px"><?php echo e(translate('Provide your contact details')); ?></h4>
<div class="form-group l-r-l-forms margin__bottom__40px">
<div class="col-xs-12 col-sm-4 fleft">
<input class="form-control p-track" placeholder="<?php echo e(translate('Enter Name *')); ?>" id="full_name" name="name" type="text" required>
</div>
<div class="col-xs-12 col-sm-4 fleft">
<input class="form-control p-track" placeholder="<?php echo e(translate('Enter Email *')); ?>" id="user_email" name="email" type="email" required>
</div>
<div class="col-xs-12 col-sm-4 fleft">
<input class="form-control p-track" placeholder="<?php echo e(translate('Enter Phone Number *')); ?>" id="user_phone" required name="number" type="tel" required>
</div>
</div>
<h4 class="c-heading heading-rfq"><?php echo e(translate('Other Requirements')); ?></h4>
<div class="form-group">
<label><?php echo e(translate('Preffered Payment Methods:')); ?></label>
<div class="control-group">
<label for="pm1" class="control control--checkbox pm-checkbox"><?php echo e(translate('T/T')); ?>
<input class="form-control field p-track" id="pm1" data-parent="payment_id" name="p_methods[]" type="checkbox" value="T/T">
<div class="control__indicator"></div>
</label>
<label for="pm2" class="control control--checkbox pm-checkbox"><?php echo e(translate('L/C')); ?>
<input class="form-control field p-track" id="pm2" data-parent="payment_id" name="p_methods[]" type="checkbox" value="L/C">
<div class="control__indicator"></div>
</label>
<label for="pm3" class="control control--checkbox pm-checkbox"><?php echo e(translate('D/A')); ?>
<input class="form-control field p-track" id="pm3" data-parent="payment_id" name="p_methods[]" type="checkbox" value="D/A">
<div class="control__indicator"></div>
</label>
<label for="pm4" class="control control--checkbox pm-checkbox"><?php echo e(translate('D/P')); ?>
<input class="form-control field p-track" id="pm4" data-parent="payment_id" name="p_methods[]" type="checkbox" value="D/P">
<div class="control__indicator"></div>
</label>
<label for="pm5" class="control control--checkbox pm-checkbox"><?php echo e(translate('Western Union')); ?>
<input class="form-control field p-track" id="pm5" data-parent="payment_id" name="p_methods[]" type="checkbox" value="Western Union" >
<div class="control__indicator"></div>
</label>
<label for="pm6" class="control control--checkbox pm-checkbox"><?php echo e(translate('Money Gram')); ?>
<input class="form-control field p-track" id="pm6" data-parent="payment_id" name="p_methods[]" type="checkbox" value="Money Gram" >
<div class="control__indicator"></div>
</label>
<label for="pm7" class="control control--checkbox pm-checkbox"><?php echo e(translate('PayPal')); ?>
<input class="form-control field p-track" id="pm7" data-parent="payment_id" name="p_methods[]" type="checkbox" value="PayPal" >
<div class="control__indicator"></div>
</label>
<label for="pm10" class="control control--checkbox pm-checkbox"><?php echo e(translate('Other')); ?>
<input class="form-control field p-track" id="pm10" data-parent="payment_id" name="p_methods[]" type="checkbox" value="Other" >
<div class="control__indicator"></div>
</label>
</div>
</div>
<div class="form-group l-r-forms">
<div class="col-xs-6 col-sm-6 col-md-6 col-lg-6 fleft">
<input class="form-control p-track" placeholder="Enter destination port" id="port" name="port" type="text" required>
</div>
<div class="col-xs-6 col-sm-6 col-md-6 col-lg-6 fleft">
<select class="form-control p-track" id="validit" name="validity" required>
<?php $__currentLoopData = $freqs; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $freq): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
<?php echo $freq; ?>
<?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
</select>
</div>
</div>
<div class="clearfix"></div>
<div class="form-group">
<div class="control-group">
<label for="terms-condition" class="control control--checkbox"><?php echo e(translate('I have read, agreed to abide by')); ?> <span class="terms-condition-label"><?php echo e(translate('Terms and Conditions of RFQ')); ?></span>
<input class="form-control field " id="terms-condition" name="t_c" type="checkbox" value="1" required>
<div class="control__indicator"></div>
</label>
<p class="error hidden" id="terms_condition_label color__cf0015"><?php echo e(translate('Please accept our terms and conditions')); ?></p>
</div>
</div>
<div class="form-group">
<div class="col-lg-12 <?php echo e($errors->has('g-recaptcha-response') ? ' has-error' : ''); ?>">
<?php echo app('captcha')->display(); ?>
<?php if($errors->has('g-recaptcha-response')): ?>
<span class="help-block">
<strong><?php echo e($errors->first('g-recaptcha-response')); ?></strong>
</span>
<?php endif; ?>
</div>
</div>
<button type="submit" class="btn btn-post-rfq"><?php echo e(translate('Post RFQ')); ?></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/postrfq.blade.php ENDPATH**/ ?>