<?php
defined('BASEPATH') OR exit('No direct script access allowed');
?>
           

												
												
		<table  style="width:350px;font-size:14px;" align="center" cellpadding="5"  cellspacing="0">
                                            <thead>
                                                <tr>
                                                    <th  align="center">&nbsp;</th>
                                                   
                                                </tr>
                                                <tr>
                                                    <th  align="center"><h3>Day Close Receipt</h3></th>
                                                   
                                                </tr>
                                                <tr>
                                                    <th  align="center">&nbsp;</th>
                                                   
                                                </tr>
                                            				<tr>
					
					<td style="vertical-align:top;" align="right"><strong>Created On:</strong> <?php if($info4view->fld_datetime!="") { echo dfltdttmFormat($info4view->fld_datetime); }?></td>
				</tr> 

                                            </thead>
                                            </table>
  <hr style="width:350px;font-size:14px;" align="center">                                      
<table  style="width:350px;font-size:14px;" align="center" cellpadding="5"  cellspacing="0">
	<thead>
	</thead>
		<tbody>
				<tr>
					<td style="vertical-align:top;width:50%"><strong>Day Off Date:</strong> <?php if($info4view) { echo dfltdtFormat($info4view->fld_dayoffdate); }?></td>
					
				</tr>
			<tr>
					<td style="vertical-align:top;width:50%"><strong>Outlet:</strong> <?php if($outletinfo) { echo $outletinfo->fld_invoiceprefix; }?></td>
					
				</tr>
				<tr>
					<td style="vertical-align:top;width:50%"><strong>Biller Name:</strong> <?php if($info4view) { echo $info4view->billername; }?></td>
					
				</tr>			
				<!--<tr>
					<td style="vertical-align:top;width:50%"><strong>Outlet Name:</strong> <?php if($info4view) { echo $info4view->outletname; }?></td>
					
				</tr>//-->
				<tr>
					<tr>
					<td style="vertical-align:top;width:50%"><strong>Total Amount:</strong> <?php if($info4view) { echo $info4view->fld_amount; }?></td>
					
				</tr>
				<tr>
					<td style="vertical-align:top;width:50%">&nbsp;</td>
					
				</tr>				
		  </tbody>
		</table>
		<hr style="width:350px;font-size:14px;" align="center">
		<table  style="width:350px;font-size:14px;" align="center" cellpadding="5"  cellspacing="0">
                                            <thead>
                                                <tr>
                                                    <th  align="left" width="46%">Payment Info.</th>                                                   
                                                </tr>
                                            </thead>
                                            </table>
											<hr style="width:350px;font-size:14px;" align="center">
	<table  style="width:350px;font-size:14px;" align="center" cellpadding="5"  cellspacing="0">
	<thead>
	</thead>
		<tbody>
				<tr>
					<td style="vertical-align:top;width:50%"><strong>CASH:</strong> <?php if($info4view) { echo $info4view->fld_cash; }?></td>
					
				</tr>			
				<tr>
					
					<td style="vertical-align:top;"><strong>Credit Card Slips:</strong> <?php if($info4view) { echo $info4view->fld_cc; }?></td>
				</tr>
				<tr>
					<tr>
					<td style="vertical-align:top;width:50%"><strong>UPI:</strong> <?php if($info4view) { echo $info4view->fld_upi; }?></td>
					
				</tr>
				<tr>
					<tr>
					<td style="vertical-align:top;width:50%"><strong>Name Account:</strong> <?php if($info4view) { echo $info4view->fld_nameaccount; }?></td>
					
				</tr>
				<?php
				if($info4view->fld_nameaccount>0)
				{
					?>
				<tr>
					<tr>
					<td style="vertical-align:top;width:50%"><strong>Remarks (Name Account):</strong> <?php if($info4view) { echo $info4view->fld_naremarks; }?></td>
					
				</tr>
				<?php
				}
				?>
				<tr>
					<td style="vertical-align:top;width:50%">&nbsp;</td>
					
				</tr>				
		  </tbody>
		</table>	
		
<?php
if($tasktype=="print")
{
	?>

 <script type="text/javascript">
        window.print();
        setTimeout("closePrintView()", 1000);
		function closePrintView() {
			document.location.href = '<?php echo base_url();?>dayoff';
		}
</script>

<?php
}
?>