| Age | Commit message (Collapse) | Author | Files | Lines |
|
Populate listInfo['parameters'] on list_movements, list_assemblies, and
list_components so icontrol carries part_content_id/ref_type/user_id/
gallery_id/hide_kitlocker through sort URLs. Wire icontrol=$listInfo on
list_movements.tpl sort headers which were previously missing it.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
|
|
- getList() now provides per-row: parsed_data (via parseDataHash),
part_number (#SUP first), klid, component_count (BOM lines),
prebuild_count (PBLD kit total for assembly owner) as correlated
subqueries — removes need for supplementary queries in callers
- list_assemblies.php: remove batch query block now redundant
- user_galleries.tpl: show parsed_data in .content div; dl counts
moved to panel-footer with margin-bottom:0; klid in panel-title
second line; panel-heading tidied to title only
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
|
|
- user_galleries.tpl: inline list_assemblies2 grid code directly; hide
sortby bar when viewing by user_id (kitelf) since sorting is irrelevant
- list_assemblies_simple.tpl renamed to list_assemblies.tpl (simple suffix
never made sense); list_assemblies.php updated accordingly
- Dead files removed: list_assemblies2.tpl, list_assemblies_simple.tpl,
center_list_assemblies.php, center_list_components.php (unreferenced
incomplete old embedded-center pattern)
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
|
|
- LibertyXrefInfo/LibertyXrefGroup: package-level guid support ('stock')
so stgrp, supplier, kitlocker groups are shared across SA and SC
- schema_inc.php: stgrp group with KLG01-28, supplier consolidated to 'stock'
level, kitlocker moved to 'stock', duplicate #PN/#PR removed
- StockAssembly::getList(): non_root_only and show_empty fixes for standalone
assemblies (no gallery hierarchy)
- StockBase::loadXrefInfo(): instantiates with 'stock' package guid
- list_assemblies.php: gallery_id param, show_empty default for flat list
- edit_assembly.php: STOCKCOMPONENT_CONTENT_TYPE_GUID → string literal
- ImportSimpleComponent: SCREF lookup fixed (xkey not xkey_ext), #SUP row
now carries PN/price/URL directly; #PN #PR #URL separate rows removed
- ImportKitlockerAssemblies, load_kitlocker_assemblies, load_component_list:
new importers for KitlockerAssemblies.csv (A/C split) and Component List.csv
- print_bom.php + print_bom.tpl: read-only printable BOM (p_stock_view only)
with auto window.print() on load
- component_order.tpl: print icon (floaticon), position number for print,
hidden-print on form controls
- list_stock.tpl: print icon
- view_assembly.tpl: print icon → print_bom.php; permission gates tightened
- ipackage duplicate attributes removed from templates
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
|
|
All stock classes, templates, imports, and controllers now reference
content_id directly. StockRemote deleted (unused). StockBase: dead
methods (isMachineName, updatePosition, isEditable) removed; hash_key
aliases dropped. getList() keyed by content_id, fixing missing
content_id in row data.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
|
|
StockAssembly::getList(): add parent_content_id filter (EXISTS subquery)
to show only direct children of a given assembly; add child_count subquery
so the template can distinguish containers from leaf assemblies.
list_assemblies.php: when assembly_id param present, filter to children
of that assembly; assign parentAssembly for breadcrumb.
list_assemblies_simple.tpl: breadcrumb trail when drilling down; title
links to list_assemblies.php?assembly_id=X for containers, view.php for
leaf assemblies (child_count == 0).
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
|
|
Replaces panel/card layout with a sortable table view. Each row shows a
thumbnail, title, description (truncated at 250 chars), and optional
creator/date/hits columns driven by existing feature flags.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
|
|
Use format_guid=bithtml so bithtml_verify_data moves edit into
content_store[data]; plain has no verify_function so edit was dropped.
Set show_empty=true in list_assemblies so assemblies with only xref
data (no BOM) are not filtered from the list.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
|
|
- add_xref.php, edit_xref.php: xref record add/edit for stock content types
- admin xref group/source pages for stock_assembly and stock_component
- assembly_views/: auto_flow, fixed_grid, position_number, simple_list layouts
- Full assembly and component listing, tree, ordering, and detail pages
- Import tooling (ImportAssembly, ImportComponent, load scripts)
- liberty_plugins for assembly and component data types
- schema_inc.php updated; StockAssembly, StockBase, StockComponent,
StockMovement classes updated with xref group/item/multiple renames
- Templates updated throughout for xref rename (source→item, group→x_group)
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
|