cmc-sales/views/line_items/add.ctp

30 lines
1.3 KiB
Plaintext
Raw Normal View History

<div class="lineItems form">
2010-01-30 23:58:22 -08:00
<?php echo $form->create('LineItem');?>
<fieldset>
<legend><?php __('Add LineItem');?></legend>
<?php
2010-01-30 23:58:22 -08:00
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');
echo $form->input('costing_id');
echo $form->input('unit_price');
?>
2010-01-30 23:58:22 -08:00
</fieldset>
<?php echo $form->end('Submit');?>
2010-01-30 23:58:22 -08:00
</div>
<div class="actions">
<ul>
<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>
<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>