Files
CRM/layouts/v7/modules/Settings/Picklist/PickListValueByRole.tpl
BACHIR SOULDI 2794e62571 first commit
2025-09-28 08:49:37 +01:00

39 lines
1.8 KiB
Smarty

{*+**********************************************************************************
* The contents of this file are subject to the vtiger CRM Public License Version 1.1
* ("License"); You may not use this file except in compliance with the License
* The Original Code is: vtiger CRM Open Source
* The Initial Developer of the Original Code is vtiger.
* Portions created by vtiger are Copyright (C) vtiger.
* All Rights Reserved.
************************************************************************************}
{* modules/Settings/Picklist/views/IndexAjax.php *}
{* START YOUR IMPLEMENTATION FROM BELOW. Use {debug} for information *}
{strip}
<br>
<div class="row">
<div class="form-group">
<div class="control-label col-lg-2 col-md-2">&nbsp;</div>
<div class="controls col-lg-4 col-md-4">
<select class="select2 form-control" id="role2picklist" multiple name="role2picklist[]">
{foreach key=PICKLIST_KEY item=PICKLIST_VALUE from=$ALL_PICKLIST_VALUES}
<option value="{$PICKLIST_VALUE}" data-id="{$PICKLIST_KEY}" {if in_array($PICKLIST_VALUE,$ROLE_PICKLIST_VALUES)} selected {/if}>
{vtranslate($PICKLIST_VALUE,$SELECTED_MODULE_NAME)}
</option>
{/foreach}
</select>
</div>
</div>
</div>
<br>
<div class="row">
<div class="form-group">
<div class="control-label col-lg-2 col-md-2">&nbsp;</div>
<div class="controls col-lg-4 col-md-4">
<button id="saveOrder" class="btn btn-success pull-right">
{vtranslate('LBL_SAVE',$QUALIFIED_MODULE)}
</button>
</div>
</div>
</div>
{/strip}