Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions MoquiConf.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@
location="component://PopCommerce/screen/PopCommerceRoot.xml"/>
</screen>
<screen location="component://webroot/screen/webroot/apps.xml">
<subscreens-item name="PopcAdmin" menu-title="POPC ERP" menu-index="9"
<subscreens-item name="PopcAdmin" menu-title="电商ERP" menu-index="9"
location="component://PopCommerce/screen/PopCommerceAdmin.xml"/>
<subscreens-item name="hhwh" menu-title="HH Warehouse" menu-index="20"
<subscreens-item name="hhwh" menu-title="手持仓库" menu-index="20"
location="component://SimpleScreens/screen/BasicHandheld/Warehouse.xml"/>
</screen>
</screen-facade>
Expand Down
66 changes: 34 additions & 32 deletions data/PopCommerceAaaSetupData.xml

Large diffs are not rendered by default.

166 changes: 92 additions & 74 deletions data/PopCommerceDemoData.xml

Large diffs are not rendered by default.

1,335 changes: 1,335 additions & 0 deletions data/PopCommerceL10nData.xml

Large diffs are not rendered by default.

22 changes: 3 additions & 19 deletions screen/PopCommerceAdmin.xml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ along with this software (see the LICENSE.md file). If not, see
<http://creativecommons.org/publicdomain/zero/1.0/>.
-->
<screen xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="http://moqui.org/xsd/xml-screen-3.xsd"
default-menu-title="POPC ERP" menu-image="fa fa-shopping-cart" menu-image-type="icon" server-static="vuet,qvt">
default-menu-title="POPC ERP" menu-image="fa fa-shopping-cart" menu-image-type="icon">

<always-actions>
<set field="appRoot" value="PopcAdmin"/>
Expand All @@ -23,12 +23,13 @@ along with this software (see the LICENSE.md file). If not, see
<set field="searchProductDocType" value="MantleProduct"/>
<set field="searchPartyDocType" value="MantleParty"/>

<set field="appUserGroupTypeEnumId" value="UgtPopcAdmin"/>
<!-- Removed appUserGroupTypeEnumId requirement for compatibility -->

<service-call name="mantle.party.PartyServices.setup#UserOrganizationInfo" out-map="context"/>
</always-actions>

<subscreens default-item="dashboard" always-use-full-path="true">
<subscreens-item name="dashboard" location="component://PopCommerce/screen/PopCommerceAdmin/dashboard.xml" menu-index="1"/>
<subscreens-item name="Search" location="component://SimpleScreens/screen/SimpleScreens/Search.xml" menu-index="2"/>
<subscreens-item name="QuickLookup" location="component://SimpleScreens/screen/SimpleScreens/QuickLookup.xml" menu-index="2"/>
<subscreens-item name="QuickSearch" location="component://SimpleScreens/screen/SimpleScreens/QuickSearch.xml" menu-index="3"/>
Expand All @@ -45,23 +46,6 @@ along with this software (see the LICENSE.md file). If not, see
</subscreens>

<widgets>
<section name="OrgChooserSection" condition="hideNav != 'true'"><widgets>
<render-mode><text type="html"><![CDATA[
<div id="active-org-menu" class="nav navbar-right dropdown">
<a id="active-org-menu-link" href="#" class="dropdown-toggle btn btn-default btn-sm navbar-btn" data-toggle="dropdown" title="Organization">
<i class="fa fa-globe"></i> ${(activeOrg.pseudoId)!}</a>
<ul class="dropdown-menu">
<#if activeOrg?has_content>
<li><a href="${sri.buildUrl('/apps/setPrefGoLast').url}?preferenceKey=ACTIVE_ORGANIZATION&preferenceValue=">Clear Active Organization</a></li>
</#if>
<#if userOrgList?has_content><#list userOrgList as userOrg>
<li><a href="${sri.buildUrl('/apps/setPrefGoLast').url}?preferenceKey=ACTIVE_ORGANIZATION&preferenceValue=${userOrg.partyId}">${userOrg.pseudoId}: ${userOrg.organizationName}</a></li>
</#list></#if>
</ul>
</div>
<script>$("#navbar-buttons").append($("#active-org-menu")); $('#active-org-menu-link').tooltip({ placement:'bottom', trigger:'hover' });</script>
]]></text></render-mode>
</widgets></section>
<subscreens-panel id="PopCommerceAdminPanel" type="popup" title="POPC ERP"/>
</widgets>
</screen>
2 changes: 1 addition & 1 deletion screen/PopCommerceRoot.xml
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ along with this software (see the LICENSE.md file). If not, see
]]></text></render-mode>

<!-- <link text="" url="/popc/Login/logout" link-type="hidden-form" icon="glyphicon glyphicon-off" style="btn-danger navbar-btn navbar-right"/> -->
<label text="Welcome ${ec.user.userAccount?.userFullName}!" style="navbar-text navbar-right"/>
<label text="欢迎 ${ec.user.userAccount?.userFullName}!" style="navbar-text navbar-right"/>
</widgets></section>

<render-mode><text type="html"><![CDATA[
Expand Down
Loading