<!---- 
    Author 	: Fachri
    Tanggal : 06-01-2015	
    Revisi 	:
-->
	
		
  <table cellpadding="0" cellspacing="4" width="100%" height="100%" border="0">
				    <tr>
						<td colspan="5" class="s0"><?php echo $this->session->userdata('company_name'); ?></td>
					</tr>
					<tr>
						<td height="49" colspan="5" class="s1">Deposit</td>
					</tr>
					<tr>
						<td height="43" colspan="5" class="s1" style="border-bottom:1px solid #a1a1a1;">&nbsp;</td>
				  </tr>
				    <tr>
				      <td valign="middle" height="22" align="left"><label>Deposit From. </label></td>
				      <td width="24" valign="top">:</td>
                      <td width="183" align="left" valign="top">
                            <?php echo  $BankPayment; ?>
					  </td>
				      <td align="left" valign="middle">&nbsp;</td>
				      <td width="575" rowspan="6" align="left" valign="top">
				        <table cellpadding="0" cellspacing="0" width="100%" height="100%" border="0">
				          <tr>
				            <td align="right" valign="top">
				              <table cellpadding="0" cellspacing="1" width="100%" border="0">
				                <tr>
				                  <td width="25" height="20">&nbsp;</td>
				                  <td width="286" align="center" valign="middle" bgcolor="#333399"><span style="color: #fff">Deposit No.</span></td>
				                  <td width="233" align="center" valign="middle" bgcolor="#333399"><span style="color:#fff;">Deposit Date</span></td>
			                    </tr>
				                <tr>
				                  <td>&nbsp;</td>
				                  <td height="20" align="left" valign="top"><div align="center"><?php echo  $CDepNumber; ?></div></td>
				                  <td align="right" valign="top"><div align="center"><?php echo $CDepDate; ?></div></td>
			                    </tr>
				              </table>
			                </td>
			              </tr>
			            </table>
			          </td>
					</tr>
				    <tr>
						<td valign="middle" height="19" align="left" width="175">Deposit To</td>
                      <td valign="top">:</td>
						<td valign="middle" align="left"><?php echo  $BankReceipt; ?>							
                            			
						</td>
						<td width="27" align="left" valign="middle">&nbsp;</td>
				    </tr>
					<tr>
					  <td valign="top" height="37" align="left"><label>Deskripsi</label></td>
                      <td valign="top">:</td>
					  <td align="left" valign="top"><?php echo  $CDepDesc; ?></td>
				    </tr>
					<tr>
						<td valign="middle" height="21" align="left">
							<label>Amount</label>
						</td>
                        <td valign="top">:</td>
						<td align="left" valign="middle">
							<?php echo  number_format($CDepTotalAmount,2,',','.'); ?>
						</td>
					</tr>
                    <tr>
						<td height="49" colspan="5" class="s1" style="border-bottom:1px solid #a1a1a1;"></td>
		  </tr>
					
			  </table> <br /> 
			  <br />
				<?php
					$sql=mysql_query("SELECT * FROM am_employee WHERE EmployeeCode = '$AppLevel1Code'");
					$h=mysql_fetch_array($sql);
					$EmployeeName = $h['EmployeeName'];
					if($EmployeeName == NULL){
						$data = "Belum Di Approve";
					}
					else{
						$data = $EmployeeName;
					}
				?>
<table cellpadding="0" cellspacing="0" width="89%" height="100%" border="0">
					<tr>
						<td height="101" width="11" valign="top">&nbsp;
							
						</td>
			      <td width="8">&nbsp;</td>
						<td width="880" align="right" valign="top">
                        	
							Approved By 
                            <br />
                            <br />
                            <br />
                             <?php echo "$data";?>
						</td>
						<td width="50">&nbsp;</td>						
					</tr>
					<tr>
						<td height="19" valign="bottom">&nbsp;
							
						</td>
					  <td width="8">&nbsp;</td>	
						<td valign="top" >
							
						</td>
						<td width="50">&nbsp;</td>	
					</tr>
					<tr>
						<td height="19" valign="bottom">&nbsp;
							
						</td>
				    <td width="8">&nbsp;</td>	
						<td align="right" valign="top" style="border-bottom:1px solid #a1a1a1;">
							Date : <?php echo "$AppLevel1Date";?>
						</td>
						<td width="50" >&nbsp;</td>	
				  </tr>
				</table>
			
	
		
