<!doctype html>
<html>
   <head>
      <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
      <title>Leave Email</title>
      <style type="text/css">
         body {
         padding-top: 0 !important;
         padding-bottom: 0 !important;
         padding-top: 0 !important;
         padding-bottom: 0 !important;
         margin:0 !important;
         width: 100% !important;
         -webkit-text-size-adjust: 100% !important;
         -ms-text-size-adjust: 100% !important;
         -webkit-font-smoothing: antialiased !important;
         }
         .tableContent img {
         border: 0 !important;
         display: block !important;
         outline: none !important;
         }
         a{
         color:#382F2E;
         }
         p, h1,h2,ul,ol,li,div{
         margin:0;
         padding:0;
         }
         h1,h2{
         font-weight: normal;
         background:transparent !important;
         border:none !important;
         }
         @media only screen and (max-width:480px)
         {
         table[class="MainContainer"], td[class="cell"] 
         {
         width: 100% !important;
         height:auto !important; 
         }
         td[class="specbundle"] 
         {
         width: 100% !important;
         float:left !important;
         font-size:13px !important;
         line-height:17px !important;
         display:block !important;
         padding-bottom:15px !important;
         }	
         td[class="specbundle2"] 
         {
         width:80% !important;
         float:left !important;
         font-size:13px !important;
         line-height:17px !important;
         display:block !important;
         padding-bottom:10px !important;
         padding-left:10% !important;
         padding-right:10% !important;
         }
         td[class="spechide"] 
         {
         display:none !important;
         }
         img[class="banner"] 
         {
         width: 100% !important;
         height: auto !important;
         }
         td[class="left_pad"] 
         {
         padding-left:15px !important;
         padding-right:15px !important;
         }
         }
         @media only screen and (max-width:540px) 
         {
         table[class="MainContainer"], td[class="cell"] 
         {
         width: 100% !important;
         height:auto !important; 
         }
         td[class="specbundle"] 
         {
         width: 100% !important;
         float:left !important;
         font-size:13px !important;
         line-height:17px !important;
         display:block !important;
         padding-bottom:15px !important;
         }	
         td[class="specbundle2"] 
         {
         width:80% !important;
         float:left !important;
         font-size:13px !important;
         line-height:17px !important;
         display:block !important;
         padding-bottom:10px !important;
         padding-left:10% !important;
         padding-right:10% !important;
         }
         td[class="spechide"] 
         {
         display:none !important;
         }
         img[class="banner"] 
         {
         width: 100% !important;
         height: auto !important;
         }
         td[class="left_pad"] 
         {
         padding-left:15px !important;
         padding-right:15px !important;
         }
         }
         .contentEditable h2.big,.contentEditable h1.big{
         font-size: 26px !important;
         }
         .contentEditable h2.bigger,.contentEditable h1.bigger{
         font-size: 37px !important;
         }
         td,table{
         vertical-align: top;
         }
         td.middle{
         vertical-align: middle;
         }
         a.link1{
         font-size:13px;
         color:#27A1E5;
         line-height: 24px;
         text-decoration:none;
         }
         a{
         text-decoration: none;
         }
        
         h2,h1{
         line-height: 20px;
         }
         p{
         font-size: 14px;
         line-height: 21px;
         }
         
      </style>
     
   </head>
   <body paddingwidth="0" paddingheight="0"  style="padding-top: 0; padding-bottom: 0; padding-top: 0; padding-bottom: 0; background-repeat: repeat; width: 100% !important; -webkit-text-size-adjust: 100%; -ms-text-size-adjust: 100%; -webkit-font-smoothing: antialiased;" offset="0" toppadding="0" leftpadding="0">
      <table width="100%" border="0" cellspacing="0" cellpadding="0">
         <tbody>
            <tr>
               <td>
                  <table width="600" cellspacing="0" cellpadding="0" align="center" bgcolor="#ffffff" style="font-family:helvetica, sans-serif;" class="MainContainer">
                     <!-- =============== START HEADER =============== -->
                     <tbody>
                        <tr>
                           <td>
                              <table width="100%" border="0" cellspacing="0" cellpadding="0">
                                 <tbody>
                                    <tr>
                                       <td valign="top" width="20">&nbsp;</td>
                                       <td>
                                          <table width="100%" border="0" cellspacing="0" cellpadding="0">
                                             <tbody>
                                                <tr>
                                                   <td class="movableContentContainer">
                                                      <div class="movableContent" style="border: 0px; padding-top: 0px; position: relative;">
                                                         <table width="100%" border="0" cellspacing="0" cellpadding="0">
                                                            <tbody>
                                                               <tr>
                                                                  <td height="15"></td>
                                                               </tr>
                                                               <tr>
                                                                  <td>
                                                                     <table width="100%" border="0" cellspacing="0" cellpadding="0">
                                                                        <tbody>
                                                                           <tr>
                                                                              <td valign="top">
                                                                                 <table width="100%" border="0" cellspacing="0" cellpadding="0">
                                                                                    <tbody>
                                                                                       <tr>
                                                                                          <td valign="top" width="60"><img src="{{ asset('public/backend/dist/img/infolink_logo.jpg') }}" alt="Logo" title="Logo" height="40" data-max-width="100"></td>
                                                                                       </tr>
                                                                                    </tbody>
                                                                                 </table>
                                                                              </td>
                                                                           </tr>
                                                                        </tbody>
                                                                     </table>
                                                                  </td>
                                                               </tr>
                                                               <tr>
                                                                  <td height='15'></td>
                                                               </tr>
                                                            </tbody>
                                                         </table>
                                                      </div>
                                                      <!-- =============== END HEADER =============== -->
                                                      <!-- =============== START BODY =============== -->
                                                      <div class="movableContent" style="border: 0px; padding-top: 0px; position: relative;">
														
                                                         <table width="100%" border="0" cellspacing="0" cellpadding="0">
                                                            <tbody>
                                                               <tr>
                                                                  <td style="border: 1px solid #EEEEEE; border-radius:6px;-moz-border-radius:6px;-webkit-border-radius:6px">
                                                                     <table width="100%" border="0" cellspacing="0" cellpadding="0">
                                                                        <tbody>
                                                                           <tr>
                                                                              <td valign="top" width="20">&nbsp;</td>
                                                                              <td>
                                                                                 <table width="100%" border="0" cellspacing="0" cellpadding="0" align="center">
                                                                                    <tr>
                                                                                       <td height='25'></td>
                                                                                    </tr>
                                                                                    <tr>
                                                                                       <td>
                                                                                          <div class='contentEditableContainer contentTextEditable'>
                                                                                             <div class='contentEditable'>
                                                                                                <h3 style="font-size: 18px;"><?php echo $employee_information[0]->user_name.' ('.$employee_information[0]->admin_id.')'; ?> Updated Leave Information.</h3>
                                                                                                 
																								<table width="100%" border="0" cellspacing="0" cellpadding="0">
																									<tbody>
																										<tr>
																										  <td>
																										  <table width="100%" border="0" cellspacing="0" cellpadding="0">
																										  <tr>
																										  <td>
																										  <div class="contentEditableContainer contentTEditable">
																												
																													<div class="contentEditable" style="text-align:right; margin-top:10px;margin-bottom:10px;">
																														<?php if($employee_information[0]->picture){ ?>
																															<img src="<?php echo 'https://care.infolinkbd.com/admin/uploads/employee_picture/'.$employee_information[0]->picture; ?>" height="90" width="80">
																																<?php }else{ ?>
																															<img src="https://care.infolinkbd.com/admin/assets_new/img/avatar.png" height="90" width="80">
																															<?php 
																															}
																														?>
																													</div>
																																
																											</div>
																											
																										  </td>
																										  <td>
																										  <div style="margin:10px 0px 0px 10px;" class="contentEditableContainer contentTEditable">	
																											<span><?php echo $employee_information[0]->user_name.' ('.$employee_information[0]->admin_id.')'; ?></span><br/>
																											<span><?php echo $employee_information[0]->designation; ?></span><br/>
																											<span><?php echo $employee_information[0]->department; ?></span><br/>
																											<span><?php echo $employee_information[0]->user_phone; ?></span><br/>
																											<span><?php echo $employee_information[0]->user_email; ?></span>
																											</div>
																										
																										  </td>
																										  </tr>
																										  </table>
																										 </td>		
																										</tr>
																									</tbody>
																								</table>
																								</div>
																								</div>
																								</td>
																							</tr>
																						</table>
                                                                                            
                                                                                       </td>
                                                                                    </tr>
                                                                                    <tr>
																						<td valign="top" width="20">&nbsp;</td>
                                                                                       <td>
                                                                                          <div class='contentEditableContainer contentTextEditable'>
                                                                                             <div class='contentEditable'>
                                                                                                <h3>Leave Application Details</h3>
																								
                                                                                                <table width="100%" border="0" cellspacing="3" cellpadding="0" align="center" font-size="14">
                                                                                                  
                                                                                                   <tr>
                                                                                                      <td width="30%">Leave of Type</td>
                                                                                                      <td>:</td>
                                                                                                      <td>
																									  <?php 
																									  $leave_type = DB::table('employee_leave_type')->where("employee_leave_type_id",$employee_leave_details->employee_leave_type_id)->first();
																									  if($leave_type){
																										  echo $leave_type->employee_leave_type_name;
																									  }
																									  ?>
																									  </td>
                                                                                                   </tr>
                                                                                                   <tr>
                                                                                                      <td>No of Day</td>
                                                                                                      <td>:</td>
                                                                                                      <td>
																									  <?php 
																									  echo $employee_leave_details->number_of_days_off;
																									  ?>
																									  </td>
                                                                                                   </tr>
																								   
																								   <tr>
                                                                                                      <td>Leave Mark</td>
                                                                                                      <td>:</td>
                                                                                                      <td>
																									  <?php 
																									  if($employee_leave_details->leave_mark == 1){
																										  echo 'Flexible';
																									  }elseif($employee_leave_details->leave_mark == 2){
																										  echo 'Urgent';
																									  }
																									  ?>
																									  </td>
                                                                                                   </tr>
																								   <tr>
                                                                                                      <td>Start Date</td>
                                                                                                      <td>:</td>
                                                                                                      <td>
																									  <?php 
																									  echo $employee_leave_details->leave_start_date;
																									  ?>
																									  </td>
																									  
                                                                                                   </tr>
																								   <tr>
																									<td>End Date</td>
                                                                                                      <td>:</td>
                                                                                                      <td>
																									  <?php 
																									  echo $employee_leave_details->leave_end_date;
																									  ?>
																									  </td>
																									</tr>
                                                                                                   <tr>
                                                                                                      <td>Reason</td>
                                                                                                      <td>:</td>
                                                                                                      <td>
																									  <?php 
																									  echo html_entity_decode($employee_leave_details->leave_reason);
																									  ?>
																									  </td>
                                                                                                   </tr>
                                                                                                   
																									<tr>
                                                                                                      <td>Leave Status</td>
                                                                                                      <td>:</td>
                                                                                                      <td>
																									   <?php 
																										  if($employee_leave_details->leave_status == 1){
																											  echo 'Requested';
																										  }elseif($employee_leave_details->leave_status == 2){
																											  echo 'Approved';
																										  }elseif($employee_leave_details->leave_status == 3){
																											  echo 'Declined';
																										  }
																										  ?>
																									  </td>
                                                                                                   </tr>
																							   </table>
                                                                                             </div>
                                                                                          </div>
                                                                                       </td>
                                                                                    </tr>
                                                                                    <tr>
                                                                                       <td height='24'></td>
                                                                                    </tr>
																					</tbody>
                                                                                 </table>
                                                                               
                                                                                 
																  </td>
															   </tr>
															</tbody>
														 </table>
                                                      </div>
                                                      <!-- =============== END BODY =============== -->
                                                      <!-- =============== START FOOTER =============== -->
                                                      <div class="movableContent" style="border: 0px; padding-top: 0px; position: relative;">
                                                         <table width="100%" border="0" cellspacing="0" cellpadding="0">
                                                            <tbody>
                                                               <tr>
                                                                  <td>
                                                                     <table width="100%" border="0" cellspacing="0" cellpadding="0">
                                                                        <tbody>
                                                                           <tr>
                                                                              <td valign="top" width="90" class="spechide">&nbsp;</td>
                                                                              <td>
                                                                                 <table width="100%" cellpadding="0" cellspacing="0" align="center">
                                                                                    <tr>
                                                                                       <td>
                                                                                          <div class='contentEditableContainer contentTextEditable'>
                                                                                             <div class='contentEditable' style='text-align: center;'>
                                                                                                <p>
                                                                                                   InfoLink Limited<br/>
                                                                                                   56, pragati Sharani, Block J, Baridhara, <br/>
                                                                                                   Dhaka 1212, Bangladesh <br/>
                                                                                                   +8809610121121 <br/>
                                                                                                   https://www.infolinkbd.com
                                                                                                </p>
                                                                                             </div>
                                                                                          </div>
                                                                                       </td>
                                                                                    </tr>
                                                                                 </table>
                                                                              </td>
                                                                              <td valign="top" width="90" class="spechide">&nbsp;</td>
                                                                           </tr>
                                                                        </tbody>
                                                                     </table>
                                                                  </td>
                                                               </tr>
                                                            </tbody>
                                                         </table>
                                                      </div>
                                                      <div class="movableContent" style="border: 0px; padding-top: 0px; position: relative;">
                                                         <table width="100%" border="0" cellspacing="0" cellpadding="0">
                                                            <tbody>
                                                               <tr>
                                                                  <td height="40"></td>
                                                               </tr>
                                                            </tbody>
                                                         </table>
                                                         <!-- =============== END FOOTER =============== --> 
                                                      </div>
                                                   </td>
                                                </tr>
                                             </tbody>
                                          </table>
                                       </td>
                                       <td valign="top" width="20">&nbsp;</td>
                                    </tr>
                                 </tbody>
                              </table>
                           </td>
                        </tr>
                     </tbody>
                  </table>
               </td>
            </tr>
         </tbody>
      </table>
      <!--Default Zone End-->
   </body>
</html>

