03-Sep-2008 Joe Hunt
# Bug [0000043] Inventory Adjustment Session doesn't update standard cost
-# Bug [0000044]Standard Cost error on credit note
+# Bug [0000044] Standard Cost error on credit note
$ /inventory/includes/db/items_adjust_db.inc
/purchasing/includes/db/grn_db.inc
/purchasing/includes/invoice_db.inc
+# Bug [0000045] Cannot close fiscal year
+$ /admin/fiscalyears.php
02-Sep-2008 Joe Hunt
# Bug when selecting report, List of Journal Entries, by type. Nothing selected.
{
global $selected_id, $Mode;
- if (!check_data())
- return false;
-
if ($selected_id != -1)
{
- update_fiscalyear($_POST['from_date'], $_POST['closed']);
+ update_fiscalyear($selected_id, $_POST['closed']);
display_notification(_('Selected fiscal year has been updated'));
}
else
{
+ if (!check_data())
+ return false;
add_fiscalyear($_POST['from_date'], $_POST['to_date'], $_POST['closed']);
display_notification(_('New fiscal year has been added'));
}