input('name', array('label'=>'Company Name', 'title' => 'The Company Name. Eg. XYZ Business Pty Ltd'));
echo '';
echo $form->label('Customer.name', 'Company Name');
echo $ajax->autoComplete('name', '/customers/completeCustomer');
echo "If the Customer you are adding appears automatically, it already exists in the ".$html->link('Customers Index', array('action' => 'index')). " Do Not Add Duplicates. ";
echo '
';
echo $form->input('abn', array('label'=>'ABN', 'title' => 'The 11-digit Australian Business Number for the new Customer. Enter numbers only, no dashes or punctuation'));
echo $this->element('payment_terms_box');
echo $form->input('discount_pricing_policies', array('label'=>'Discount and Pricing Policies'));
echo '';
echo $form->label('Customer.customer_category_id', 'Customer Category');
echo $form->select('customer_category_id', $customer_categories, 0, array('label'=>'Customer Category'), false);
echo '
';
echo $form->input('notes', array('label' => 'Notes about this Customer'));
echo ' ';
?>
echo $ajax->link('Add A Contact to this New Customer', array('controller' => 'contacts', 'action' => 'add_another',0), array('update'=>'contacts0'));
echo $html->image('contact-new.png');
?>
echo $ajax->link('Add an Address to this New Customer', array('controller' => 'addresses', 'action' => 'add_another',0), array('update'=>'addresses0')); ?>
echo $html->image('address-book-new.png'); ?>
echo $form->end('Submit');
?>