<html>
	<head>
		<style type="text/css">
		#print_paper{
			width:725px; 
			height:950px; 
			border:0px solid;
			padding-left: 12px;
		}
		hr{
			border:1px dashed grey;
		}
		table{
		  border-collapse:collapse;
		  width:100%;
		}
		th{
		   border-left: 1px solid #a1a1a1;
		   border-right: 1px solid #a1a1a1;
		   border-top: 1px solid #a1a1a1;
		   border-bottom: 1px solid #a1a1a1;
		}
		td.list{
		   border-left: 1px solid #a1a1a1;
		   border-right: 1px solid #a1a1a1;
		}
		td.last{
		   border-left: 1px solid #a1a1a1;
		   border-right: 1px solid #a1a1a1;
		   border-bottom: 1px solid #a1a1a1;
		}

		  .div_company{
			border: 1px solid #a1a1a1;
			padding: 0 3px 0 3px;
			text-wrap:none;
			-webkit-border-radius: 5px;
			-moz-border-radius: 5px;
			border-radius: 5px;
		  }
		  
		  .div_vendor{
			border: 1px solid #a1a1a1;
			padding: 0 3px 0 3px;
			text-wrap:none;
			-webkit-border-radius: 5px;
			-moz-border-radius: 5px;
			border-radius: 5px;
		  }
		  
		  .div_kanan{
			border: 1px solid #a1a1a1;
			padding: 0 3px 0 3px;
			text-wrap:none;
			-webkit-border-radius: 5px;
			-moz-border-radius: 5px;
			border-radius: 5px;
		  }
		  
		  fieldset{
			margin-bottom:10px;
			height:103px;
			border: 1px solid #a1a1a1;
			padding: 0 3px 0 3px;
			text-wrap:none;
			-webkit-border-radius: 5px;
			-moz-border-radius: 5px;
			border-radius: 5px;
		  }
		</style>
	</head>
	<body>
		<div id="print_paper"><br />
			<table cellpadding="0" cellspacing="0" border="0">  
				<tr>
					<td colspan="3">
						<table cellpadding="1" cellspacing="1" width="100%" height="100%" border="1">
							<tr>
								<td align="left" width="30">Department</td>
								<td align="center" width="10">:</td>
								<td align="left" width="140"><?php echo"$department->DepartmentName"; ?></td>
								
								<td align="left" width="40">Cashbon NO.</td>
								<td align="center" width="10">:</td>
								<td align="left" width="140"><?php //echo"$list_header->EBonNumber"; ?></td>
							</tr>
							<tr>
								<td align="left" width="30">Employee</td>
								<td align="center" width="10">:</td>
								<td align="left" width="140"><?php //echo"$list_header->EmployeeName"; ?></td>
								
								<td align="left" width="30">Date</td>
								<td align="center" width="10">:</td>
								<td align="left" width="140"><?php //echo convert_to_dmy($list_header->EBonDate); ?></td>
							</tr>
							<tr>
								<td align="left" width="30">Description</td>
								<td align="center" width="10">:</td>
								<td align="left"><?php //echo"$list_header->EBonDesc"; ?></td>
								<td align="left" width="30">&nbsp;</td>
								<td align="center" width="10">&nbsp;</td>
								<td align="left" width="140">&nbsp;</td>
							</tr>
						</table>
					</td>
				</tr>
				<tr><td colspan="3" height="10">&nbsp;</td></tr>
				<tr>
					<td colspan="3" >
						<table cellpadding="0" cellspacing="0" width="100%" height="100%" border="1">
							<tr class="head">
								<th height="30" width="300" align="center" valign="middle"><strong>Account Name</strong></th>
								<th align="center" valign="middle"><strong>Memo</strong></th>
								<th width="120" align="center" valign="middle"><strong>Amount</strong></th>
							</tr>
							<tr>
								<td class="list" height="20" align="left" valign="top"><?php //echo"$detail_cashbon->AccountName"; ?>&nbsp;</td>
								<td class="list" align="left" valign="top"><?php //echo"$detail_cashbon->EBonMemo"; ?>&nbsp;</td>
								<td class="list" align="right" valign="top"><?php //echo number_format($detail_cashbon->EBonAmount,"0",",","."); ?>&nbsp;</td>
							</tr>
							<?php //for($i=1; $i<=9; $i++){ ?>
							<tr>
								<td class="list" height="20" align="left" valign="top">&nbsp;</td>
								<td class="list" align="left" valign="top">&nbsp;</td>
								<td class="list" align="right" valign="top">&nbsp;</td>
							</tr>
							<?php //} ?>
						</table>
					</td>
				</tr>
				<tr><td colspan="3" height="10">&nbsp;</td></tr>
				<tr>
					<td width="60%" align="left" valign="top">			
						<table cellpadding="0" cellspacing="0" width="100%" height="100%" border="0">
							<tr>
								<td height="10" width="150" valign="top">
									&nbsp;
								</td>
								<td width="50">&nbsp;</td>
								<td valign="top">
									Approved By
								</td>
								<td width="50">&nbsp;</td>						
							</tr>
							<tr>
								<td height="30" valign="bottom">
									&nbsp;
								</td>
								<td width="50">&nbsp;</td>	
								<td valign="bottom" style="border-bottom:1px solid #a1a1a1;">
									
								</td>
								<td width="50">&nbsp;</td>	
							</tr>
							<tr>
								<td valign="bottom">
									&nbsp;
								</td>
								<td width="50">&nbsp;</td>	
								<td valign="bottom">
									Date : 
								</td>
								<td width="50">&nbsp;</td>	
							</tr>
						</table>
					</td>
					<td width="10">&nbsp;</td>
					<td align="center" valign="top">
						<table cellpadding="0" cellspacing="0" width="100%" height="100%" border="0">
							<tr>
								<td>
									<table cellpadding="0" cellspacing="0" width="100%" height="100%" border="0">
										<tr>
											<td width="150" align="right" valign="top"><strong>Total Amount</strong></td>
											<td width="20" align="center" valign="top"><strong>:</strong></td>
											<td align="right" valign="top"><strong><?php //echo number_format($detail_cashbon->EBonAmount,"0",",","."); ?></strong></td>
										</tr>	
									</table>
								</td>
							</tr>	
						</table>
					</td>
				</tr>
			</table>
		</div>
	</body>
</html>