OSB enhancements to date
This commit is contained in:
@@ -60,8 +60,8 @@ abstract class pdf_invoice_base extends TCPDF {
|
||||
$this->SetCreator('Open Source Billing');
|
||||
$this->SetAuthor($inv->print['site']['NAME']);
|
||||
$this->SetTitle(sprintf('%s Invoice',$inv->print['site']['NAME']));
|
||||
$this->SetSubject(sprintf('Invoice #%06s',$inv->getInvoiceNum()));
|
||||
$this->SetKeywords($inv->getInvoiceID());
|
||||
$this->SetSubject(sprintf('Invoice #%06s',$inv->getPrintInvoiceNum()));
|
||||
$this->SetKeywords($inv->getPrintInvoiceID());
|
||||
$this->SetAutoPageBreak(TRUE,25);
|
||||
$this->SetHeaderMargin(1);
|
||||
$this->SetFooterMargin(10);
|
||||
@@ -72,7 +72,7 @@ abstract class pdf_invoice_base extends TCPDF {
|
||||
return $this;
|
||||
}
|
||||
|
||||
public function load_setup(&$rs) {
|
||||
public function load_setup($rs=false) {
|
||||
if (! $rs) {
|
||||
$db =& DB();
|
||||
$rs = $db->Execute(sqlSelect($db,'setup_invoice','*',''));
|
||||
|
Reference in New Issue
Block a user