<?php defined('BASEPATH') OR exit('No direct script access allowed'); ?>
<style>
  page {
        background: white;
    padding: 10px;
    display: block;
    margin: 0 auto;
   box-shadow: rgba(0, 0, 0, 0.22) 0px 2px 44px 0px;
  }
  .boxe{
	  background-color: #eee;
	  border: 1px solid #ddd; 
	  box-shadow: rgba(0, 0, 0, 0.22) 0px 2px 44px 0px;
  }
  hr {
    margin-top: 14px;
    margin-bottom: 20px;
    border: 0;
    border-top: 1px solid #dedede;
}

  @media print{
 page[size="A4"] {  
    width: 21cm;
    height: 29.7cm; 
  }
  .boxe{
	  background-color: #eee !important;
	  border: 1px solid #ddd; 
	  box-shadow: rgba(0, 0, 0, 0.22) 0px 2px 44px 0px;
	  margin: 0 auto;
	  font-size:14px;
  }
  hr {
    margin-top: 14px;
    margin-bottom: 20px;
    border: 0;
    border-top: 1px solid #dedede;
}
  }
  
</style>
<button type="button" class="btn btn-xs btn-default no-print pull-right" style="margin-right:15px;margin-top: 5px;" onclick="window.print();">
			<i class="fa fa-print"></i> <?= lang('print'); ?>
        </button> 
<div class="box">
    
	 <page size="A4">
    
		<div class="row">
			<div class="col-md-3"></div>
			<div class="col-md-6">
				<div class="boxe">
					<h2 class="text-center" style="padding-top: 9px;"><?= lang("Account_details"); ?></h2>
					<hr>
					<table border="0" cellpadding="0" cellspacing="0" style="border-collapse: collapse;margin-left: 10%; width: 100%;">
						<tbody>
							<tr>
								<td style="width: 50%;"><b><?= lang("Opening Date")?></b></td>
								<td><b><?=$product->date;?></b></td>
							</tr>
							<tr>
								<td><b><?= lang("Account_No") ?></b></td>
								<td><b><?=$product->Account_No;?></b></td>
							</tr>
							<tr>
								<td><b><?= lang("Name") ?></b></td>
								<td><b><?=$product->Name;?></b></td>
							</tr>
							<tr>
								<td><b><?= lang("balance") ?></b></td>
								<td><b><?=$product->Intial_Balance;?></b></td>
							</tr>
							<tr>
								<td><b><?= lang("Note") ?></b></td>
								<td><b><?= $this->sma->decode_html($product->Note); ?></b></td>
							</tr>
						</tbody>
					</table>
					
				</div>
			</div>
			<div class="col-md-3"></div>
		</div>
	
	</page>
</div>
