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']));?>
Create new Documents based on this
=$document['Invoice']['id']?>
//debug($this->data);?>
//debug($enquiry);?>
//debug($invoice); ?>