HEX
Server: Apache/2.2.15 (CentOS)
System: Linux ip-10-0-2-146.eu-west-1.compute.internal 2.6.32-754.35.1.el6.centos.plus.x86_64 #1 SMP Sat Nov 7 11:33:42 UTC 2020 x86_64
User: root (0)
PHP: 5.6.40
Disabled: NONE
Upload Files
File: /www/exchange0old/exchange/admin/cache/%%F9^F98^F989070F%%comissions.html.php
<?php /* Smarty version 2.6.19, created on 2024-06-26 17:01:11
         compiled from reports/intermediary_reports/comissions.html */ ?>
<?php require_once(SMARTY_CORE_DIR . 'core.load_plugins.php');
smarty_core_load_plugins(array('plugins' => array(array('function', 'substr', 'reports/intermediary_reports/comissions.html', 28, false),array('modifier', 'number_format', 'reports/intermediary_reports/comissions.html', 36, false),)), $this); ?>
<table cellpadding="0" cellspacing="0" border="0" width="100%" class="table table-hover table-striped table-responsive">
    <thead>
        <tr>
            <th align="left" valign="top" class="nopadding"><nobr>Intermediary ID</nobr></th>
            <th align="left" valign="top" class="nopadding" style="border-right: 4px solid #FFF;" ><nobr>Intermediary Name</nobr></th>
            
            <?php $_from = $this->_tpl_vars['data']['quarters']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['quarter'] => $this->_tpl_vars['dates']):
?>
            <?php $_from = $this->_tpl_vars['dates']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['date'] => $this->_tpl_vars['temp']):
?>
            <th align="right"  style="text-align: right;" valign="top" class="nopadding" ><nobr><?php echo $this->_tpl_vars['date']; ?>
</nobr></th>
            <?php endforeach; endif; unset($_from); ?>
            <th align="right"  style="text-align: right;border-right: 4px solid #FFF;" valign="top" class="nopadding" ><nobr><?php echo $this->_tpl_vars['quarter']; ?>
</nobr></th>
            <?php endforeach; endif; unset($_from); ?>
            
            <th align="left" valign="top" class="nopadding" ><nobr>Account No</nobr></th>
            <th align="left" valign="top" class="nopadding" ><nobr>Sort Code</nobr></th>
            <th align="left" valign="top" class="nopadding" ><nobr>IBAN</nobr></th>
            <th align="left" valign="top" class="nopadding" ><nobr>SWIFT</nobr></th>
        </tr>
    </thead>
    <tbody>
        <?php $_from = $this->_tpl_vars['data']['intemediaries']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['item']):
?>
        <tr>
            <td><?php echo $this->_tpl_vars['item']['ref_id']; ?>
</td>
            <td title="<?php echo $this->_tpl_vars['item']['organisation_name']; ?>
" style="border-right: 4px solid #FFF;">
                <?php if ($this->_tpl_vars['excel']): ?>
                <?php echo $this->_tpl_vars['item']['organisation_name']; ?>

                <?php else: ?>
                <?php echo smarty_function_substr(array('string' => $this->_tpl_vars['item']['organisation_name'],'lenght' => 20), $this);?>

                <?php endif; ?>
            </td>
            
            <?php $_from = $this->_tpl_vars['data']['quarters']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['quarter'] => $this->_tpl_vars['dates']):
?>
            <?php $this->assign('quarter_total', 0); ?>
            
            <?php $_from = $this->_tpl_vars['dates']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['date'] => $this->_tpl_vars['temp']):
?>
            <td align="right" style="text-align: right;"><?php echo ((is_array($_tmp=$this->_tpl_vars['item'][$this->_tpl_vars['quarter']][$this->_tpl_vars['date']])) ? $this->_run_mod_handler('number_format', true, $_tmp, 2) : smarty_modifier_number_format($_tmp, 2)); ?>
</td>
            <?php $this->assign('quarter_total', $this->_tpl_vars['quarter_total']+$this->_tpl_vars['item'][$this->_tpl_vars['quarter']][$this->_tpl_vars['date']]); ?>
            <?php endforeach; endif; unset($_from); ?>
            <td align="right" style="text-align: right;border-right: 4px solid #FFF;"><?php echo ((is_array($_tmp=$this->_tpl_vars['quarter_total'])) ? $this->_run_mod_handler('number_format', true, $_tmp, 2) : smarty_modifier_number_format($_tmp, 2)); ?>
</td>
            
            <?php endforeach; endif; unset($_from); ?>
            
            <td><nobr><?php echo $this->_tpl_vars['item']['account_no']; ?>
</nobr></td>
            <td><nobr><?php echo $this->_tpl_vars['item']['sort_code']; ?>
</nobr></td>
            <td><nobr><?php echo $this->_tpl_vars['item']['iban_code']; ?>
</nobr></td>
            <td><nobr><?php echo $this->_tpl_vars['item']['swift_code']; ?>
</nobr></td>
        </tr>
        <?php endforeach; endif; unset($_from); ?>
    </tbody>
    <tfoot>
        <tr>
            <th></th>
            <th align="right" style="text-align: right;">Total :</th>
            <?php $_from = $this->_tpl_vars['data']['quarters']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['quarter'] => $this->_tpl_vars['dates']):
?>
            <?php $this->assign('quarter_total', 0); ?>
            
            <?php $_from = $this->_tpl_vars['dates']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['date'] => $this->_tpl_vars['temp']):
?>
            <th align="right" style="text-align: right;"><?php echo ((is_array($_tmp=$this->_tpl_vars['data']['stat'][$this->_tpl_vars['quarter']][$this->_tpl_vars['date']])) ? $this->_run_mod_handler('number_format', true, $_tmp, 2) : smarty_modifier_number_format($_tmp, 2)); ?>
</th>
            <?php $this->assign('quarter_total', $this->_tpl_vars['quarter_total']+$this->_tpl_vars['data']['stat'][$this->_tpl_vars['quarter']][$this->_tpl_vars['date']]); ?>
            <?php endforeach; endif; unset($_from); ?>
            
            <th align="right" style="text-align: right;"><?php echo ((is_array($_tmp=$this->_tpl_vars['quarter_total'])) ? $this->_run_mod_handler('number_format', true, $_tmp, 2) : smarty_modifier_number_format($_tmp, 2)); ?>
</th>
            <?php endforeach; endif; unset($_from); ?>
            <th></th>
            <th></th>
            <th></th>
            <th></th>
        </tr>
    </tfoot>
</table>