<?php $__env->startSection('admincontent'); ?>
<!-- Content Header (Page header) -->
<div class="content-header">
    <div class="container-fluid">
      <div class="row mb-2">
        <div class="col-sm-6">
          <h1 class="m-0">Booking Form</h1>
        </div><!-- /.col -->
        <div class="col-sm-6">
          <ol class="breadcrumb float-sm-right">
            <li class="breadcrumb-item"><a href="<?php echo e(url('/')); ?>">Home</a></li>
            <li class="breadcrumb-item active">Booking Form</li>
          </ol>
        </div><!-- /.col -->
      </div><!-- /.row -->
    </div><!-- /.container-fluid -->
  </div>
  <!-- /.content-header -->

  <!-- Main content -->
  <section class="content">
    <div class="container-fluid">

      <!-- Main row -->
      <div class="row">
        <!-- Left col -->
        <section class="col-lg-12">
          <!-- Custom tabs (Charts with tabs)-->
          <div class="card">
            <div class="card-header">
              
              <div class="card-tools">
                <ul class="nav nav-pills ml-auto">
                  <li class="nav-item">
                    
                    <button value="Back" type="Button" onclick="history.go(-1);" class="btn btn-info float-right">Back</button>
                  </li>
                  
                </ul>
              </div>
            </div><!-- /.card-header -->
            <div class="card-body">
                <form action="<?php echo e(route('booking/store')); ?>" method="post">
                    <?php echo csrf_field(); ?>
                    <div class="row">
                        <div class="col-lg-3">
                            <label for="">Handover Date</label>
                            <input type="date" name="handover_date" class="form-control" value="<?php echo e(old('handover_date')); ?>">
                            <span class="text-danger error-text handover_date_error"></span>
                        </div>

                        <div class="col-lg-3">
                            <label for="">Travel_date</label>
                            <input type="date" class="form-control" name="travel_date">
                            <span class="text-danger error-text travel_date_error"></span>
                        </div>

                        <div class="col-lg-6">
                            <label for="">Client Name</label>
                            <select name="client_name" class="select2 w-100 <?php $__errorArgs = ['client_name'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?> is-invalid <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>">
                                <option value="" selected>Select a Client</option>
                                <?php $__currentLoopData = $clients; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $client): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                                    <option value="<?php echo e($client->id); ?>" <?php echo e(old('client_name')==$client->id ? 'selected' : ''); ?>><?php echo e($client->clientname); ?></option>
                                <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                            </select>
                            <?php $__errorArgs = ['client_name'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?>
                                <div class="text-danger"><?php echo e($message); ?></div>
                            <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>
                            <span class="text-danger error-text client_name_error"></span>
                        </div>

                        <div class="col-lg-6">
                            <label for="">Client Number</label>
                            <input type="text" name="client_number" class="form-control" value="<?php echo e(old('client_number')); ?>">
                            <span class="text-danger error-text client_number_error"></span>
                        </div>

                        <div class="col-lg-3">
                            <label for="">Sales POC</label>
                            <select name="sales_poc" class="select2 w-100 <?php $__errorArgs = ['sales_poc'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?> is-invalid <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>">
                                <option value="" selected>Select a Sales POC</option>
                                <?php $__currentLoopData = $salespocs; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $salespoc): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                                    <option value="<?php echo e($salespoc->id); ?>" <?php echo e(old('sales_poc')==$salespoc->id ? 'selected' : ''); ?>><?php echo e($salespoc->name); ?></option>
                                <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                            </select>
                            <?php $__errorArgs = ['sales_poc'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?>
                                <div class="text-danger"><?php echo e($message); ?></div>
                            <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>
                            <span class="text-danger error-text sales_poc_error"></span>
                        </div>

                        <div class="col-lg-3">
                            <label for="">destination</label>
                            <input type="text" name="destination" value="<?php echo e(old('destination')); ?>" class="form-control">
                            <span class="text-danger error-text destination_error"></span>
                        </div>

                        <div class="col-lg-3">
                            <label for="">OPS POC</label>
                            <select name="ops_poc" class="select2 w-100 <?php $__errorArgs = ['ops_poc'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?> is-invalid <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>">
                                <option value="" selected>Select a OPS POC</option>
                                <?php $__currentLoopData = $opspoc; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $items): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                                    <option value="<?php echo e($items->id); ?>" <?php echo e(old('ops_poc')==$items->id ? 'selected' : ''); ?>><?php echo e($items->name); ?></option>
                                <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                            </select>
                            <?php $__errorArgs = ['ops_poc'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?>
                                <div class="text-danger"><?php echo e($message); ?></div>
                            <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>
                            <span class="text-danger error-text ops_poc_error"></span>
                        </div>

                        <div class="col-lg-3">
                            <label for="">Service Type</label>
                            <select name="service_type" class="select2 w-100 <?php $__errorArgs = ['service_type'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?> is-invalid <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>">
                                <option value="" selected>Select a Service Type</option>
                                <?php $__currentLoopData = $servietypes; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $servietype): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                                    <option value="<?php echo e($servietype->id); ?>" <?php echo e(old('service_type')==$servietype->id ? 'selected' : ''); ?>><?php echo e($servietype->name); ?></option>
                                <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                            </select>
                            <?php $__errorArgs = ['service_type'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?>
                                <div class="text-danger"><?php echo e($message); ?></div>
                            <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>
                            <span class="text-danger error-text service_type_error"></span>
                        </div>

                        <div class="col-lg-3">
                            <label for="">Hotel Invoice Amount</label>
                            <input type="text" name="hotel_invoice_amt" class="form-control" value="<?php echo e(old('hotel_invoice_amt')); ?>">
                            <span class="text-danger error-text hotel_invoice_amt_error"></span>
                        </div>
                        <div class="col-lg-3">
                            <label for="">Land Inv Amt and Total Amount</label>
                            <input type="text" name="land_invoice_amt_and_total_amt" class="form-control" value="<?php echo e(old('land_invoice_amt_and_total_amt')); ?>">
                            <span class="text-danger error-text land_invoice_amt_and_total_amt_error"></span>
                        </div>
                        <div class="col-lg-3">
                            <label for="">Cruise Invoice</label>
                            <input type="text" name="cruise_invoice" class="form-control" value="<?php echo e(old('cruise_invoice')); ?>">
                            <span class="text-danger error-text cruise_invoice_error"></span>
                        </div>

                        <div class="col-lg-3">
                            <label for="">Flight Invoice</label>
                            <input type="text" name="flight_invoice" class="form-control" value="<?php echo e(old('flight_invoice')); ?>">
                            <span class="text-danger error-text flight_invoice_error"></span>
                        </div>

                        <div class="col-lg-6">
                            <label for="">Visa</label>
                            <input type="text" name="visa" class="form-control" value="<?php echo e(old('visa')); ?>">
                            <span class="text-danger error-text visa_error"></span>
                        </div>

                        <div class="col-lg-6">
                            <label for="">Sales GOP with GST</label>
                            <input type="text" name="sales_gop_with_gst" class="form-control" value="<?php echo e(old('sales_gop_with_gst')); ?>">
                            <span class="text-danger error-text sales_gop_with_gst_error"></span>
                        </div>

                        <div class="col-lg-6">
                            <label for="">TCS</label>
                            <input type="text" name="tcs" class="form-control" value="<?php echo e(old('tcs')); ?>">
                            <span class="text-danger error-text tcs_error"></span>
                        </div>

                        <div class="col-lg-6">
                            <label for="">Saller GOP without GST</label>
                            <input type="text" name="saller_gop_without_gst" class="form-control" value="<?php echo e(old('saller_gop_without_gst')); ?>">
                            <span class="text-danger error-text saller_gop_without_gst_error"></span>
                        </div>

                        <div class="col-lg-6">
                            <label for="">OPS Booking Amount</label>
                            <input type="text" name="ops_booking_amt" class="form-control" value="<?php echo e(old('ops_booking_amt')); ?>">
                            <span class="text-danger error-text ops_booking_amt_error"></span>
                        </div>

                        <div class="col-lg-6">
                            <label for="">Seller Selling Amount</label>
                            <input type="text" name="seller_selling_amt" class="form-control" value="<?php echo e(old('seller_selling_amt')); ?>">
                            <span class="text-danger error-text seller_selling_amt_error"></span>
                        </div>

                        <div class="col-lg-6">
                            <label for="">OPS GOP</label>
                            <input type="text" name="ops_gop" class="form-control" value="<?php echo e(old('ops_gop')); ?>">
                            <span class="text-danger error-text ops_gop_error"></span>
                        </div>
                        <div class="col-lg-6">
                            <label for="">OPS GOP without GST</label>
                            <input type="text" name="ops_gop_without_gst" class="form-control" value="<?php echo e(old('ops_gop_without_gst')); ?>">
                            <span class="text-danger error-text ops_gop_without_gst_error"></span>
                        </div>

                        <div class="col-lg-6">
                            <label for="">Final GOP without GST</label>
                            <input type="text" name="final_gop_without_gst" class="form-control" value="<?php echo e(old('final_gop_without_gst')); ?>">
                            <span class="text-danger error-text final_gop_without_gst_error"></span>
                        </div>

                        <div class="col-lg-6">
                            <label for="">Amount Recieved</label>
                            <input type="text" name="amt_recieved" class="form-control" value="<?php echo e(old('amt_recieved')); ?>">
                            <span class="text-danger error-text amt_recieved_error"></span>
                        </div>

                        <div class="col-lg-6">
                            <label for="">Amount Left</label>
                            <input type="text" name="amt_left" class="form-control" value="<?php echo e(old('amt_left')); ?>">
                            <span class="text-danger error-text amt_left_error"></span>
                        </div>

                        <div class="col-lg-6">
                            <label for="">Amount Refund to Client</label>
                            <input type="text" name="amt_refund_to_client" class="form-control" value="<?php echo e(old('amt_refund_to_client')); ?>">
                            <span class="text-danger error-text amt_refund_to_client_error"></span>
                        </div>

                        <div class="col-lg-6">
                            <label for="">Cash Collected From Client</label>
                            <input type="text" name="cash_collected_from_client" class="form-control" value="<?php echo e(old('cash_collected_from_client')); ?>">
                            <span class="text-danger error-text cash_collected_from_client_error"></span>
                        </div>

                        <div class="col-lg-6">
                            <label for="">1st Installment</label>
                            <input type="text" name="first_installment" class="form-control" value="<?php echo e(old('first_installment')); ?>">
                            <span class="text-danger error-text first_installment_error"></span>
                        </div>

                        <div class="col-lg-6">
                            <label for="">2st Installment</label>
                            <input type="text" name="second_installment" class="form-control" value="<?php echo e(old('second_installment')); ?>">
                            <span class="text-danger error-text second_installment_error"></span>
                        </div>

                        <div class="col-lg-6">
                            <label for="">Payment Status</label>
                            <input type="text" name="payment_status" class="form-control" value="<?php echo e(old('payment_status')); ?>">
                            <span class="text-danger error-text payment_status_error"></span>
                        </div>

                        <div class="col-lg-6">
                            <label for="">Acknowledgement Hanover Status</label>
                            <input type="text" name="acknowledgement_hanoverstatus" class="form-control" value="<?php echo e(old('acknowledgement_hanoverstatus')); ?>">
                            <span class="text-danger error-text acknowledgement_hanoverstatus_error"></span>
                        </div>

                        <div class="col-lg-6">
                            <label for="">Acknowledgement Hanover Remarks</label>
                            <input type="text" name="acknowledgement_hanoverremarks" class="form-control" value="<?php echo e(old('acknowledgement_hanoverremarks')); ?>">
                            <span class="text-danger error-text acknowledgement_hanoverremarks_error"></span>
                        </div>

                        <div class="col-lg-6">
                            <label for="">File Status</label>
                            <input type="text" name="file_status" class="form-control" value="<?php echo e(old('file_status')); ?>">
                            <span class="text-danger error-text file_status_error"></span>
                        </div>

                        <div class="col-lg-6">
                            <label for="">Hotel Vendor</label>
                            <select name="hotel_vendor" class="select2 w-100 <?php $__errorArgs = ['hotel_vendor'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?> is-invalid <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>">
                                <option value="" selected>Select a Hotel Vendor</option>
                                <?php $__currentLoopData = $hotelvendors; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $hotelvendor): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                                    <option value="<?php echo e($hotelvendor->id); ?>" <?php echo e(old('hotel_vendor')==$hotelvendor->id ? 'selected' : ''); ?>><?php echo e($hotelvendor->name); ?></option>
                                <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                            </select>
                            <?php $__errorArgs = ['hotel_vendor'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?>
                                <div class="text-danger"><?php echo e($message); ?></div>
                            <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>
                            <span class="text-danger error-text hotel_vendor_error"></span>
                        </div>

                        <div class="col-lg-6">
                            <label for="">Hotel Vouchered Status</label>
                            <input type="text" name="hotel_vouchered_status" class="form-control" value="<?php echo e(old('hotel_vouchered_status')); ?>">
                            <span class="text-danger error-text hotel_vouchered_status_error"></span>
                        </div>

                        <div class="col-lg-6">
                            <label for="">Land Vendor</label>
                            <select name="land_vendor" class="select2 w-100 <?php $__errorArgs = ['land_vendor'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?> is-invalid <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>">
                                <option value="" selected>Select a Land Vendor</option>
                                <?php $__currentLoopData = $landvendors; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $landvendor): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                                    <option value="<?php echo e($landvendor->id); ?>" <?php echo e(old('land_vendor')==$landvendor->id ? 'selected' : ''); ?>><?php echo e($landvendor->name); ?></option>
                                <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                            </select>
                            <?php $__errorArgs = ['land_vendor'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?>
                                <div class="text-danger"><?php echo e($message); ?></div>
                            <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>
                            <span class="text-danger error-text land_vendor_error"></span>
                        </div>

                        <div class="col-lg-6">
                            <label for="">Vendor Payment</label>
                            <input type="text" name="vendor_payment" class="form-control" value="<?php echo e(old('vendor_payment')); ?>">
                            <span class="text-danger error-text vendor_payment_error"></span>
                        </div>

                        <div class="col-lg-6">
                            <label for="">Land Voucher Status</label>
                            <input type="text" name="land_voucher_status" class="form-control" value="<?php echo e(old('land_voucher_status')); ?>">
                            <span class="text-danger error-text land_voucher_status_error"></span>
                        </div>

                        <div class="col-lg-6">
                            <label for="">Visa</label>
                            <input type="text" name="visa_two" class="form-control" value="<?php echo e(old('visa_two')); ?>">
                            <span class="text-danger error-text visa_two_error"></span>
                        </div>

                        <div class="col-lg-12">
                            <label for="">Remarks</label>
                            <textarea name="ops_remarks" class="form-control" rows="3"></textarea>
                            <span class="text-danger error-text ops_remarks_error"></span>
                        </div>
                    </div>
                    <div class="row mt-3">
                        <div class="col-lg-6">
                            <button type="submit" class="btn btn-primary">Submit</button>
                        </div>
                    </div>
                </form>
            </div><!-- /.card-body -->
          </div>
          <!-- /.card -->
        </section>
        <!-- right col -->
      </div>
      <!-- /.row (main row) -->
    </div><!-- /.container-fluid -->
  </section>
<?php $__env->stopSection(); ?>

<?php echo $__env->make('layouts.master', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH /home/annapurn/public_html/triphunter.annapurnadhamagro.com/resources/views/booking/create.blade.php ENDPATH**/ ?>