vTiger – Evitar crear Cotizaciones y Ordenes de servicio directamente

Editar el archivo: layouts\vlayout\modules\Vtiger\ListViewContents.tpl

Entrar en la lĂ­nea 135 Justo antes de <table class=”emptyRecordsDiv”> y agregar un if:

{if $MODULE!='Quotes' && $MODULE!='Invoice' && $MODULE!='SalesOrder' }
	<table class="emptyRecordsDiv">
		<tbody>
			<tr>
				<td>
					{assign var=SINGLE_MODULE value="SINGLE_$MODULE"}
					{vtranslate('LBL_EQ_ZERO')} {vtranslate($SINGLE_MODULE, $MODULE)} {vtranslate('LBL_FOUND')}.{if $IS_MODULE_EDITABLE} {vtranslate('LBL_CREATE')} <a href="{$MODULE_MODEL->getCreateRecordUrl()}">{vtranslate($SINGLE_MODULE, $MODULE)}</a>{/if}
				</td>
			</tr>
		</tbody>
	</table>
{/if}

 

Subscribe
Notify of
guest

This site uses Akismet to reduce spam. Learn how your comment data is processed.

0 Comments
Oldest
Newest Most Voted
Inline Feedbacks
View all comments