<div class="productOptionsCategories view">
<h2><?php  __('ProductOptionsCategory');?></h2>
	<dl><?php $i = 0; $class = ' class="altrow"';?>
		<dt<?php if ($i % 2 == 0) echo $class;?>><?php __('Id'); ?></dt>
		<dd<?php if ($i++ % 2 == 0) echo $class;?>>
			<?php echo $productOptionsCategory['ProductOptionsCategory']['id']; ?>
			&nbsp;
		</dd>
		<dt<?php if ($i % 2 == 0) echo $class;?>><?php __('Product'); ?></dt>
		<dd<?php if ($i++ % 2 == 0) echo $class;?>>
			<?php echo $html->link($productOptionsCategory['Product']['title'], array('controller' => 'products', 'action' => 'view', $productOptionsCategory['Product']['id'])); ?>
			&nbsp;
		</dd>
		<dt<?php if ($i % 2 == 0) echo $class;?>><?php __('Name'); ?></dt>
		<dd<?php if ($i++ % 2 == 0) echo $class;?>>
			<?php echo $productOptionsCategory['ProductOptionsCategory']['name']; ?>
			&nbsp;
		</dd>
		<dt<?php if ($i % 2 == 0) echo $class;?>><?php __('Location'); ?></dt>
		<dd<?php if ($i++ % 2 == 0) echo $class;?>>
			<?php echo $productOptionsCategory['ProductOptionsCategory']['location']; ?>
			&nbsp;
		</dd>
		<dt<?php if ($i % 2 == 0) echo $class;?>><?php __('Exclusive'); ?></dt>
		<dd<?php if ($i++ % 2 == 0) echo $class;?>>
			<?php echo $productOptionsCategory['ProductOptionsCategory']['exclusive']; ?>
			&nbsp;
		</dd>
	</dl>
</div>
<div class="actions">
	<ul>
		<li><?php echo $html->link(__('Edit ProductOptionsCategory', true), array('action' => 'edit', $productOptionsCategory['ProductOptionsCategory']['id'])); ?> </li>
		<li><?php echo $html->link(__('Delete ProductOptionsCategory', true), array('action' => 'delete', $productOptionsCategory['ProductOptionsCategory']['id']), null, sprintf(__('Are you sure you want to delete # %s?', true), $productOptionsCategory['ProductOptionsCategory']['id'])); ?> </li>
		<li><?php echo $html->link(__('List ProductOptionsCategories', true), array('action' => 'index')); ?> </li>
		<li><?php echo $html->link(__('New ProductOptionsCategory', true), array('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 Product Options', true), array('controller' => 'product_options', 'action' => 'index')); ?> </li>
		<li><?php echo $html->link(__('New Product Option', true), array('controller' => 'product_options', 'action' => 'add')); ?> </li>
	</ul>
</div>
<div class="related">
	<h3><?php __('Related Product Options');?></h3>
	<?php if (!empty($productOptionsCategory['ProductOption'])):?>
	<table cellpadding = "0" cellspacing = "0">
	<tr>
		<th><?php __('Id'); ?></th>
		<th><?php __('Product Id'); ?></th>
		<th><?php __('Product Options Category Id'); ?></th>
		<th><?php __('Title'); ?></th>
		<th><?php __('Description'); ?></th>
		<th><?php __('Model Number'); ?></th>
		<th><?php __('Default'); ?></th>
		<th><?php __('Cost Price'); ?></th>
		<th><?php __('Exchange Rate'); ?></th>
		<th><?php __('Our Discount'); ?></th>
		<th><?php __('Packing Each'); ?></th>
		<th><?php __('Shipping Weight Each'); ?></th>
		<th><?php __('Shipping Cost Each'); ?></th>
		<th><?php __('Duty'); ?></th>
		<th><?php __('Customs'); ?></th>
		<th><?php __('Finance'); ?></th>
		<th><?php __('Misc Cost'); ?></th>
		<th><?php __('Sell Price'); ?></th>
		<th><?php __('Notes'); ?></th>
		<th class="actions"><?php __('Actions');?></th>
	</tr>
	<?php
		$i = 0;
		foreach ($productOptionsCategory['ProductOption'] as $productOption):
			$class = null;
			if ($i++ % 2 == 0) {
				$class = ' class="altrow"';
			}
		?>
		<tr<?php echo $class;?>>
			<td><?php echo $productOption['id'];?></td>
			<td><?php echo $productOption['product_id'];?></td>
			<td><?php echo $productOption['product_options_category_id'];?></td>
			<td><?php echo $productOption['title'];?></td>
			<td><?php echo $productOption['description'];?></td>
			<td><?php echo $productOption['model_number'];?></td>
			<td><?php echo $productOption['default'];?></td>
			<td><?php echo $productOption['cost_price'];?></td>
			<td><?php echo $productOption['exchange_rate'];?></td>
			<td><?php echo $productOption['our_discount'];?></td>
			<td><?php echo $productOption['packing_each'];?></td>
			<td><?php echo $productOption['shipping_weight_each'];?></td>
			<td><?php echo $productOption['shipping_cost_each'];?></td>
			<td><?php echo $productOption['duty'];?></td>
			<td><?php echo $productOption['customs'];?></td>
			<td><?php echo $productOption['finance'];?></td>
			<td><?php echo $productOption['misc_cost'];?></td>
			<td><?php echo $productOption['sell_price'];?></td>
			<td><?php echo $productOption['notes'];?></td>
			
		<td class="actions">
				<?php echo $html->link(__('View', true), array('controller' => 'product_options', 'action' => 'view', $productOption['id'])); ?>
				<?php echo $html->link(__('Edit', true), array('controller' => 'product_options', 'action' => 'edit', $productOption['id'])); ?>
				<?php echo $html->link(__('Delete', true), array('controller' => 'product_options', 'action' => 'delete', $productOption['id']), null, sprintf(__('Are you sure you want to delete # %s?', true), $productOption['id'])); ?>
			</td>
		</tr>
	<?php endforeach; ?>
	</table>
<?php endif; ?>

	<div class="actions">
		<ul>
			<li><?php echo $html->link(__('New Product Option', true), array('controller' => 'product_options', 'action' => 'add'));?> </li>
		</ul>
	</div>
</div>
