| Age | Commit message (Collapse) | Author | Files | Lines |
|
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>
|
|
All edit_xref templates were missing a hidden xorder field, causing
LibertyXref::verify() to default it to 0 on every save. Added the
hidden field to all four stock edit_xref templates (bom, bompck,
pck, sup).
component_order.tpl: Order column widened to 7em so 4-digit xorder
values are not clipped.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
|
|
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
|
|
- StockBase/StockAssembly/StockMovement: add loadXrefInfo() overrides
to enrich supplier group with contact titles and BOM group with
component titles, descriptions and pack sizes
- display_stock_assembly_inc, view/edit_component, view/edit_assembly,
view_movement: replace getXrefGroupList() with loadXrefInfo() +
assign gXrefInfo; edit pages pass allow_edit=true
- All view/edit templates: switch {section} over stockXxx_types arrays
to {foreach $gXrefInfo->mGroups as $xrefGroup} object path
- BOM and supplier group templates rewritten: $xrefGroup object,
column widths, class="table", conditional colspan
- All BOM/supplier item templates: $gContent->mInfo.$source[xref].x
-> $xrefInfo.x; $source ne 'history' -> $isHistory
- Dead code removed: list_xref_stock.tpl, view_xref_pck_item.tpl
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
|
|
edit used for all edit actions; view-list-text for list links and assembly
content-type placeholder (to be fine-tuned separately for add vs list contexts).
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
|
|
user-trash updated to a proper dustbin SVG. All templates across
all packages updated to use user-trash instead of edit-delete.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
|
|
Replace all {booticon iname="icon-*"} and {booticon iname="fa-*"} calls with
{biticon ipackage="icons" iname="<freedesktop-name>"} using the tango iconset.
Mapping covers ~70 distinct old names to tango equivalents (edit-delete,
document-properties, go-next, lock, internet-mail, etc.).
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
|
|
- add_component.php: find component by title and store BOM xref; redirect
to component_order.php on success, or edit_component.php (title pre-filled)
if component not found
- add_component.tpl: form with datalist autocomplete via lookup_component.php
- includes/lookup_component.php: JSON endpoint for component title search
- edit_component.php: pre-fill title from request for new components
- view_xref_bom_group.tpl: add button now goes to add_component.php
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
|
|
stock_component was a pure alias (component_id ↔ content_id with no
other data). All queries now target liberty_content WHERE
content_type_guid = STOCKCOMPONENT_CONTENT_TYPE_GUID directly.
- StockComponent: drop mComponentId, constructor takes content_id only
- All component_id URL params changed to content_id
- Import files, edit_movement, sitemap updated to match
- BOM xref templates updated (xref column migrated from component_id
to content_id in live DB — 130 rows)
- StockAssembly loadXrefList/enrichXrefDisplay join liberty_content
directly; loadComponents drops stock_component LEFT JOIN
- StockBase: previous/next keys renamed to _content_id
stock_component table left in schema_inc.php pending DB reset.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
|
|
- StockAssembly: enrichXrefDisplay() fetches component title, description,
pack_size and pack_size_ext in one JOIN query for BOM edit forms
- StockAssembly: loadXrefList() batch query also fetches pack_size_ext
- edit_xref_bom_item.tpl: component shown as read-only link, only qty and
ref designators editable; remove raw component ID field
- edit_xref_bompck_item.tpl: new — PCK variant shows "N of pack_size ext"
inline, Pieces required label
- view_xref_bompck_item.tpl: show pack_size_ext after pack_size in qty cell
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
|
|
- Move BOM templates into templates/stockassembly/ subdir
- Move PCK component templates into templates/stockcomponent/ subdir
- schema_inc.php: PCK on stockcomponent uses 'value' template;
PCK on stockassembly uses 'bompck'; SGL/SHT/VOL on assembly use 'bom'
- Remove old flat templates superseded by subdir structure
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
|