projects
/
fa-stable.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Initialized upgrade procedures for FA 2.4
[fa-stable.git]
/
gl
/
manage
/
gl_quick_entries.php
diff --git
a/gl/manage/gl_quick_entries.php
b/gl/manage/gl_quick_entries.php
index 2e1797b9467c658a82ae5290e3765a3a3e379139..6bd142f6b1c3ef35c8594891071c2a0eb24adf4b 100644
(file)
--- a/
gl/manage/gl_quick_entries.php
+++ b/
gl/manage/gl_quick_entries.php
@@
-214,8
+214,9
@@
if ($selected_id != -1)
$_POST['description'] = $myrow["description"];
$_POST['type'] = $myrow["type"];
$_POST['base_desc'] = $myrow["base_desc"];
$_POST['description'] = $myrow["description"];
$_POST['type'] = $myrow["type"];
$_POST['base_desc'] = $myrow["base_desc"];
- $_POST['base_amount'] = price_format($myrow["base_amount"]);
$_POST['bal_type'] = $myrow["bal_type"];
$_POST['bal_type'] = $myrow["bal_type"];
+ $_POST['base_amount'] = $myrow["bal_type"] ?
+ $myrow["base_amount"] : price_format($myrow["base_amount"]);
}
hidden('selected_id', $selected_id);
}
}
hidden('selected_id', $selected_id);
}
@@
-241,8
+242,7
@@
if (get_post('type') == QE_JOURNAL && get_post('bal_type') == 1)
}
else
{
}
else
{
- $_POST['base_desc'] = _("Base Amount");
- text_row_ex(_("Base Amount Description").':', 'base_desc', 50, 60, '',_('Base Amount'));
+ text_row_ex(_("Base Amount Description").':', 'base_desc', 50, 60, '');
amount_row(_("Default Base Amount").':', 'base_amount', price_format(0));
}
end_table(1);
amount_row(_("Default Base Amount").':', 'base_amount', price_format(0));
}
end_table(1);