OSB enhancements to date

This commit is contained in:
Deon George
2010-11-30 09:41:08 +11:00
parent 8715a2059b
commit ec6a542bc3
478 changed files with 23423 additions and 9309 deletions

View File

@@ -60,15 +60,15 @@ abstract class pdf_invoice_base extends fpdf {
$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','*',''));