<?php ($branch_labels = EF::branchWhiteLabel()); ?>

 <div class="col-sm-12">

 </div>
 <div class="col-sm-12 col-md-4">
  <small class="form-errors pull-right req" value=""><?php echo e($errors->first('type',":message")); ?></small>


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

    <div class="input-group-prepend">
      <span class="input-group-text" id="inputGroup-sizing-default">
        <?php echo e(ucwords(str_replace('_',' ',$branch_labels['module']))); ?>

      </span>
    </div>
     <input type="hidden" name="compound_type" value="General">
    <input type="text"  name="branch_name" value="<?php echo e($payment->branch->code); ?> <?php echo e($payment->branch->name); ?>" class="form-control form-control-sm cls_selection branch" value="" readonly="">

    <input class="branch_id" type="hidden" name="<?php echo e(EF::branchWhiteLabel()['module']); ?>" value="<?php echo e(Crypt::encrypt($payment->branch->id)); ?>">
    

  </div>
</div>

<div class="col-sm-12 col-md-4">

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

  <div class="input-group mb-4">
    <div class="input-group-prepend">
      <span class="input-group-text" id="inputGroup-sizing-default">
        Voucher
      </span>
    </div>

    <?php if(isset($approve_transaction)): ?>
    <input type="hidden" name="approve_transaction" value="<?php echo e($approve_transaction); ?>">
    <?php endif; ?>
    <select onchange="showSubheads(event,this);" name="voucher_list" class="form-control form-control-sm cls_selection">
      <?php ($full_voucher = EF::getFullVoucherList()); ?>
   
      <?php ($generic_list = EF::getGenericTableIndex()); ?>
    
      
      <?php $__currentLoopData = EF::getVoucherList(); $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $rows): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>

          <option <?php if($voucher_type == $rows): ?>  selected <?php endif; ?> value="<?php echo e($rows); ?>"><?php echo e($full_voucher[$rows]); ?></option>
     
      <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
    </select>

  </div>
</div>

<div class="col-sm-12 col-md-4">
  <small class="form-errors pull-right req" value="*"><?php echo e($errors->first('date',":message")); ?></small>
  <div class="input-group mb-3">
    <div class="input-group-prepend">
      <span class="input-group-text" id="inputGroup-sizing-default">
        Date
      </span>
    </div>
    <input value="<?php echo e(EF::dateHtml(date('Y-m-d'))); ?>" type="date" name="date" class="form-control form-control-sm cls_date date" >

  </div>
</div>




<?php /**PATH /var/www/skylite/resources/views/components/voucher/payment_header.blade.php ENDPATH**/ ?>