{*+**********************************************************************************
* 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.
************************************************************************************}

<input type='hidden' name='charttype' value="{$CHART_TYPE}" />
<input type='hidden' name='data' value='{Vtiger_Functions::jsonEncode($DATA)}' />
<input type='hidden' name='clickthrough' value="{if isset($CLICK_THROUGH)}{$CLICK_THROUGH}{/if}" />

<br>
<div class="dashboardWidgetContent">
    <input type="hidden" class="yAxisFieldType" value="{$YAXIS_FIELD_TYPE}" />
    <div class='border1px filterConditionContainer' style="padding:30px;">
    <div id='chartcontent' name='chartcontent' style="min-height:500px overflowY:'auto';" data-mode='Reports'></div>
        <br>
        {if !isset($CLICK_THROUGH) || $CLICK_THROUGH neq 'true'}
            <div class='row-fluid alert-info'>
                <span class='span alert-info' style="padding:10px;text-align:center">
                    <i class="icon-info-sign"></i>
                    {vtranslate('LBL_CLICK_THROUGH_NOT_AVAILABLE', $MODULE)}
                </span>
            </div>
            <br>
        {/if}
        {if $REPORT_MODEL->isInventoryModuleSelected()}
            <div class="alert alert-info">
                {assign var=BASE_CURRENCY_INFO value=Vtiger_Util_Helper::getUserCurrencyInfo()}
                <i class="icon-info-sign" style="margin-top: 1px;"></i>&nbsp;&nbsp;
                {vtranslate('LBL_CALCULATION_CONVERSION_MESSAGE', $MODULE)} - {$BASE_CURRENCY_INFO['currency_name']} ({$BASE_CURRENCY_INFO['currency_code']})
            </div>
        {/if}
    </div>
</div>
<br>

