{if $action=='update'} {include file='overall_adm_iframe.html'} {include file='./overall_block.html' view='header' block=$block parameter=$parameters}
{include file='./overall_block.html' view='administration' lang=$lang block=$block titlestyle=$titlestyle descriptionstyle=$descriptionstyle}

{$lang.REPORT_GRAPH_BAR_NODE_LINKED}

{assign var=select_type value=['group_node'=>$lang.REPORT_GRAPH_BAR_LINKED_GROUP_NODE,'node'=>$lang.REPORT_GRAPH_BAR_LINKED_NODE]} {if $params.element_type == 'group_node'} {assign var=select_val value='group_node'} {/if} {if $params.element_type == 'node'} {assign var=select_val value='node'} {/if} {eui_forms_select name='select_type_link' id='select_type_link' selected=select_val value=$select_type onchange='selectTypeLink();'}

{$lang.REPORT_BLOCK_PARAMETER_CRITIC}

{$lang.REPORT_BLOCK_EXPORT}

{$lang.DASHBOARD_WIDGET_ALERT_SHOW_COLUMN}

{$lang.RETURN}
{elseif $action=='generate'} {include file='./overall_block.html' view='title' block=$block parameter=$parameters} {if isset($first_gen)} {$lang.REPORT_BLOCK_FIRSTGEN}
{elseif isset($csvffile)} {$lang.REPORT_BLOCK_CSV_FILE} {/if} {if $parameters.table.columnshow.group ne 'none'} {/if} {if $parameters.table.columnshow.ip ne 'none'} {/if} {if $parameters.table.columnshow.description ne 'none'} {/if} {if $parameters.table.columnshow.cartridge ne 'none'} {/if} {if $parameters.table.columnshow.absolute ne 'none'} {/if} {if $parameters.table.columnshow.period ne 'none'} {/if} {if $parameters.table.columnshow.cartridge ne 'none'} {/if} {if $parameters.table.columnshow.absolute ne 'none'} {/if} {if $parameters.table.columnshow.period ne 'none'} {/if} {foreach name=outer from=$data item=line} {if $parameters.table.columnshow.group ne 'none'} {/if} {if $parameters.table.columnshow.ip ne 'none'} {/if} {if $parameters.table.columnshow.description ne 'none'} {/if} {if $parameters.table.columnshow.cartridge ne 'none'} {if $line.status_cart ne 'noService'} {else} {/if} {/if} {if $parameters.table.columnshow.absolute ne 'none'} {if $line.status ne 'noService'} {else} {/if} {/if} {if $parameters.table.columnshow.period ne 'none'} {if $line.status ne 'noService'} {else} {/if} {/if} {/foreach}
{$lang.REPORT_DEVICE_GROUP_NAME}{$lang.REPORT_DEVICE_NAME}{$lang.REPORT_ADD_IP}{$lang.REPORT_BLOCK_DESCRIPTION}{$lang.REPORT_BLOCK_PRINTER_CARTRIDGE}{$lang.REPORT_BLOCK_PRINTER_PAGE_ABSOLU}{$lang.REPORT_BLOCK_PRINTER_PAGE} {$date_data}
{$lang.REPORT_BLOCK_PRINTER_CARTRIDGE_BLACK} {$lang.REPORT_BLOCK_PRINTER_CARTRIDGE_YELLOW} {$lang.REPORT_BLOCK_PRINTER_CARTRIDGE_CYAN} {$lang.REPORT_BLOCK_PRINTER_CARTRIDGE_MAGENTA}{$lang.REPORT_BLOCK_PRINTER_PAGE_ABSOLU} {$lang.REPORT_BLOCK_PRINTER_PAGE_BLACK_ABSOLU} {$lang.REPORT_BLOCK_PRINTER_PAGE_COLOR_ABSOLU}{$lang.REPORT_BLOCK_PRINTER_PAGE_ABSOLU} {$lang.REPORT_BLOCK_PRINTER_PAGE_BLACK_ABSOLU} {$lang.REPORT_BLOCK_PRINTER_PAGE_COLOR_ABSOLU}
{$line.group}{$line.name}{$line.ip}{$line.description}{$line.cartridge.black}% ({$line.cart_evo.black}%) {$line.cartridge.yellow}% ({$line.cart_evo.yellow}%) {$line.cartridge.cyan}% ({$line.cart_evo.cyan}%) {$line.cartridge.magenta}% ({$line.cart_evo.magenta}%){$lang.REPORT_BLOCK_SERVICE_CART}{$line.page_absolute.total|number_format:0:",":" "} {$line.page_absolute.black|number_format:0:",":" "} {if $line.page_absolute.color|is_numeric} {$line.page_absolute.color|number_format:0:",":" "} {else} {$line.page_absolute.color} {/if} {$lang.REPORT_BLOCK_NOSERVICE}{$line.page.total} {$line.page.black} {$line.page.color}{$lang.REPORT_BLOCK_NOSERVICE}
{include file='./overall_block.html' view='end'} {/if}