summaryrefslogtreecommitdiff
path: root/edit_assembly.php
diff options
context:
space:
mode:
authorLester Caine <lester@lsces.co.uk>2026-06-10 07:11:53 +0100
committerLester Caine <lester@lsces.co.uk>2026-06-10 07:11:53 +0100
commit4d24ef4733a06525f943e34ba0e85b69c7871965 (patch)
tree85ee470a0700b148b8cb717da570593357d07542 /edit_assembly.php
parentcc23974a923e8b98ada7127fd2f09f75d97da01e (diff)
downloadstock-4d24ef4733a06525f943e34ba0e85b69c7871965.tar.gz
stock-4d24ef4733a06525f943e34ba0e85b69c7871965.tar.bz2
stock-4d24ef4733a06525f943e34ba0e85b69c7871965.zip
stock: rename PCK→PRT (fractional parts), add PCK as ordering pack-size tag; rename pack_size→part_size; bompck templates→bomprt; strip verbose labels (fraction), (H x W)
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Diffstat (limited to 'edit_assembly.php')
-rwxr-xr-xedit_assembly.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/edit_assembly.php b/edit_assembly.php
index 29b2248..812dc7c 100755
--- a/edit_assembly.php
+++ b/edit_assembly.php
@@ -70,7 +70,7 @@ if( !empty( $_REQUEST['savegallery'] ) ) {
$savedBom = STOCK_IMPORT_PATH . $origName . '_bom_' . $gContent->mContentId . '.csv';
move_uploaded_file( $_FILES['csv_file']['tmp_name'], $savedBom );
// Valid BOM unit types (MOV is for movements, not BOM lines)
- $validItems = [ 'SGL', 'PCK', 'SHT', 'VOL' ];
+ $validItems = [ 'SGL', 'PRT', 'SHT', 'VOL' ];
if( ($fh = fopen( $savedBom, 'r' )) !== false ) {
$rowNum = 0;
while( ($cols = fgetcsv($fh, 0, ',', '"', '')) !== false ) {