
<div class="modal fade" id="md_add_branch" tabindex="-1" role="dialog" aria-labelledby="exampleModalLabel" aria-hidden="true">
  <?php echo e(Form::open(array('route' => 'branch.store', 'class' => 'cls_form', 'id' => 'form_add_branch'))); ?>

  <div class="modal-dialog modal-lg" role="document">
    <div class="modal-content">
      <div class="modal-header">
        <h5 class="modal-title" id="exampleModalLabel">Add <?php echo e(ucwords(str_replace('_',' ',$branch_labels['module']))); ?></h5>
        <button type="button" class="close" data-dismiss="modal" aria-label="Close">
          <span aria-hidden="true"></span>
        </button>
      </div>
      <div class="modal-body ">
        <div class = "card">
          <div class ="card-body form-fieldset">
                               <div class="row">

          <div class="col-sm-6">
               <label class="label-color"> <?php echo e(ucwords(str_replace('_',' ',$branch_labels['start_date']))); ?>: <i style = "color:red;">*</i></label>
            <small class="form-errors pull-right req" value="*"><?php echo e($errors->first($branch_labels['start_date'],":message")); ?></small>
            <div class="input-group mb-3">
             
              <?php echo e(Form::date($branch_labels['start_date'], '', ['class' => 'form-control form-control-sm  cls_date', 'placeholder' => ucwords(str_replace('_',' ',$branch_labels['start_date'])) , 'aria-label' => 'Default', 'aria-describedby' => 'inputGroup-sizing-default','id' => 'form_add_branch'])); ?>

            </div>
          </div>

          <div class="col-sm-6">
               <label class="label-color"> <?php echo e(ucwords(str_replace('_',' ',$branch_labels['end_date']))); ?>: <i style = "color:red;">*</i></label>
            <small class="form-errors pull-right req" value="*"><?php echo e($errors->first($branch_labels['end_date'],":message")); ?></small>
            <div class="input-group mb-3">
             
              <?php echo e(Form::date($branch_labels['end_date'], '', ['class' => 'form-control form-control-sm  cls_date', 'placeholder' => ucwords(str_replace('_',' ',$branch_labels['end_date'])) , 'aria-label' => 'Default', 'aria-describedby' => 'inputGroup-sizing-default','id' => 'form_add_branch'])); ?>

            </div>
          </div>

          <div class="col-sm-12">
               <label class="label-color"> <?php echo e(ucwords(str_replace('_',' ',$branch_labels['code']))); ?>: <i style = "color:red;">*</i></label>
            <small class="form-errors pull-right req" value="*"><?php echo e($errors->first($branch_labels['code'],":message")); ?></small>
            <div class="input-group mb-3">
             
              <?php echo e(Form::Text($branch_labels['code'], '', ['class' => 'form-control form-control-sm  cls_required', 'placeholder' => ucwords(str_replace('_',' ',$branch_labels['code'])) , 'aria-label' => 'Default', 'aria-describedby' => 'inputGroup-sizing-default','id' => 'form_add_branch'])); ?>

            </div>
          </div>

          <div class="col-sm-12">
               <label class="label-color"> <?php echo e(ucwords(str_replace('_',' ',$branch_labels['name']))); ?>: <i style = "color:red;">*</i></label>
            <small class="form-errors pull-right req" value="*"><?php echo e($errors->first($branch_labels['name'],":message")); ?></small>

            <div class="input-group mb-3">
            
              <?php echo e(Form::Text($branch_labels['name'], '', ['class' => 'form-control form-control-sm  cls_alpha_numeric', 'placeholder' => ucwords(str_replace('_',' ',$branch_labels['name'])) , 'aria-label' => 'Default', 'aria-describedby' => 'inputGroup-sizing-default'])); ?>

            </div>
          </div>

          <div class="col-sm-12">
               <label class="label-color"> <?php echo e(ucwords(str_replace('_',' ',$branch_labels['city']))); ?>: <i style = "color:red;">*</i></label>
            <small class="form-errors pull-right req" value="*"><?php echo e($errors->first($branch_labels['city'],":message")); ?></small>

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

            <?php ($city_list = []); ?>

              <?php $__currentLoopData = EF::getCityList(); $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $rows): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                <?php ($city_list += [$rows => $rows]); ?>
              <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>

              <?php echo e(Form::select($branch_labels['city'],$city_list,'Islamabad', ['class' => 'form-control form-control-sm  cls_required', 'placeholder' => ucwords(str_replace('_',' ',$branch_labels['city'])) , 'aria-label' => 'Default', 'aria-describedby' => 'inputGroup-sizing-default', 'rows' => '4'])); ?>

            </div>
          </div>

          <div class="col-sm-12">
               <label class="label-color"> <?php echo e(ucwords(str_replace('_',' ',$branch_labels['location']))); ?>: <i style = "color:red;">*</i></label>
            <small class="form-errors pull-right req" value="*"><?php echo e($errors->first($branch_labels['location'],":message")); ?></small>

            <div class="input-group mb-3">
            
              <?php echo e(Form::Textarea($branch_labels['location'], '', ['class' => 'form-control form-control-sm  cls_required', 'placeholder' => ucwords(str_replace('_',' ',$branch_labels['location'])) , 'aria-label' => 'Default', 'aria-describedby' => 'inputGroup-sizing-default', 'rows' => '4'])); ?>

            </div>
          </div>

          

        </div>
          </div>
        </div> 
      </div>
      <div class="modal-footer">
        <button type="button" class="btn btn-secondary" data-dismiss="modal">Close</button>
        <button type="submit" class="btn btn-primary cls_submit" content=" add <?php echo e($branch_labels['module']); ?> ">Add <?php echo e(ucwords(str_replace('_',' ',$branch_labels['module']))); ?></button>
      </div>
    </div>
  </div>
  <?php echo e(Form::close()); ?>

</div><?php /**PATH /var/www/skylite/resources/views/branch/modals/add_branch.blade.php ENDPATH**/ ?>