Commit 22ceadf1 authored by Monish Deb's avatar Monish Deb Committed by Monish Deb
Browse files

minor fix

parent 415af35a
......@@ -62,7 +62,7 @@ CRM.$(function($) {
action = '{/literal}{$action}{literal}'
isNotQuickConfig = '{/literal}{$pricesetFieldsCount}{literal}';
if (!isNotQuickConfig) {
if (!isNotQuickConfig && action == 2) {
$('#totalAmountORaddLineitem, #add_item').hide();
}
......
<?xml version="1.0"?>
<menu>
<item>
<path>civicrm/lineitem/add</path>
<page_callback>CRM_Lineitemedit_Form_Add</page_callback>
<title>Add Item</title>
<access_arguments>access CiviCRM</access_arguments>
</item>
<item>
<path>civicrm/lineitem/edit</path>
<page_callback>CRM_Lineitemedit_Form_Edit</page_callback>
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment