AJAXified the enquiry index
This commit is contained in:
parent
a00dbfdbf8
commit
01dfc91cee
|
|
@ -1,5 +1,9 @@
|
|||
<div id="ajaxLoad" style="display:none;"><?php echo $html->image('ajax-loader.gif'); ?></div>
|
||||
<div id="enquiryTable">
|
||||
<div class="enquiriesindex">
|
||||
<h2><?php __('Master Enquiry Register');?></h2>
|
||||
|
||||
<? echo $this->element('enquiry_table', $enquiries, $status_list, array('cache'=>'+1 day')); ?>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
|
|
|||
|
|
@ -41,13 +41,5 @@
|
|||
|
||||
<div id="enquiryTable">
|
||||
|
||||
<? /* If there are enquiries for this user, render the enquiries table passing the $enquiries array */ ?>
|
||||
<?php if (!empty($user['Enquiry'])) {
|
||||
//echo $this->element('enquiry_table', $user['Enquiry']);
|
||||
}
|
||||
else {
|
||||
echo "No Enquiries for this User";
|
||||
}
|
||||
?>
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
|||
|
|
@ -18,7 +18,7 @@ $(function() {
|
|||
|
||||
|
||||
return false;
|
||||
})
|
||||
});
|
||||
|
||||
|
||||
});
|
||||
|
|
|
|||
Loading…
Reference in a new issue