- >
- >
- >
- >
- >
- >
link($this->element('abn', array('abn'=>$customer['Customer']['abn'])), 'http://www.abr.business.gov.au/abnDetails.aspx?ABN='.$customer['Customer']['abn'],
array('target'=>'_blank')); ?>
- >
- >
nice($customer['Customer']['created']); ?>
- >
- >
link($customer['Country']['name'], array('controller'=>'countries', 'action'=>'view', $customer['Country']['id'])); ?>
- >
- >
- >
- >
- >
- >
- >
- >
link($customer['Customer']['url'], $customer['Customer']['url'], array('target'=>'_blank'));; ?>
- >
- >
- link(__('Edit Customer', true), array('action'=>'edit', $customer['Customer']['id'])); ?>
echo $javascript->link('add_user'); ?>
create('User');?>
input('first_name');
echo $form->input('last_name');
echo $form->input('email');
echo $form->input('job_title');
echo $form->input('phone');
echo $form->input('mobile');
echo $form->input('fax');
echo $form->input('phone_extension');
echo $form->input('direct_phone');
echo $form->input('notes');
echo $form->input('type', array('type'=>'hidden', 'value'=>'contact'));
echo $form->input('customer_id', array('type'=>'hidden', 'value'=>$customer['Customer']['id']));
echo $form->submit('Add Contact', array('id'=>'submitUserButton'));
?>
debug($customer, true); ?>