siddharth_application/application/views/cashbookpdf.php
venbatechnologies@gmail.com 7f5ba30d30 emergency po new
2017-11-21 13:38:06 +05:30

91 lines
3.1 KiB
PHP
Executable File

<?php
$label ='Received From ';
if(($data[0]->type) == 'EXPENSE')
{
$label ='Paid To ';
}
$pic = base_url().'uploads/images/'.$company[0]->ProfilePic;
?>
<br><br><br><br>
<table width="100%" style="font-size:13px;">
<tbody>
<tr style="height: 57px;">
<td style="width: 89px; height: 57px;"><img src='<?php echo $pic;?>' ></td>
<td style="width: 89px; height: 57px;" colspan="5">
<h1><?php echo $company[0]->CompanyName;?></h1><br /><?php echo $company[0]->Address;?><br />Mobile <?php echo $company[0]->AlternateContactNumber;?> <br> E-mail <?php echo $company[0]->EmailAddress;?></a><br>GSTIN : <?php echo $company[0]->GSTNO;?>
</td>
</tr>
<hr>
<tr style="height: 25px;">
<td style="width: 89px; height: 25px; text-align: center;" colspan="6"><h3>CASH VOUCHER</h3></td>
</tr>
<tr style="height: 26px;">
<td style="width: 100px; height: 26px;">&nbsp;Voucher Number </td>
<td style="width: 89px; height: 26px;" colspan="3"><?php echo $data[0]->id;?></td>
<hr>
<td style="width: 90px; height: 197px;text-align: center;" colspan="2" rowspan="5"><p> <h1>Rs <?php echo $data[0]->total;?></h1></p>Amount &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</td>
</tr>
<tr style="height: 26px;">
<td style="width: 100px; height: 26px;">&nbsp;Date </td>
<td style="width: 89px; height: 26px;" colspan="3"><?php echo date_format(date_create($data[0]->date),'d-m-Y');?></td>
<hr>
</tr>
<tr style="height: 26px;">
<td style="width: 100px; height: 26px;">&nbsp;<?php echo $label;?></td>
<td style="width: 89px; height: 26px;" colspan="3"><?php echo $data[0]->towhom;?></td>
<hr>
</tr>
<tr style="height: 46px;">
<td style="width: 100px; height: 46px;">&nbsp;Amount (In Words)</td>
<td style="width: 89px; height: 46px;" colspan="3"><b><?php echo $amtinwords;?></b></td>
</tr>
<tr style="height: 73px;">
<td style="width: 89px; height: 73px;">
<p>&nbsp;Remarks </p>
</td>
<td style="width: 89px; height: 73px;" colspan="3"><?php echo $data[0]->description;?></td>
</tr>
<tr style="height: 26px;">
<td style="width: 89px; height: 26px;">&nbsp;</td>
<td style="width: 89px; height: 26px;">&nbsp;</td>
<td style="width: 89px; height: 26px;">&nbsp;</td>
<td style="width: 90px; height: 26px;">&nbsp;</td>
<td style="width: 90px; height: 26px;">Prepared By &nbsp;</td>
<td style="width: 90px; height: 26px;"><?php echo $data[0]->FirstName.'&nbsp;'.$data[0]->LastName;?></td>
<hr>
</tr>
<tr style="height: 26px;">
<td style="width: 89px; height: 26px;">Checked By </td>
<td style="width: 89px; height: 26px;">&nbsp;</td>
<hr>
</tr>
<tr style="height: 26px;">
<td style="width: 89px; height: 26px;">Verified By</td>
<td style="width: 89px; height: 26px;">&nbsp;</td>
<hr>
</tr>
<tr style="height: 90px;">
<td style="width: 89px; height: 90px;" colspan="3">
<p>&nbsp;</p>
<p>&nbsp;</p>
<p style="text-align: center;">&nbsp;Authorized Signature</p>
</td>
<td style="width: 90px; height: 90px;" colspan="3">
<p>&nbsp; &nbsp;</p>
<p>&nbsp;</p>
<p style="text-align: center;">Receiver's Signature</p>
</td>
</tr>
<tr style="height: 26px;">
<td style="width: 89px; height: 26px; text-align: center;" colspan="6">Note : Above Rs.750/- With Revenue Stamp &amp; Signature &nbsp; &nbsp; &nbsp;</td>
</tr>
</tbody>
</table>