Skip to content
Snippets Groups Projects
Commit 6c556991 authored by Apparao G's avatar Apparao G
Browse files

#156857530::Despite the organization name being mandatory on invoices, the...

#156857530::Despite the organization name being mandatory on invoices, the system allows the invoices to be saved without entering an organization name.
parents 9e08ad76 3d287336
No related branches found
No related tags found
No related merge requests found
......@@ -228,6 +228,7 @@ class ListViewController {
}
$moduleInstance = Vtiger_Module_Model::getInstance("PBXManager");
$outgoingCallPermission = false;
if($moduleInstance && $moduleInstance->isActive()) {
$outgoingCallPermission = PBXManager_Server_Model::checkPermissionForOutgoingCall();
$clickToCallLabel = vtranslate("LBL_CLICK_TO_CALL");
......
......@@ -41,7 +41,7 @@
class="marginLeftZero autoComplete inputElement"
value="{$FIELD_MODEL->getEditViewDisplayValue($displayId)}"
placeholder="{vtranslate('LBL_TYPE_SEARCH',$MODULE)}"
{if $displayId neq 0}disabled="disabled"{/if}
{if !empty($displayId)}disabled="disabled"{/if}
{if $FIELD_INFO["mandatory"] eq true} data-rule-required="true" data-rule-reference_required="true" {/if}
{if php7_count($FIELD_INFO['validator'])}
data-specific-rules='{ZEND_JSON::encode($FIELD_INFO["validator"])}'
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment