<!DOCTYPE html>
<html>
<head>

  <title>Employee Profile</title>


  <style type="text/css">

    
    *{

        margin: 0;
     }

     /* GENERAL CSS APPLY ALL SECTIONS*/


  *{
    margin: 0;
  /*  padding-top: 6px;*/
  }
  .margin{
    padding-top: 8px;
  }

  .title{

    text-align: center;
    font-weight: bold;
  }


  .container1{

    margin-left: 7%;
    margin-right: 5%; 
    
  }

  .image-section1{

    width: 500px;
    height: 500px;
    
    
    text-align: center;
    position: absolute;
    margin-left:  -5%;
/*    top:  -500%;*/
bottom:  10%;

    
  }

  .title1{

    text-align: center;
    margin-top: 2%;
    background: #a8a8a8;
    color: #fff;
    width: 30%;
    height: 2%;
    border-radius: 15px;
    vertical-align: middle;
    line-height: 29px;
    margin-left: 34.5%;
  }

  

  .clear{

    clear: both;
  }

  .top-section{
    margin-left: 4%;
  }

  input[type=text]
  {
    

    
    border-top: 0;
    border-right: 0;
    border-left: 0;
    border-bottom: 1px solid;
    font-size: 8px;
    text-align: center;
    background-color: transparent;

  }

/*  #START=> APPARTMENT SECTION */
  .main-section .row .col{
    
  
    width: 25%;
    margin-right: 30px;
    padding-right: 10px;
    float: left;
  }

  .main-section .row{

    /*margin-left: 4%;*/


  }

  .main-section .col label{
    font-size: 8px;
    /*font-weight: bold;*/
  }

  

  .main-section .row .col .check{
    vertical-align: middle;
    margin-right:  90px; 
  }

/*  #END=> APPARTMENT SECTION */




  

  
/*  #END=> OFFICE USE SECTION */

/*  #START=>  IMAGE SECTION */

 .image-section{

   
    text-align: center;
    position: absolute;
    margin-left:  73%;
    top:  22%;

    
  }



  small{
    font-size: 8px;
    margin-left: 15;
  }

     .container{

        
     }

     .left_width{
      width: 25%;
     }


  </style>
</head>
<body style="margin:3% 4.5% 4% 4.5%;">

       <?php echo $__env->make('documents.report_logo', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>
       <br>

     <div class="image-section">
       <img src="<?php echo e(EF::getFile($user->dp)); ?>" width="150px" height="150px">
     </div>


     <div class="container">
        <div class="main-section">
           <center> <h3>EMPLOYEE PROFILE</h3></center>
         
           
      <div class="row clear" style="margin-top:3%;">
      
          <table cellpadding="7" border="1" style="border-collapse: collapse; font-size:10pt; text-align: center; width:100%;">
            <thead>
              <tr>
              <th colspan="3" style="background: #E0E0E0; ">Employee Information</th>
                
              </tr>
              
            </thead>

        
              <tr>
                <td  class="left_width"><strong>Employee Name</strong></td>
                <td><?php echo e($user->name); ?></td>
                <td style="border-bottom: 0;"></td>
                
              </tr>

              <tr>
                <td class="left_width"><strong>Father Name</strong></td>
                <td><?php echo e($user->fname); ?></td>
                <td style="border-bottom: 0; border-top: 0"></td>


                <
              </tr>

              <tr>
                <td class="left_width"><strong>Cnic #</strong></td>
                <td><?php echo e($user->cnic); ?></td>
                <td style="border-bottom: 0; border-top: 0"></td>
                

              </tr>

              <tr>
                <td class="left_width"><strong>Contact #</strong></td>
                <td><?php echo e($user->contact); ?></td>
                <td style="border-bottom: 0; border-top: 0"></td>
                

              </tr>

              <tr>
                <td class="left_width"><strong>Type</strong></td>
                <td><?php echo e($user->employee_type); ?></td>
                <td style="border-bottom: 0; border-top: 0"></td>
                

              </tr>

              <tr>
                <td class="left_width"><strong>Department</strong></td>
                <td>
                  
                  <?php ($employee_department = $user->getUserDepartment($user->id)); ?>
                    <?php ($code = ''); ?>
                  <?php ($department = ''); ?>


                  <?php if(isset($employee_department->department->id)): ?>
                    <?php ($code = $employee_department->department->code); ?>
                    <?php ($department = $employee_department->department->name); ?>
                  <?php endif; ?>

                  <?php echo e($code); ?> <?php echo e($department); ?>

                </td>
                <td style="border-bottom: 0; border-top: 0"></td>
                

              </tr>

       

          
           
          </table>
      </div>
              <!-- INSTALLMENT PLAN -->

               <div class="row clear" style="margin-top:3%;">
      
          <table cellpadding="7" border="1" style="border-collapse: collapse; font-size:10pt; text-align: center; width:100%;">
         

               <thead>
              <tr>
              <th colspan="2" style="background: #E0E0E0; ">Account Information</th>
                
              </tr>
              
            </thead>

              <tr>
                <td class="left_width"><strong>Payment Mode</strong></td>
                <td><?php echo e($user->salary_mode); ?></td>
              </tr>

              <tr>
                <td class="left_width"><strong>Bank Branch</strong></td>
                <td><?php echo e($user->bank_branch); ?></td>
              </tr>

              <tr>
                <td class="left_width"><strong>Bank Name</strong></td>
                <td><?php echo e($user->bank_name); ?></td>
              </tr>

              <tr>
                <td class="left_width"><strong>Account #</strong></td>
                <td><?php echo e($user->account_no); ?></td>
              </tr>

          
           
          </table>
      </div>

              <?php if(isset($active_contract->id)): ?>
               <div class="row clear" style="margin-top:3%;">
      
          <table cellpadding="7" border="1" style="border-collapse: collapse; font-size:10pt; text-align: center; width:100%;">
         

               <thead>
              <tr>
              <th colspan="2" style="background: #E0E0E0; ">Contract Information</th>
                
              </tr>
              
            </thead>

              <tr>
                <td class="left_width"><strong>Designation</strong></td>
                <td><?php echo e($active_contract->designation->title); ?> </td>
              </tr>

              <tr>
                <td class="left_width"><strong>Joining Date</strong></td>
                <td><?php echo e(EF::dateFormat($active_contract->start_date)); ?> </td>
              </tr>

              <tr>
                <td class="left_width"><strong>Basic Salary</strong></td>
                <td><?php echo e(EF::numberFormat($active_contract->basic_salary)); ?></td>
              </tr>

            

          
           
          </table>
      </div>
      <?php endif; ?>
        
        </div>
     </div>

</body>
</html><?php /**PATH /home/ubuntu/rebmgisplus/skylite/resources/views/reports/employee_profile.blade.php ENDPATH**/ ?>