Let ofbizUrl macro generates externalLoginKey when needed. Thanks: Jacques for review
56 lines
3.0 KiB
Plaintext
56 lines
3.0 KiB
Plaintext
<#--
|
|
Licensed to the Apache Software Foundation (ASF) under one
|
|
or more contributor license agreements. See the NOTICE file
|
|
distributed with this work for additional information
|
|
regarding copyright ownership. The ASF licenses this file
|
|
to you under the Apache License, Version 2.0 (the
|
|
"License"); you may not use this file except in compliance
|
|
with the License. You may obtain a copy of the License at
|
|
|
|
http://www.apache.org/licenses/LICENSE-2.0
|
|
|
|
Unless required by applicable law or agreed to in writing,
|
|
software distributed under the License is distributed on an
|
|
"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
|
KIND, either express or implied. See the License for the
|
|
specific language governing permissions and limitations
|
|
under the License.
|
|
-->
|
|
|
|
<#assign shoppingCart = sessionAttributes.shoppingCart!>
|
|
|
|
<div class="screenlet">
|
|
<div class="screenlet-title-bar">
|
|
<div class="h3">${uiLabelMap.OrderOrderShortcuts}</div>
|
|
</div>
|
|
<div class="screenlet-body">
|
|
<div class="button-bar">
|
|
<ul>
|
|
<#if "PURCHASE_ORDER" == shoppingCart.getOrderType()>
|
|
<li><a href="<@ofbizUrl>RequirementsForSupplier</@ofbizUrl>" class="buttontext">${uiLabelMap.OrderRequirements}</a></li>
|
|
</#if>
|
|
<#if shoppingCart.getOrderType()?has_content && shoppingCart.items()?has_content>
|
|
<li><a href="<@ofbizUrl>createQuoteFromCart?destroyCart=Y</@ofbizUrl>" class="buttontext">${uiLabelMap.OrderCreateQuoteFromCart}</a></li>
|
|
<li><a href="<@ofbizUrl>FindQuoteForCart</@ofbizUrl>" class="buttontext">${uiLabelMap.OrderOrderQuotes}</a></li>
|
|
</#if>
|
|
<#if "SALES_ORDER" == shoppingCart.getOrderType()>
|
|
<li><a href="<@ofbizUrl>createCustRequestFromCart?destroyCart=Y</@ofbizUrl>" class="buttontext">${uiLabelMap.OrderCreateCustRequestFromCart}</a></li>
|
|
</#if>
|
|
<li><a href="<@ofbizUrl controlPath="/partymgr/control">findparty?</@ofbizUrl>" class="buttontext">${uiLabelMap.PartyFindParty}</a></li>
|
|
<#if "SALES_ORDER" == shoppingCart.getOrderType()>
|
|
<li><a href="<@ofbizUrl>setCustomer</@ofbizUrl>" class="buttontext">${uiLabelMap.PartyCreateNewCustomer}</a></li>
|
|
</#if>
|
|
<li><a href="<@ofbizUrl>checkinits</@ofbizUrl>" class="buttontext">${uiLabelMap.PartyChangeParty}</a></li>
|
|
<#if security.hasEntityPermission("CATALOG", "_CREATE", session)>
|
|
<li><a href="<@ofbizUrl controlPath="/catalog/control">EditProduct?</@ofbizUrl>" target="catalog" class="buttontext">${uiLabelMap.ProductCreateNewProduct}</a></li>
|
|
</#if>
|
|
<li><a href="<@ofbizUrl>quickadd</@ofbizUrl>" class="buttontext">${uiLabelMap.OrderQuickAdd}</a></li>
|
|
<#if shoppingLists??>
|
|
<li><a href="<@ofbizUrl>viewPartyShoppingLists?partyId=${partyId}</@ofbizUrl>" class="buttontext">${uiLabelMap.PageTitleShoppingList}</a></li>
|
|
</#if>
|
|
</ul>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<br />
|