2010-02-06 17:09:57 -08:00
|
|
|
<div class="lineItems form">
|
|
|
|
|
<?php echo $form->create('LineItem');?>
|
2010-01-30 23:58:22 -08:00
|
|
|
<fieldset>
|
2010-02-06 17:09:57 -08:00
|
|
|
<legend><?php __('Edit LineItem');?></legend>
|
2010-01-30 23:58:22 -08:00
|
|
|
<?php
|
|
|
|
|
echo $form->input('id');
|
|
|
|
|
echo $form->input('item_number');
|
|
|
|
|
echo $form->input('option');
|
|
|
|
|
echo $form->input('quantity');
|
|
|
|
|
echo $form->input('title');
|
|
|
|
|
echo $form->input('description');
|
|
|
|
|
echo $form->input('quote_id');
|
|
|
|
|
echo $form->input('product_id');
|
2010-02-06 17:09:57 -08:00
|
|
|
echo $form->input('costing_id');
|
|
|
|
|
echo $form->input('unit_price');
|
2010-01-30 23:58:22 -08:00
|
|
|
?>
|
|
|
|
|
</fieldset>
|
|
|
|
|
<?php echo $form->end('Submit');?>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="actions">
|
|
|
|
|
<ul>
|
2010-02-06 17:09:57 -08:00
|
|
|
<li><?php echo $html->link(__('Delete', true), array('action' => 'delete', $form->value('LineItem.id')), null, sprintf(__('Are you sure you want to delete # %s?', true), $form->value('LineItem.id'))); ?></li>
|
|
|
|
|
<li><?php echo $html->link(__('List LineItems', true), array('action' => 'index'));?></li>
|
2010-01-30 23:58:22 -08:00
|
|
|
<li><?php echo $html->link(__('List Quotes', true), array('controller' => 'quotes', 'action' => 'index')); ?> </li>
|
|
|
|
|
<li><?php echo $html->link(__('New Quote', true), array('controller' => 'quotes', 'action' => 'add')); ?> </li>
|
|
|
|
|
<li><?php echo $html->link(__('List Products', true), array('controller' => 'products', 'action' => 'index')); ?> </li>
|
|
|
|
|
<li><?php echo $html->link(__('New Product', true), array('controller' => 'products', 'action' => 'add')); ?> </li>
|
2010-02-06 17:09:57 -08:00
|
|
|
<li><?php echo $html->link(__('List Costings', true), array('controller' => 'costings', 'action' => 'index')); ?> </li>
|
|
|
|
|
<li><?php echo $html->link(__('New Costing', true), array('controller' => 'costings', 'action' => 'add')); ?> </li>
|
2010-01-30 23:58:22 -08:00
|
|
|
</ul>
|
|
|
|
|
</div>
|