<div class="row">

    <div class="col-sm-4">
      <label class="label-color"> Select Type: </label>

      <small class="form-errors pull-right req" value=""><?php echo e($errors->first('generic_type',":message")); ?></small>

      <div class="input-group mb-3">

          <input type="hidden" name="generic_type[]" value="<?php echo e(Crypt::encrypt($generic_type->id)); ?>">

          <input readonly="" class="form-control form-control-sm" type="text" name="" value="<?php echo e($generic_type->name); ?>">

      </div>
    </div>


    <div class="col-sm-4" <?php if(!isset($booking->id)): ?> style="display:none;" <?php endif; ?>>
      <label class="label-color"> Booking: </label>

      <small class="form-errors pull-right req" value=""><?php echo e($errors->first('booking',":message")); ?></small>

      <div class="input-group mb-3">

          <input type="hidden" name="booking[]" <?php if(isset($booking->id)): ?> value="<?php echo e(Crypt::encrypt($booking->id)); ?>" <?php else: ?> value="<?php echo e(Crypt::encrypt(0)); ?>" <?php endif; ?> >

          <input readonly="" class="form-control form-control-sm" <?php if(isset($booking->id)): ?>  value="<?php echo e($booking->ms); ?> (<?php echo e(EF::showPlotFormat($booking->plot)); ?>)" <?php endif; ?>>

      </div>
    </div>


      <div class="col-sm-4">
        <label class="label-color"> Payment Type: <i style = "color:red;">*</i></label>
          <small class="form-errors pull-right req" value="*"><?php echo e($errors->first('payment type',":message")); ?></small>

          <div class="input-group mb-3">

            <input type="hidden" name="payment[]" value="<?php echo e(Crypt::encrypt($payment->id)); ?>">
            <input type="text" readonly="" value="<?php echo e($payment->description); ?>" class="form-control form-control-sm">

          </div>
      </div>

      <div class="col-sm-4">
        <label class="label-color"> Amount <i style = "color:red;">*</i></label>
          <small class="form-errors pull-right req" value="*"><?php echo e($errors->first('amount',":message")); ?></small>

          <div class="input-group mb-3">

            <input type="text" name="amount[]" readonly="" value="<?php echo e($payment->amount); ?>" class="form-control form-control-sm">

          </div>
      </div>



</div>

<div class="row">
<div class="col-sm-6">
         <label class="label-color"> User Type: <i style = "color:red;"></i></label>
  <small class="form-errors pull-right req" value=""><?php echo e($errors->first('user type',":message")); ?></small>

  <div class="input-group mb-3">

<input type="text" readonly="" value="<?php echo e($payment->role->name); ?>" class="form-control form-control-sm">

  </div>
</div>

<div class="col-sm-6">
         <label class="label-color"> User: <i style = "color:red;"></i></label>
    <small class="form-errors pull-right req" value="*"><?php echo e($errors->first('user',":message")); ?></small>

    <div class="input-group mb-3">
  <input type="hidden" name="user[]" value="<?php echo e(Crypt::encrypt($payment->user->id)); ?>">
  <input type="text" readonly="" value="<?php echo e($payment->user->name); ?>" class="form-control form-control-sm">


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


<?php /**PATH /home/ubuntu/rebmgisplus/skylite/resources/views/components/voucher/payment_booking_section.blade.php ENDPATH**/ ?>