Index: lib/LMS.class.php
===================================================================
RCS file: /home/cvsroot/lms/lib/LMS.class.php,v
retrieving revision 1.618
diff -u -r1.618 LMS.class.php
--- lib/LMS.class.php 22 Mar 2005 16:22:49 -0000 1.618
+++ lib/LMS.class.php 26 Mar 2005 19:45:34 -0000
@@ -1712,6 +1712,8 @@
$result['year'] = date('Y',$result['cdate']);
$result['month'] = date('m',$result['cdate']);
$result['paid'] = $this->IsInvoicePaid($invoiceid);
+ $zz=$this->GetUser($result['customerid']);
+ $result['userpin'] = $zz['pin'];
return $result;
}
else
Index: templates/invoice.html
===================================================================
RCS file: /home/cvsroot/lms/templates/invoice.html,v
retrieving revision 1.30
diff -u -r1.30 invoice.html
--- templates/invoice.html 11 Mar 2005 09:10:13 -0000 1.30
+++ templates/invoice.html 26 Mar 2005 19:45:36 -0000
@@ -37,6 +37,7 @@
{$invoice.name}
{$invoice.address}
{$invoice.zip} {$invoice.city}
+ {$invoice.userpin}
{if $invoice.phone neq ""}{t}Phone:{/t} {$invoice.phone}
{/if}
{if $invoice.nip neq ""}{t}TEN:{/t} {$invoice.nip}
{elseif $invoice.pesel neq ""}{t}SSN:{/t} {$invoice.pesel}
{/if}