File: //www/exchange0old/exchange/cache/%%FD^FD6^FD658519%%transaction.html.php
<?php /* Smarty version 2.6.19, created on 2024-06-17 07:21:15
compiled from transactions/transaction.html */ ?>
<?php require_once(SMARTY_CORE_DIR . 'core.load_plugins.php');
smarty_core_load_plugins(array('plugins' => array(array('modifier', 'siteUrl', 'transactions/transaction.html', 3, false),array('modifier', 'number_format', 'transactions/transaction.html', 59, false),array('modifier', 'substr', 'transactions/transaction.html', 121, false),array('modifier', 'ucfirst', 'transactions/transaction.html', 121, false),array('function', 'getTransactionName', 'transactions/transaction.html', 124, false),array('function', 'getTransactionRStatus', 'transactions/transaction.html', 129, false),array('function', 'pagination', 'transactions/transaction.html', 140, false),)), $this); ?>
<?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => "header.html", 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
?>
<link rel="stylesheet" type="text/css" href="css/bootstrap.min.css" />
<link type="text/css" href="<?php echo ((is_array($_tmp='/css/ui-lightness/jquery-ui-1.10.4.custom.min.css')) ? $this->_run_mod_handler('siteUrl', true, $_tmp) : smarty_modifier_siteUrl($_tmp)); ?>
" rel="stylesheet" />
<table cellspacing="0" cellpadding="0" border="0" width="100%">
<tbody>
<tr>
<td align="left" valign="top"><table cellspacing="0" cellpadding="0" border="0" width="100%">
<tbody>
<tr>
<td align="center" valign="top"> </td>
</tr>
<tr>
<td align="left" valign="middle" class="login_bg"><table cellspacing="0" cellpadding="0" border="0" width="100%">
<tbody>
<tr>
<td align="left" valign="middle" class="login_bg_t">Exchange Trade Centre | Statement Summary</td>
<td width="" align="left" valign="middle" class="txt_11">Originator Organisation ID: <?php echo $_SESSION['user']['org_ref_id']; ?>
</td>
<td align="right" valign="middle" class="txt_11"><?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => 'originator_top_dashboard_links.html', 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
?></td>
</tr>
</tbody>
</table>
<tr>
<td align="center" valign="top" class="about_c"><table cellspacing="5" cellpadding="5" border="0" width="100%">
<tbody>
<tr>
<td align="left" width="18%" valign="top"><?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => 'left_sidebar.html', 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
?></td>
<td align="right" width="82%" valign="top">
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td align="left" valign="top" class="hdr_center">
<!---->
<table cellpadding="0" cellspacing="0" border="0" width="100%">
<tr>
<td valign="top" align="center" class="inves_top1" colspan="4" width="50%">RSA Details</td>
<td valign="top" align="right" class="inves_top1" colspan="2" width="50%">
<input type="button" class="trade_floor_bttn" value="Dashboard" name="trade_floor" onclick="self.location='index.php?do=originatorhome';">
</td>
</tr>
<tr class="row1">
<td valign="top" align="right" width="20%"><strong>Start Date :</strong> </td>
<td valign="top" align="left" width="13%"><?php echo $this->_tpl_vars['rate']['3']['0']; ?>
</td>
<td valign="top" align="right" width="24%"><strong>Originator ID :</strong> </td>
<td valign="top" align="left" width="10%"><?php echo $this->_tpl_vars['rate']['5']; ?>
</td>
<td valign="top" align="right" width=""><a href="index.php?do=addtransaction"><strong style="color:#FF0000;text-decoration:underline;font-size:12px;">Report an expected payment that is not being shown here</strong></a>
</td>
<td valign="top" align="left" width="7%"></td>
</tr>
<tr class="row1">
<td valign="top" align="right" width="15%"><strong>Review Date :</strong> </td>
<td valign="top" align="left"><?php echo $this->_tpl_vars['rate']['3']['1']; ?>
</td>
<td valign="top" align="right"><strong>Purchase Payment :</strong>
</td>
<td valign="top" align="left"><?php echo ((is_array($_tmp=$this->_tpl_vars['rate']['6'])) ? $this->_run_mod_handler('number_format', true, $_tmp, 2) : smarty_modifier_number_format($_tmp, 2)); ?>
<?php if ($this->_tpl_vars['rate']['6'] != ''): ?>%<?php endif; ?></td>
<td valign="top" align="right"><a href="index.php?do=addtransaction&type=2"><strong class="Clstr_hints" style="font-size:12px;">Submit a Payment Transfer</strong></a>
</td>
<td valign="top" align="left" width="10%"></td>
</tr>
<tr class="row1">
<td valign="top" align="right" ><strong>Payment Terms:</strong></td>
<td valign="top" align="left"><?php echo $this->_tpl_vars['rate']['4']; ?>
</td>
<td valign="top" align="right"><strong>Sell Rate Percentage :</strong>
</td>
<td valign="top" align="left"><?php echo ((is_array($_tmp=$this->_tpl_vars['rate']['1'])) ? $this->_run_mod_handler('number_format', true, $_tmp, 3) : smarty_modifier_number_format($_tmp, 3)); ?>
<?php if ($this->_tpl_vars['rate']['1'] != ''): ?>%<?php endif; ?></td>
<td valign="top" align="right"><a href="index.php?do=addtransaction&type=3"><strong class="Clstr_hints" style="font-size:12px;">Submit a Remittance Notice</strong></a>
</td>
<td valign="top" align="left" width="10%"></td>
</tr>
<tr class="row1">
<td valign="top" align="right"><strong>Avg. Discount:</strong></td>
<td valign="top" align="left"><?php echo $this->_tpl_vars['avg_discount']; ?>
%</td>
<td colspan="4"></td>
</tr>
</table>
<table cellpadding="0" cellspacing="0" border="0" width="100%">
<tr>
<td valign="top" align="center" class="inves_top1" colspan="2">Payment/Credit Note Transaction Overview <input type="button" class="mem_bttn" value="Add Transaction" name="trade_floor" onclick="self.location='index.php?do=addtransaction';" style="float:right;margin-right:8px; margin-top:5px; width:134px;"></td>
</tr>
</table>
<?php if (! empty ( $this->_tpl_vars['result'] )): ?>
<div class="success-msgbox">
<?php echo $this->_tpl_vars['result']; ?>
</div>
<?php endif; ?>
<table cellpadding="0" cellspacing="0" border="0" width="100%" id="listDebtor" class="table table-hover table-striped table-responsive">
<thead>
<tr>
<th valign="top" align="center">Created</th>
<th valign="top" align="left">ID</th>
<th valign="top" align="left">Counterparty</th>
<th valign="top" align="left">Type</th>
<th valign="top" align="left">Transaction Type</th>
<th valign="top" align="right">Amount</th>
<th valign="top" align="left"> </th>
</tr>
</thead>
<tbody>
<?php $_from = $this->_tpl_vars['data']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
foreach ($_from as $this->_tpl_vars['index'] => $this->_tpl_vars['item']):
?>
<tr>
<td><?php echo $this->_tpl_vars['item']['transaction_date']; ?>
</td>
<td align="left" valign="middle">
<?php if (! $this->_tpl_vars['item']['debtor_reference_id']): ?>
n/a
<?php else: ?>
<?php echo $this->_tpl_vars['item']['debtor_reference_id']; ?>
<?php endif; ?>
</td>
<td align="left" valign="middle" style="padding-left:10px !important;">
<?php if ($this->_tpl_vars['item']['debtor_name'] == ''): ?>
n\a
<?php else: ?>
<?php echo $this->_tpl_vars['item']['debtor_name']; ?>
<?php endif; ?>
</td>
<td align="center" valign="middle"><?php echo ((is_array($_tmp=((is_array($_tmp=$this->_tpl_vars['item']['type'])) ? $this->_run_mod_handler('substr', true, $_tmp, 0, 1) : substr($_tmp, 0, 1)))) ? $this->_run_mod_handler('ucfirst', true, $_tmp) : ucfirst($_tmp)); ?>
</td>
<td>
<?php if ($this->_tpl_vars['item']['transaction_type'] == 19 || $this->_tpl_vars['item']['transaction_type'] == 7): ?>
<a style="cursor: pointer;" onclick="$('#transaction_history').dialog('open'); transaction_history(<?php echo $this->_tpl_vars['item']['manual_transaction_id']; ?>
); return false;"><?php echo smarty_function_getTransactionName(array('transaction' => $this->_tpl_vars['item']), $this);?>
<i class="glyphicon glyphicon-th-list"></i></a>
<?php else: ?>
<?php echo smarty_function_getTransactionName(array('transaction' => $this->_tpl_vars['item']), $this);?>
<?php endif; ?>
</td>
<td align="right"> <?php echo smarty_function_getTransactionRStatus(array('transaction' => $this->_tpl_vars['item']), $this);?>
<?php echo ((is_array($_tmp=$this->_tpl_vars['item']['amount'])) ? $this->_run_mod_handler('number_format', true, $_tmp, 2) : smarty_modifier_number_format($_tmp, 2)); ?>
</td>
<td align="center">
<a class="btn btn-default btn-sm" href="index.php?do=viewtransaction&id=<?php echo $this->_tpl_vars['item']['manual_transaction_id']; ?>
" title="View">
<i class="glyphicon glyphicon-search"></i>
</a>
</td>
</tr>
<?php endforeach; endif; unset($_from); ?>
</tbody>
<tfoot>
<tr>
<th colspan="7" style="text-align: center;" align="center"><?php echo smarty_function_pagination(array('totalpages' => $this->_tpl_vars['totalpages']), $this);?>
</th>
</tr>
</tfoot>
</table>
</td>
</tr>
</table></td>
</tr>
</tbody>
</table></td>
</tr>
</tbody>
</table></td>
</tr>
<tr>
<td align="left" valign="top"> </td>
</tr>
</tbody>
</table>
<style>
#listDebtor td{
padding:5px;
font-size:11px;
}
#listDebtor td b{
font-size:11px;
}
.ui-widget-header {
background: #f6a828 url("css/ui-lightness/images/ui-bg_gloss-wave_35_f6a828_500x100.png") repeat-x scroll 50% 50%;
border: 1px solid #e78f08;
color: #ffffff;
font-weight: bold;
}
.about_c > table{border-spacing: 5px;}
.ui-button-icon-only .ui-icon{
left: 0;
top: 0;
}
</style>
<script type="text/javascript">
function changeDeb(id){
window.location = 'index.php?do=mytrastatements&cid='+id;
}
</script>
<div id="transaction_history">
<div id="transaction_history_content">
Information is loading...
</div>
</div>
<script>
$(function () {
$("#transaction_history").dialog({
autoOpen: false,
width: 600,
height: 400,
modal: true,
title: 'Payment History',
open: function () {
$('#transaction_history_content').html('Information is loading...');
}
});
});
function transaction_history(transaction_id)
{
$('#transaction_history_content').html('Information is loading...');
$('#transaction_history_content').load('/exchange/index.php?do=transaction_history&transaction_id=' + transaction_id);
}
</script>
<?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => "footer.html", 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
?>