Skip to content
Snippets Groups Projects
Commit 512a1b0f authored by Edselopez's avatar Edselopez
Browse files

RG-108 Added templates for Printed PDFs

parent db8ea8c0
No related branches found
No related tags found
No related merge requests found
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<title></title>
</head>
<body >
<div style="height:140px" >
<div style="float:right; text-align:right; margin-top:-40px;"> payment_id </div>
<table width="100%" cellpadding=0 cellspacing=0 ; style="margin-top:40px;">
<tr>
<td width="85%"></td><td width="15%" style="float:right; text-align:right;">payment_date</td>
</tr>
<tr>
<td width="85%">total_in_words</td><td width="15%" style="float:right; text-align:right;">check_total</td>
</tr>
</table>
</div>
<div style="height:60px" >
<table width="100%" cellpadding=0 cellspacing=0 ;">
<tr>
<td width="100%">payable_to_name</td>
</tr>
<tr>
<td width="100%">payable_to_address</td>
</tr>
</table>
</div>
<div style="height:100px" >
<table width="100%" cellpadding=0 cellspacing=0 ;>
<tr>
<td width="100%">RE: payment_reason</td>
</tr>
</table>
</div>
<div style="height:300px" >
<div style="float:right; text-align:right;"> payment_id </div>
<table width="100%" cellpadding=0 cellspacing=0 >
<tr><td width="100%" colspan="4">RE: payment_reason</td></tr>
<tr><td width="15%">Payment Date</td><td width="15%">Grant ID</td><td width="50%">Payee</td><td width="20%">Amount</td></tr>
<tr><td width="15%">payment_details</td> </tr>
<tr>
<td width="15%"></td><td width="15%%"></td><td width="50%" style="text-align:right;" >Total Amount&nbsp;&nbsp;&nbsp;&nbsp;</td><td width="15%" >CAD :amount</td>
</tr>
</table>
</div>
<div style="height:265px" >
<div style="float:right; text-align:right;"> payment_id </div>
<table width="100%" cellpadding=0 cellspacing=0 >
<tr><td width="100%" colspan="4">RE: payment_reason</td></tr>
<tr><td width="15%">Payment Date</td><td width="15%">Grant ID</td><td width="50%">Payee</td><td width="20%">Amount</td></tr>
<tr><td width="15%">payment_details</td>
</tr>
<tr>
<td width="15%"></td><td width="15%%"></td><td width="50%" style="text-align:right; ">Total Amount&nbsp;&nbsp;&nbsp;&nbsp;</td><td width="20%" >CAD :amount</td>
</tr>
</table>
</div>
</body>
</html>
\ No newline at end of file
Grant Payment Check
\ No newline at end of file
Grant Payment Check
\ No newline at end of file
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<title></title>
</head>
<body>
{assign var='page' value=1}
<div style="float:right; text-align:right; margin-top:-50px;"> Page: {$page} </div>
<table width="100%" cellpadding=0 cellspacing=0 >
<tr>
<td width="50%" align="right"><b><font size="2">{$domain_name}</font></b></td><td width="25%" align="right" ><b><font size="2">Run By :</font></b></td><td width="25%" align="left" ><font size="2">{$contact}</font></td>
</tr>
<tr>
<td width="50%" align="right"></td><td width="25%" align="right" ><b><font size="2">Date :</font></b></td><td width="25%" align="left" ><font size="2">{$date}</font></td>
</tr>
<tr>
<td width="50%" align="right"><b><font size="2">A/P Cheque Register</font></b></td><td width="25%" align="right" ><b><font size="2">Time :</font></b></td><td width="25%" align="left" ><font size="2">{$time}</font></td>
</tr>
</table>
</br>
<table width="100%" cellpadding=0 cellspacing=0 >
<tr>
<td width="25%" align="center" ><b><font size="2">Batch ID:{$batch_number}</font></b></td><td width="25%" align="center" ><b><font size="2">Currency: CAD</font></b></td><td width="25%" align="center" ><b><font size="2">Accounting Year: 2012</font></b></td>
</tr>
</table> <hr/></br></br>
<table width="100%" cellpadding=0 cellspacing=0 >
<tr>
<td width="10%"><font size="2">Cheque Number</font></td><td width="10%"><font size="2">Ref #</font></td><td width="20%"><font size="2">Payee</font></td><td width="12%" align="center"><font size="2" >Cheque Amount</font></td><td width="12%"><font size="2">Cheque Issue Date</font></td><td width="15%"><font size="2">Cheque Printed By</font></td><td width="14%"><font size="2">Print Date</font></td><td width="12%"><font size="2">Replaces Cheque Number</font></td>
</tr>
{if $grantPayment}
{assign var ='break' value =40}
{assign var ='count' value =1}
{foreach from=$grantPayment key=key item=data}
{if $break eq $count }
{assign var =page value =$page+1}
<tr style="page-break-after:always">
<td width="10%"><font size="2">{$data.payment_number}</font></td><td width="10%"><font size="2">{$key}</font></td><td width="20%"><font size="2">{$data.payable_to_name}</font></td><td width="25%" align="center" ><b><font size="2">Account:{$data.account_name}</font></b></td><td width="12%" align="right" ><font size="2" >{$data.amount}&nbsp;</font></td><td width="12%"><font size="2">{$data.payment_date}</font></td><td width="15%"><font size="2">&nbsp;{$contact}</font></td><td width="14%"><font size="2">{$data.payment_created_date}</font></td><td width="12%" ><font size="2">{$data.replaces_payment_id}</font></td>
</tr>
</table>
<div style="float:right; text-align:right; margin-top:-50px;"> Page: {$page} </div>
<table width="100%" cellpadding=0 cellspacing=0 >
<tr>
<td width="50%" align="right"><b><font size="2">{$domain_name}</font></b></td><td width="25%" align="right" ><b><font size="2">Run By :</font></b></td><td width="25%" align="left" ><font size="2">{$contact}</font></td>
</tr>
<tr>
<td width="50%" align="right"></td><td width="25%" align="right" ><b><font size="2">Date :</font></b></td><td width="25%" align="left" ><font size="2">{$date}</font></td>
</tr>
<tr>
<td width="50%" align="right"><b><font size="2">A/P Cheque Register</font></b></td><td width="25%" align="right" ><b><font size="2">Time :</font></b></td><td width="25%" align="left" ><font size="2">{$time}</font></td>
</tr>
</table>
</br>
<table width="100%" cellpadding=0 cellspacing=0 >
<tr>
<td width="25%" align="center" ><b><font size="2">Batch ID:{$batch_number}</font></b></td><td width="25%" align="center" ><b><font size="2">Currency: CAD</font></b></td><td width="25%" align="center" ><b><font size="2">Account:{$account_name}</font></b></td><td width="25%" align="center" ><b><font size="2">Accounting Year: 2012</font></b></td>
</tr>
</table> <hr/></br></br>
<table width="100%" cellpadding=0 cellspacing=0 >
<tr>
<td width="10%"><font size="2">Cheque Number</font></td><td width="10%"><font size="2">Ref #</font></td><td width="20%"><font size="2">Payee</font></td><td width="12%" align="center"><font size="2" >Cheque Amount</font></td><td width="12%"><font size="2">Cheque Issue Date</font></td><td width="15%"><font size="2">Cheque Printed By</font></td><td width="14%"><font size="2">Print Date</font></td><td width="12%"><font size="2">Replaces Cheque Number</font></td>
</tr>
{assign var='break' value=$break+$break}
{else}
<tr>
<td width="10%"><font size="2">{$data.payment_number}</font></td><td width="10%"><font size="2">{$key}</font></td><td width="20%"><font size="2">{$data.payable_to_name}</font></td><td width="12%" align="right"><font size="2" >{$data.amount}&nbsp;</font></td><td width="12%"><font size="2">{$data.payment_date}</font></td><td width="15%"><font size="2">&nbsp;{$contact}</font></td><td width="14%"><font size="2">{$data.payment_created_date}</font></td><td width="12%" ><font size="2">{$data.replaces_payment_id}</font></td>
</tr>
{/if}
{assign var='count' value=$count+1}
{/foreach}
{/if}
</table>
<br><br><hr>
<table width="100%" cellpadding=0 cellspacing=0 >
<tr><td colspan="2"><b>Statistics:</b></td></tr>
<tr><td width="50%">Number of cheques : {$total_payments}</td><td width="50%">Total amount : {$total_amount} </td></tr>
</table>
</body>
</html>
\ No newline at end of file
Grant Payment Report
\ No newline at end of file
Grant Payment Report
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment