summaryrefslogtreecommitdiff
path: root/add_component.php
diff options
context:
space:
mode:
Diffstat (limited to 'add_component.php')
-rw-r--r--add_component.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/add_component.php b/add_component.php
index d33919c..b80f223 100644
--- a/add_component.php
+++ b/add_component.php
@@ -24,7 +24,7 @@ if( !$gContent->isValid() ) {
}
$gContent->verifyUpdatePermission();
-$validItems = [ 'SGL' => 'Single unit', 'PCK' => 'Pack', 'SHT' => 'Sheet (H x W)', 'VOL' => 'Volume' ];
+$validItems = [ 'SGL' => 'Single unit', 'PRT' => 'Part', 'SHT' => 'Sheet', 'VOL' => 'Volume' ];
$errors = [];
if( !empty( $_REQUEST['fCancel'] ) ) {
@@ -60,7 +60,7 @@ if( !empty( $_REQUEST['fAddComponent'] ) ) {
// Place new row at end of current BOM
$maxXorder = (int)$gBitDb->getOne(
"SELECT MAX(`xorder`) FROM `".BIT_DB_PREFIX."liberty_xref`
- WHERE `content_id`=? AND `item` IN ('SGL','PCK','SHT','VOL')",
+ WHERE `content_id`=? AND `item` IN ('SGL','PRT','SHT','VOL')",
[ $gContent->mContentId ]
);