projects
/
fa-stable.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Changed supplier payment to accept amount in foreign currency instead of exchange...
[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 87e770c4f89ffa5763cc5dee91301df01d33b99c..c149c70b67ef447cb27ef868e8e23833f2e57a4f 100644
(file)
--- a/
gl/manage/gl_quick_entries.php
+++ b/
gl/manage/gl_quick_entries.php
@@
-102,13
+102,13
@@
if ($Mode=='ADD_ITEM' || $Mode=='UPDATE_ITEM')
if ($selected_id != -1)
{
update_quick_entry($selected_id, $_POST['description'], $_POST['type'],
if ($selected_id != -1)
{
update_quick_entry($selected_id, $_POST['description'], $_POST['type'],
- input_num('base_amount'), $_POST['base_desc'], get_post('bal_type'));
+ input_num('base_amount'), $_POST['base_desc'], get_post('bal_type'
, 0
));
display_notification(_('Selected quick entry has been updated'));
}
else
{
add_quick_entry($_POST['description'], $_POST['type'],
display_notification(_('Selected quick entry has been updated'));
}
else
{
add_quick_entry($_POST['description'], $_POST['type'],
- input_num('base_amount'), $_POST['base_desc'], get_post('bal_type'));
+ input_num('base_amount'), $_POST['base_desc'], get_post('bal_type'
, 0
));
display_notification(_('New quick entry has been added'));
}
$Mode = 'RESET';
display_notification(_('New quick entry has been added'));
}
$Mode = 'RESET';
@@
-242,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);