projects
/
fa-stable.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fixed control buttons reset after record deletion.
[fa-stable.git]
/
gl
/
manage
/
gl_account_types.php
diff --git
a/gl/manage/gl_account_types.php
b/gl/manage/gl_account_types.php
index b570dd439e18f0ab276132f161abc4361bd888ef..4e2ce39ffed85b7616aaeca0dacfe04224cdee5a 100644
(file)
--- a/
gl/manage/gl_account_types.php
+++ b/
gl/manage/gl_account_types.php
@@
-44,12
+44,12
@@
if ($Mode=='ADD_ITEM' || $Mode=='UPDATE_ITEM')
if ($selected_id != "")
{
update_account_type($selected_id, $_POST['name'], $_POST['class_id'], $_POST['parent']);
if ($selected_id != "")
{
update_account_type($selected_id, $_POST['name'], $_POST['class_id'], $_POST['parent']);
- display_notification(
'Selected account type has been updated'
);
+ display_notification(
_('Selected account type has been updated')
);
}
else
{
add_account_type($_POST['name'], $_POST['class_id'], $_POST['parent']);
}
else
{
add_account_type($_POST['name'], $_POST['class_id'], $_POST['parent']);
- display_notification(
'New account type has been added'
);
+ display_notification(
_('New account type has been added')
);
}
$Mode = 'RESET';
}
}
$Mode = 'RESET';
}
@@
-93,9
+93,9
@@
if ($Mode == 'Delete')
if (can_delete($selected_id))
{
delete_account_type($selected_id);
if (can_delete($selected_id))
{
delete_account_type($selected_id);
- display_notification('Selected currency has been deleted');
- $Mode = 'RESET';
+ display_notification(_('Selected currency has been deleted'));
}
}
+ $Mode = 'RESET';
}
if ($Mode == 'RESET')
{
}
if ($Mode == 'RESET')
{