<?=$javascript->link('shipment_add');?>


<?php echo $form->create('Shipment');?>
    <?php
    echo $form->input('shipmentType', array('options'=>$shipmentType, 'id'=>'shipmentType'));

    ?>
    <div id="importFields">
	<?
	echo $form->input('date_arrived_display', array('label'=>'Date Arrived', 'id'=>'date_arrived_display'));
	echo $form->input('date_arrived', array('type'=>'hidden', 'id'=>'date_arrived'));
	
	?>
    </div>

<div id="principle">
   <? echo $form->input('Principle', array('type'=>'select', 'multiple'=>true)); ?>
    
</div>

    <?
    echo $form->input('PurchaseOrder');
    echo $form->input('Job');
    


    echo $form->input('freight_forwarder_id');
    echo $form->input('airway_bill');

    echo $form->input('date_dispatched');

    echo $form->input('comments');

    ?>
<?php echo $form->end();?>
