if ($alloc_row['type'] == ST_SUPPAYMENT || $alloc_row['type'] == ST_BANKPAYMENT || $alloc_row['type'] == ST_SUPPCREDIT)
$alloc_row['Total'] = -$alloc_row['Total'];
amount_cell($alloc_row['Total']);
- amount_cell($alloc_row['Total'] - $alloc_row['amt']);
+ amount_cell($alloc_row['Total'] - $alloc_row['alloc']);
amount_cell($alloc_row['amt']);
end_row();
function changeCCMonth(change) {
cC.changeMonth(change);
}
+window.addEventListener('click', function(e) {
+ if (document.getElementById('CC').contains(e.target)){} else {
+ if (cC.visible()) {
+ cC.hide();
+ }
+ }
+});
+
document.write(\"<iframe id='CCIframe' src='javascript:false;' frameBorder='0' scrolling='no'></iframe>\");
document.write(\"<div id='CC'></div>\");";
// 35=> Cost Update,
);
- return !isset($editor_url[$type]) ? '' :
+ return !isset($editor_url[$type]) ? '--' :
(is_closed_trans($type, $trans_no) ? set_icon(ICON_CLOSED, _('Closed')) :
pager_link(_("Edit"), sprintf($editor_url[$type], $trans_no, $type), ICON_EDIT));
}