OSB enhancements to date
This commit is contained in:
@@ -62,15 +62,15 @@ abstract class pdf_invoice_base extends fpdi {
|
||||
$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->SetDisplayMode('fullwidth');
|
||||
|
||||
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