From: Joe Hunt Date: Tue, 7 Apr 2020 22:15:50 +0000 (+0200) Subject: Bug 5106: Incorrect field length for inserting a kit. Also in Foreign Item Codes... X-Git-Url: https://delta.frontaccounting.com/gitweb/?p=fa-stable.git;a=commitdiff_plain;h=772cf1914ad6003958b29efbb6949f32843476cf Bug 5106: Incorrect field length for inserting a kit. Also in Foreign Item Codes. Fixed. --- diff --git a/inventory/manage/item_codes.php b/inventory/manage/item_codes.php index 236ac795..0742780a 100644 --- a/inventory/manage/item_codes.php +++ b/inventory/manage/item_codes.php @@ -177,7 +177,7 @@ start_table(TABLESTYLE2); hidden('code_id', $selected_id); -text_row(_("UPC/EAN code:"), 'item_code', null, 20, 21); +text_row(_("UPC/EAN code:"), 'item_code', null, 20, 20); qty_row(_("Quantity:"), 'quantity', null, '', $units, $dec); text_row(_("Description:"), 'description', null, 50, 200); stock_categories_list_row(_("Category:"), 'category_id', null); diff --git a/inventory/manage/sales_kits.php b/inventory/manage/sales_kits.php index f7199e8c..219f7f35 100644 --- a/inventory/manage/sales_kits.php +++ b/inventory/manage/sales_kits.php @@ -196,7 +196,7 @@ $selected_kit = $_POST['item_code']; if (get_post('item_code') == '') { // New sales kit entry start_table(TABLESTYLE2); - text_row(_("Alias/kit code:"), 'kit_code', null, 20, 21); + text_row(_("Alias/kit code:"), 'kit_code', null, 20, 20); } else { // Kit selected so display bom or edit component