More progress on posting payments. Customer selection now works as well as the date picker. At this point, we need to figure out how to insert this data into the database. Of course, significant cleanup is still required, as is beautification.

git-svn-id: file:///svn-source/pmgr/branches/ledger_transactions_20090605@155 97e9348a-65ac-dc4b-aefc-98561f571b83
This commit is contained in:
abijah
2009-06-17 05:17:59 +00:00
parent df1e0daafd
commit 001b156333
5 changed files with 181 additions and 68 deletions

View File

@@ -12,8 +12,10 @@ $cols['Leases'] = array('index' => 'lease_count', 'width' =>
$cols['Comment'] = array('index' => 'Customer.comment', 'formatter' => 'comment');
$jqGrid_options = array('jqGridColumns' => $cols,
'controller' => 'customers',
'caption' => isset($caption) ? $caption : null);
'controller' => 'customers');
// User requested options have priority
$jqGrid_options += compact('caption', 'grid_setup', 'limit');
if (isset($customers)) {
$jqGrid_options += array('custom_ids' =>
@@ -22,7 +24,9 @@ if (isset($customers)) {
$customers),
'limit' => 5);
}
else {
// Not the long term solution here... just for testing
if (isset($searchfields)) {
$jqGrid_options += array('search_fields' => array('Last Name', 'First Name'));
}