22 lines
992 B
PHP
22 lines
992 B
PHP
<?php /* add_one.ctp - Used via AJAX from the Add new Enquiry page */ ?>
|
|
|
|
<legend><?php __('New Contact');?></legend> <? echo $ajax->link('Remove this', array('controller' => 'contacts', 'action' => 'remove_one', $customerid), array('update' => 'contact'));
|
|
|
|
?>
|
|
<?
|
|
|
|
echo $form->input("Contact.new", array('type'=>'hidden', 'value' => 'yes'));
|
|
echo $form->input("Contact.first_name");
|
|
echo $form->input("Contact.last_name");
|
|
echo $form->input("Contact.email");
|
|
echo $form->input("Contact.phone");
|
|
echo $form->input('Contact.phone_extension');
|
|
echo $form->input('Contact.direct_phone');
|
|
echo $form->input("Contact.mobile");
|
|
echo $form->input("Contact.fax");
|
|
echo $form->input("Contact.contact_category_id", array('options' => $contact_categories, 'label' => 'Contact Department'));
|
|
echo $form->input("Contact.job_title");
|
|
echo $form->input("Contact.notes");
|
|
echo $form->input("Contact.customer_id", array('type'=>'hidden', 'value' => $customerid));
|
|
?>
|