File: /www/exchange0old/exchange/admin/cache/%%D3^D30^D30908CA%%originators_list.html.php
<?php /* Smarty version 2.6.19, created on 2024-06-17 10:34:22
compiled from common/originators_list.html */ ?>
<?php require_once(SMARTY_CORE_DIR . 'core.load_plugins.php');
smarty_core_load_plugins(array('plugins' => array(array('modifier', 'count', 'common/originators_list.html', 7, false),)), $this); ?>
<select class="cmb_bx1" name="originator_id" id="originator_id">
<option value="" selected="selected">Select</option>
<?php $_from = $this->_tpl_vars['originators']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
foreach ($_from as $this->_tpl_vars['item']):
?>
<option value='<?php echo $this->_tpl_vars['item']['user_id']; ?>
' <?php if ($this->_tpl_vars['values']['originator_id'] == $this->_tpl_vars['item']['user_id']): ?> selected="selected" <?php endif; ?> ><?php echo $this->_tpl_vars['item']['organisation_name']; ?>
(<?php echo $this->_tpl_vars['item']['organisation_reference_id']; ?>
)</option>
<?php endforeach; endif; unset($_from); ?>
</select>
<?php if (isset ( $this->_tpl_vars['all_history']['originator_name'] ) && count($this->_tpl_vars['all_history']['originator_name']) > 1): ?>
<button class="btn btn-default btn-sm" title="Change Log" href="#" onclick="window.open('?do=get-invoice-changes-history&id=<?php echo $this->_tpl_vars['invoice_id']; ?>
&field=originator_name','originator_name_changes','width=400,height=400');return false;" style="margin-top: -5px;padding: 0;border: none;"><i class="glyphicon glyphicon-list-alt" ></i></button>
<?php endif; ?>
<br/>
<span style="color:#FF0000;">
<?php echo $this->_tpl_vars['errmsg']['originator_id']; ?>
</span>