summaryrefslogtreecommitdiff
path: root/templates/menu_stock_admin.tpl
diff options
context:
space:
mode:
authorLester Caine <lester@lsces.co.uk>2026-05-26 14:55:36 +0100
committerLester Caine <lester@lsces.co.uk>2026-05-26 14:55:36 +0100
commit70c559432ece25dd3def8c64ddb7c1908b4d49e0 (patch)
tree9627e43fbe0d0eb082e4d54fa47773cda77e58f7 /templates/menu_stock_admin.tpl
parent0579f237e179c8815c1c44d9c5cef94ad2a33588 (diff)
downloadstock-70c559432ece25dd3def8c64ddb7c1908b4d49e0.tar.gz
stock-70c559432ece25dd3def8c64ddb7c1908b4d49e0.tar.bz2
stock-70c559432ece25dd3def8c64ddb7c1908b4d49e0.zip
Add xref support, assembly/component views, and import tooling
- 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>
Diffstat (limited to 'templates/menu_stock_admin.tpl')
-rwxr-xr-xtemplates/menu_stock_admin.tpl8
1 files changed, 5 insertions, 3 deletions
diff --git a/templates/menu_stock_admin.tpl b/templates/menu_stock_admin.tpl
index 9a332f3..140a469 100755
--- a/templates/menu_stock_admin.tpl
+++ b/templates/menu_stock_admin.tpl
@@ -1,7 +1,9 @@
{strip}
<ul class="{$packageMenuClass}">
-<li>
-<a class="nosubmenu" href="{$smarty.const.KERNEL_PKG_URL}admin/index.php?page=stock">{tr}{$smarty.const.STOCK_PKG_DIR|capitalize}{/tr}</a>
-</li>
+ <li><a class="nosubmenu" href="{$smarty.const.KERNEL_PKG_URL}admin/index.php?page=stock">{tr}{$smarty.const.STOCK_PKG_DIR|capitalize}{/tr}</a></li>
+ <li><a class="item" href="{$smarty.const.LIBERTY_PKG_URL}admin/admin_xref_groups.php?content_type_guid=stockassembly">{tr}Assembly Xref Groups{/tr}</a></li>
+ <li><a class="item" href="{$smarty.const.LIBERTY_PKG_URL}admin/admin_xref_sources.php?content_type_guid=stockassembly">{tr}Assembly Xref Sources{/tr}</a></li>
+ <li><a class="item" href="{$smarty.const.LIBERTY_PKG_URL}admin/admin_xref_groups.php?content_type_guid=stockcomponent">{tr}Component Xref Groups{/tr}</a></li>
+ <li><a class="item" href="{$smarty.const.LIBERTY_PKG_URL}admin/admin_xref_sources.php?content_type_guid=stockcomponent">{tr}Component Xref Sources{/tr}</a></li>
</ul>
{/strip} \ No newline at end of file