First pass at entering charges for a lease. This works, but does not have the ability to add multiple charges, and does not mirror the payment method, which is ajax based.

git-svn-id: file:///svn-source/pmgr/branches/invoice_receipt_20090629@231 97e9348a-65ac-dc4b-aefc-98561f571b83
This commit is contained in:
abijah
2009-07-06 18:34:44 +00:00
parent cba8e16be7
commit cd07f51ff9
8 changed files with 405 additions and 3 deletions

View File

@@ -16,7 +16,9 @@ foreach ($fields AS $field => $config) {
if (!isset($config['opts']))
$config['opts'] = null;
if (isset($field_prefix) && !isset($config['no_prefix']))
if (isset($config['prefix']) && !isset($config['no_prefix']))
$field = $config['prefix'] . '.' . $field;
elseif (isset($field_prefix) && !isset($config['no_prefix']))
$field = $field_prefix . '.' . $field;
$config['opts']['label'] = false;