Fixed bug causing a $0.00 security deposit charge on the move-in invoice

git-svn-id: file:///svn-source/pmgr/branches/yafr_20090716@541 97e9348a-65ac-dc4b-aefc-98561f571b83
This commit is contained in:
abijah
2009-08-12 23:16:17 +00:00
parent 1d27b4dcb5
commit f23726783e

View File

@@ -331,7 +331,7 @@ Configure::write('debug', '0');
' value="<?php echo date('m/d/Y', $movein['time']); ?>">'); ' value="<?php echo date('m/d/Y', $movein['time']); ?>">');
$("#TransactionComment").val('Move-In Charges'); $("#TransactionComment").val('Move-In Charges');
<?php if (!empty($movein['deposit'])): ?> <?php if ($movein['deposit'] != 0): ?>
id = addChargeSource(false); id = addChargeSource(false);
$('#Entry'+id+'Form').removeCol(2); $('#Entry'+id+'Form').removeCol(2);
$('#Entry'+id+'Form input, #Entry'+id+'Form select').attr('disabled', true); $('#Entry'+id+'Form input, #Entry'+id+'Form select').attr('disabled', true);