Invoice: =$document['Invoice']['title']?> for =$html->link($enquiry['Customer']['name'], '/customers/view/'.$enquiry['Customer']['id']);?>
Job: =$html->link($invoice['Job']['title'], array('controller'=>'jobs', 'action'=>'view', $invoice['Job']['id']));?>
=$html->link('Generate PDF of this Invoice', '/documents/pdf/'.$document['Document']['id']);?>
=$document['Invoice']['id']?>
//debug($this->data);?>
//debug($enquiry);?>
//debug($invoice); ?>