<div class="quotes form">
<?php echo $form->create('Quote');?>
	<fieldset>
 		<legend>
 		<?php if($quote['Quote']['revision'] > 0) {
 				__('Edit Quote: '.$enquiry['Enquiry']['title'].'Rev'.$quote['Quote']['revision']);
			}
			else {
					__('Edit Quote: '.$enquiry['Enquiry']['title']);
				}
 	?></legend>
	<?php
		echo $form->input('id');
		
		echo $form->input('enquiry_id', array('type'=>'hidden', 'value' => $enquiry['Enquiry']['id']));
		echo $form->input('delivery_time');
		echo $this->element('payment_terms_box');
		echo $form->input('date_issued');
		echo $form->input('days_valid');
		echo $form->input('valid_until');
                echo $form->input('currency_id', array('label' => 'Sale Currency'));
	?>
	</fieldset>
<?php echo $form->end('Submit');?>
</div>
