<feed xmlns='http://www.w3.org/2005/Atom'>
<title>stock/add_prebuild.php, 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-21T07:58:42Z</updated>
<entry>
<title>Fix assembly search returning no results in add_prebuild</title>
<updated>2026-06-21T07:58:42Z</updated>
<author>
<name>Lester Caine</name>
<email>lester@lsces.co.uk</email>
</author>
<published>2026-06-21T07:58:42Z</published>
<link rel='alternate' type='text/html' href='https://git.rdm1.uk/stock/.git/commit/?id=df3841bcb4dc82103d3fca46a4257446680bb51a'/>
<id>urn:sha1:df3841bcb4dc82103d3fca46a4257446680bb51a</id>
<content type='text'>
array_map over the content_id-keyed getList() result preserves associative
keys, so json_encode produced a JS object instead of an array — making
items.filter() throw TypeError. Wrap with array_values() to reindex.

Co-Authored-By: Claude Sonnet 4.6 &lt;noreply@anthropic.com&gt;
</content>
</entry>
<entry>
<title>Add multi-user (kitelf) stock filtering and PBLD prebuild movement type</title>
<updated>2026-06-14T09:49:24Z</updated>
<author>
<name>Lester Caine</name>
<email>lester@lsces.co.uk</email>
</author>
<published>2026-06-14T09:49:24Z</published>
<link rel='alternate' type='text/html' href='https://git.rdm1.uk/stock/.git/commit/?id=e8aa652c4f0d2f780171d7bbd2c351c05a1025e9'/>
<id>urn:sha1:e8aa652c4f0d2f780171d7bbd2c351c05a1025e9</id>
<content type='text'>
- list_movements/list_stock: filter by user_id (kitelf) with breadcrumb
  navigation; creator names in list_movements are clickable filter links
- list_movements: unified part_content_id replaces separate
  assembly_content_id/component_content_id URL params; type-aware
  breadcrumb and qty column (assembly kit count vs component qty)
- StockMovement::getList(): $partId/$partIsAsm collapse cmp/asm into one
  variable; unified part_qty/part_qty_type SELECT; PBLD added to all
  ref_type IN() lists and sort subqueries; lc.user_id added to SELECT
- New PBLD (Prebuild) movement type: add_prebuild.php/tpl creates PBLD
  movements (assemblies only, BOM exploded, optional note); add_requisition
  retired from UI; PBLD handled in edit/view with isBuild/isPbld flags;
  view/edit show Build Date/Completed labels for PBLD
- schema_inc.php: PBLD registered in stockmovement reference xref items
- view_movement.tpl: updated to &lt;header&gt;/&lt;section&gt; pattern with kitelf
  breadcrumb; getDirection() explicit for PBLD

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