create('Customer', array('action'=>'add'));?>
input('name', array('label'=>'Company Name', 'title' => 'The Company Name. Eg. XYZ Business Pty Ltd')); 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 '
You will be able to add Contacts and Addresses to this Customer after it has been created'; /* echo '
Add a Contact to this new Customer'; echo $form->input('Contact.0.first_name'); echo $form->input('Contact.0.last_name'); echo $form->input('Contact.0.email'); echo $form->input('Contact.0.phone'); echo $form->input('Contact.0.mobile'); echo $form->input('Contact.0.fax'); echo $form->input('Contact.0.notes'); */ /*echo '
Add an Address for this Customer'; echo $form->input('Address.0.name', array('label'=>'Short Name', 'title' => 'Short Name for this Address. eg. \'Head Quarters\', \'Manufacturing Plant No 7\' ')); echo $form->input('Address.0.address'); echo $form->input('Address.0.city'); echo $form->input('Address.0.state_id'); echo $form->input('Address.0.country_id'); echo $form->input('Address.0.type', array('label' => 'Address Type (Billing,Shipping or Both)', 'options' => array('Billing','Shipping', 'Both Shipping and Billing'))); */ echo $form->end('Submit'); ?>