removed product category
This commit is contained in:
parent
cb1d165155
commit
c94b522fe9
|
|
@ -38,7 +38,7 @@ class ProductsController extends AppController {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
$principles = $this->Product->Principle->find('list');
|
$principles = $this->Product->Principle->find('list');
|
||||||
$product_categories = $this->Product->ProductCategory->find('list');
|
|
||||||
$this->set(compact('principles', 'product_categories'));
|
$this->set(compact('principles', 'product_categories'));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -15,9 +15,7 @@ class Product extends AppModel {
|
||||||
'order' => ''
|
'order' => ''
|
||||||
),
|
),
|
||||||
|
|
||||||
'ProductCategory' => array('className'=>'ProductCategory',
|
|
||||||
'foreignKey' => 'product_category_id'
|
|
||||||
)
|
|
||||||
);
|
);
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -11,7 +11,7 @@
|
||||||
|
|
||||||
//echo $javascript->codeBlock("CKEDITOR.replace('description');");
|
//echo $javascript->codeBlock("CKEDITOR.replace('description');");
|
||||||
echo $form->input('part_number');
|
echo $form->input('part_number');
|
||||||
echo $form->input('product_category_id');
|
|
||||||
echo $form->input('notes');
|
echo $form->input('notes');
|
||||||
|
|
||||||
//echo $html->link('Show/Hide Costing Details', '#', array('onClick' => "Effect.toggle('costingdetails', 'appear'); return false;"));
|
//echo $html->link('Show/Hide Costing Details', '#', array('onClick' => "Effect.toggle('costingdetails', 'appear'); return false;"));
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue