jQuery-ifying the menu
This commit is contained in:
parent
c45b0f44df
commit
a6873f7823
|
|
@ -20,6 +20,7 @@ class LineItem extends AppModel {
|
|||
var $belongsTo = array(
|
||||
'Quote' => array('className' => 'Quote',
|
||||
'foreignKey' => 'quote_id',
|
||||
'counterCache' => true,
|
||||
'conditions' => '',
|
||||
'fields' => '',
|
||||
'order' => ''
|
||||
|
|
@ -42,7 +43,7 @@ class LineItem extends AppModel {
|
|||
|
||||
|
||||
|
||||
var $order = "item_number ASC";
|
||||
var $order = "LineItem.item_number ASC";
|
||||
|
||||
}
|
||||
?>
|
||||
|
|
@ -57,7 +57,7 @@ foreach ($quote['QuotePage'] as $quotePage):
|
|||
|
||||
|
||||
<div class="quoteproducts">
|
||||
<h3><?php __('Products in this Quote');?></h3>
|
||||
<h3><?php __($quote['Quote']['line_item_count'].' Items in this Quote');?></h3>
|
||||
|
||||
<div id="productTable"></div>
|
||||
|
||||
|
|
|
|||
|
|
@ -9,11 +9,15 @@
|
|||
|
||||
$(function() {
|
||||
|
||||
|
||||
|
||||
$("#customerName").autocomplete({
|
||||
|
||||
source: "/customers/completeCustomer",
|
||||
minLength: 1
|
||||
});
|
||||
|
||||
|
||||
|
||||
|
||||
$("#CustomerCountryName").autocomplete({
|
||||
|
|
|
|||
Loading…
Reference in a new issue