<feed xmlns='http://www.w3.org/2005/Atom'>
<title>stock/templates/stockcomponent/view_xref_sup_item.tpl, branch master</title>
<subtitle>Bitweaver stock package repository
</subtitle>
<id>https://git.rdm1.uk/stock/.git/atom?h=master</id>
<link rel='self' href='https://git.rdm1.uk/stock/.git/atom?h=master'/>
<link rel='alternate' type='text/html' href='https://git.rdm1.uk/stock/.git/'/>
<updated>2026-06-12T09:41:59Z</updated>
<entry>
<title>stock: hide-kitlocker filter on list_components; fix supplier name in view_xref_sup_item</title>
<updated>2026-06-12T09:41:59Z</updated>
<author>
<name>Lester Caine</name>
<email>lester@lsces.co.uk</email>
</author>
<published>2026-06-12T09:41:59Z</published>
<link rel='alternate' type='text/html' href='https://git.rdm1.uk/stock/.git/commit/?id=76308cf0c9fcf20f12f14c0231601eb6fd6c120f'/>
<id>urn:sha1:76308cf0c9fcf20f12f14c0231601eb6fd6c120f</id>
<content type='text'>
list_components defaults to hiding kitlocker components (KLID xref present) but keeps
those where the kitlocker contact is also the supplier (#SUP → SCREF='kitlocker') —
parts kitlocker supplies to elves. Filter checkbox in the search form, defaults on.

view_xref_sup_item: switch from xref_title (cross_ref_title = "Supplier") to linked_title
(liberty_content.title of the linked contact) so the contact name appears as the link text.

Co-Authored-By: Claude Sonnet 4.6 &lt;noreply@anthropic.com&gt;
</content>
</entry>
<entry>
<title>Refactor xref display to LibertyXrefGroup path throughout</title>
<updated>2026-06-06T09:15:47Z</updated>
<author>
<name>Lester Caine</name>
<email>lester@lsces.co.uk</email>
</author>
<published>2026-06-06T09:15:47Z</published>
<link rel='alternate' type='text/html' href='https://git.rdm1.uk/stock/.git/commit/?id=b2ae92f41dc18de0a212e579ee4b1e3362e5a4a6'/>
<id>urn:sha1:b2ae92f41dc18de0a212e579ee4b1e3362e5a4a6</id>
<content type='text'>
- 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-&gt;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-&gt;mInfo.$source[xref].x
  -&gt; $xrefInfo.x; $source ne 'history' -&gt; $isHistory
- Dead code removed: list_xref_stock.tpl, view_xref_pck_item.tpl

Co-Authored-By: Claude Sonnet 4.6 &lt;noreply@anthropic.com&gt;
</content>
</entry>
<entry>
<title>Switch icons: document-properties → edit, text-x-generic → view-list-text</title>
<updated>2026-06-05T15:02:02Z</updated>
<author>
<name>Lester Caine</name>
<email>lester@lsces.co.uk</email>
</author>
<published>2026-06-05T15:02:02Z</published>
<link rel='alternate' type='text/html' href='https://git.rdm1.uk/stock/.git/commit/?id=1d1dd4a412c07c7ce02b85ec43ac0c82150457c7'/>
<id>urn:sha1:1d1dd4a412c07c7ce02b85ec43ac0c82150457c7</id>
<content type='text'>
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 &lt;noreply@anthropic.com&gt;
</content>
</entry>
<entry>
<title>Switch delete icon from edit-delete to user-trash (dustbin)</title>
<updated>2026-06-05T08:35:18Z</updated>
<author>
<name>Lester Caine</name>
<email>lester@lsces.co.uk</email>
</author>
<published>2026-06-05T08:35:18Z</published>
<link rel='alternate' type='text/html' href='https://git.rdm1.uk/stock/.git/commit/?id=4a47622b072b25727a30a0be8ae130b0ff137a13'/>
<id>urn:sha1:4a47622b072b25727a30a0be8ae130b0ff137a13</id>
<content type='text'>
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 &lt;noreply@anthropic.com&gt;
</content>
</entry>
<entry>
<title>Convert {booticon} to {biticon} — freedesktop/tango icon names throughout</title>
<updated>2026-06-04T10:31:57Z</updated>
<author>
<name>Lester Caine</name>
<email>lester@lsces.co.uk</email>
</author>
<published>2026-06-04T10:31:57Z</published>
<link rel='alternate' type='text/html' href='https://git.rdm1.uk/stock/.git/commit/?id=1c7904697ff76d162c964fb2dbb4e63f589d08c0'/>
<id>urn:sha1:1c7904697ff76d162c964fb2dbb4e63f589d08c0</id>
<content type='text'>
Replace all {booticon iname="icon-*"} and {booticon iname="fa-*"} calls with
{biticon ipackage="icons" iname="&lt;freedesktop-name&gt;"} 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 &lt;noreply@anthropic.com&gt;
</content>
</entry>
<entry>
<title>Fix supplier view: contact name lookup and date column visibility</title>
<updated>2026-05-29T15:34:45Z</updated>
<author>
<name>Lester Caine</name>
<email>lester@lsces.co.uk</email>
</author>
<published>2026-05-29T15:34:45Z</published>
<link rel='alternate' type='text/html' href='https://git.rdm1.uk/stock/.git/commit/?id=6faa108ff989162e5380d8943efa11683bb18b1d'/>
<id>urn:sha1:6faa108ff989162e5380d8943efa11683bb18b1d</id>
<content type='text'>
- StockBase: getAssoc() 2-col query returns scalar not array; access directly
- view_xref_sup_item.tpl: move start_date and last_update_date inside
  xrefAllowEdit guard; remove |default:true to prevent false being overridden;
  column count now matches group template headers in both view and edit modes

Co-Authored-By: Claude Sonnet 4.6 &lt;noreply@anthropic.com&gt;
</content>
</entry>
<entry>
<title>Supplier xref: #SUP consolidates contact/part/price; group template for stockcomponent</title>
<updated>2026-05-29T15:29:17Z</updated>
<author>
<name>Lester Caine</name>
<email>lester@lsces.co.uk</email>
</author>
<published>2026-05-29T15:29:17Z</published>
<link rel='alternate' type='text/html' href='https://git.rdm1.uk/stock/.git/commit/?id=851215fce6fb91c0bdacaad99bab9456252896bf'/>
<id>urn:sha1:851215fce6fb91c0bdacaad99bab9456252896bf</id>
<content type='text'>
- StockBase: loadXrefList() batch-fetches contact names for supplier rows
  so xref_title is available in view templates (not just edit)
- StockBase: enrichXrefDisplay() handles supplier contact lookup for edit forms
- StockAssembly: enrichXrefDisplay() calls parent first for supplier handling
- schema_inc.php: #SUP template='sup'; supplier group template='sup' for
  stockcomponent so view_xref_sup_group.tpl is selected
- New templates in stockcomponent/: view_xref_sup_group.tpl (Supplier/Part
  No./Price/Note headings), view_xref_sup_item.tpl (contact link to
  display_contact.php, dates/edit hidden in view mode), edit_xref_sup_item.tpl
- view_component.tpl: pass allow_edit=false to hide dates and action buttons
- edit_component.tpl: use getXrefListTemplate() for group dispatch

Co-Authored-By: Claude Sonnet 4.6 &lt;noreply@anthropic.com&gt;
</content>
</entry>
</feed>
