From c18e895aee4f13aeb9b1c7143e785531e34ec3ec Mon Sep 17 00:00:00 2001 From: Janusz Dobrowolski Date: Mon, 2 Nov 2009 16:06:54 +0000 Subject: [PATCH] Bad value for COGS acount retrieved from category for new service type item entry. --- CHANGELOG.txt | 4 ++++ inventory/manage/items.php | 4 ++-- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.txt b/CHANGELOG.txt index 9323dbc9..fb93a7ab 100644 --- a/CHANGELOG.txt +++ b/CHANGELOG.txt @@ -19,6 +19,10 @@ Legend: ! -> Note $ -> Affected files +02-Nov-2009 Janusz Dobrowolski +# Bad default value retrieved for service COGS account. +$ /inventory/manage/items.php + 01-Nov-2009 Joe Hunt ! Changed $date_system value of 3 to be traditional, but non-workday is Friday and start of week is Saturday. For DatePicker. diff --git a/inventory/manage/items.php b/inventory/manage/items.php index 0fadbe52..59fc7671 100644 --- a/inventory/manage/items.php +++ b/inventory/manage/items.php @@ -403,8 +403,8 @@ if (!is_service($_POST['mb_flag'])) } else { - gl_all_accounts_list_row(_("C.O.G.S. Account:"), 'inventory_account', $_POST['inventory_account']); - hidden('cogs_account', $_POST['cogs_account']); + gl_all_accounts_list_row(_("C.O.G.S. Account:"), 'cogs_account', $_POST['cogs_account']); + hidden('inventory_account', $_POST['inventory_account']); hidden('adjustment_account', $_POST['adjustment_account']); } -- 2.30.2