<tr>
            <td height="30" width="10" align="left" class="user-gray-bot-bor">
               <!--<span class="golden"><input type="checkbox" class="radib-btn" name="checkbox2" id="checkbox2" style="vertical-align:middle;" /></span>-->
            </td>
            <td class="user-gray-bot-bor" height="30" width="79%"><strong><a href="<?php 
            echo $this->_tpl_vars['SITE_URL_DUM'];
            ?>
inboxdetail/<?php 
            echo $this->_tpl_vars['res'][$this->_sections['in']['index']]['iVerifiedID'];
            ?>
"><?php 
            echo $this->_tpl_vars['res'][$this->_sections['in']['index']][$this->_tpl_vars['field']];
            ?>
</a></strong></td>
            <td align="right" class="user-gray-bot-bor"><strong><?php 
            echo is_array($_tmp = is_array($_tmp = $this->_tpl_vars['res'][$this->_sections['in']['index']]['dActionDate']) ? $this->_run_mod_handler('calcLTzTime', true, $_tmp) : calcLTzTime($_tmp)) ? $this->_run_mod_handler('getInboxDate', true, $_tmp) : getInboxDate($_tmp);
            ?>
</strong></td>
         </tr>
         <?php 
        }
    }
    ?>
			<tr>
				<td colspan="3" align="right"><?php 
    if ($this->_tpl_vars['totInboxres'] > count($this->_tpl_vars['res'])) {
        ?>
<em><a href="<?php 
        echo $this->_tpl_vars['SITE_URL_DUM'];
        ?>
inbox" class="viewmorelink"><?php 
                        <td>:</td>
                        <td><?php 
        echo $this->_tpl_vars['invoiceData']['dAcceptedWHTax'];
        ?>
</td>
                    </tr>
                    </tr>
                    <tr>
                        <td><?php 
        echo $this->_tpl_vars['LBL_ACCEPTED_NET_PAYMENT_DATE'];
        ?>
&nbsp;</td>
                        <td>:</td>
                        <td><?php 
        if ($this->_tpl_vars['invoiceData']['dAcceptedNetPaymentDate'] != '0000-00-00') {
            echo is_array($_tmp = is_array($_tmp = $this->_tpl_vars['invoiceData']['dAcceptedNetPaymentDate']) ? $this->_run_mod_handler('calcLTzTime', true, $_tmp) : calcLTzTime($_tmp)) ? $this->_run_mod_handler('DateTime', true, $_tmp, 10) : DateTime($_tmp, 10);
        } else {
            ?>
---<?php 
        }
        ?>
</td>
                    </tr>


                    <?php 
        if ($this->_tpl_vars['invoiceData']['fAcceptedAmount'] > 0) {
            ?>
                    <tr>
                        <td><?php 
            echo $this->_tpl_vars['LBL_ACCEPTED_AMOUNT'];
                                <td>
                                    <input type="text" name="Data[iNetPaymentDays]" class="input-rag digits" id="iNetPaymentDays" style="width:228px;" value="<?php 
echo $this->_tpl_vars['invdtls'][0]['iNetPaymentDays'];
?>
" />
                                </td>
                            </tr>
                            <tr>
                                <td><?php 
echo $this->_tpl_vars['LBL_NET_PAYMENT_DATE'];
?>
 </td>
                                <td>:</td>
                                <td>
                                    <input type="text" name="Data[dNetPaymentdate]" class="input-rag " id="dNetPaymentdate" style="width:139px;" value="<?php 
echo is_array($_tmp = $this->_tpl_vars['invdtls'][0]['dNetPaymentdate']) ? $this->_run_mod_handler('calcLTzTime', true, $_tmp) : calcLTzTime($_tmp);
?>
" readonly="readonly" />
                                                                    </td>
                            </tr>
                            <tr>
                                <td><?php 
echo $this->_tpl_vars['LBL_BILL_TO'];
?>
  <?php 
echo $this->_tpl_vars['LBL_PARTY'];
?>
 &nbsp;<font class="reqmsg">*</font> </td>
                                <td>:</td>
                                <td><input type="text" name="Data[vBillToParty]" class="input-rag required" id="vBillToParty" title="<?php 
echo $this->_tpl_vars['LBL_ENTER'];
Example #4
0
        <label class="col-md-2 control-label"><?php 
    echo $smarty->get_template_vars('LBL_INVOICE_PAYABLE_DATE');
    ?>
</label>
        <div class="col-md-4">
            <?php 
    echo $dtls[0]['dNetPaymentdate'] != '0000-00-00' ? DateTime(calcLTzTime($dtls[0]['NetPaymentdate']), 10) : '---';
    ?>
        </div>
        <label class="col-md-2 control-label"><?php 
    echo $smarty->get_template_vars('LBL_ACCEPTED') . ' ' . $smarty->get_template_vars('LBL_DATE');
    ?>
</label>
        <div class="col-md-4">
            <?php 
    echo $dtls[0]['dAcceptedDate'] != '0000-00-00' ? DateTime(calcLTzTime($dtls[0]['dAcceptedNetPaymentDate']), 10) : '---';
    ?>
        </div>
        <label class="col-md-2 control-label"><?php 
    echo $smarty->get_template_vars('LBL_INVOICE_PAYABLE') . ' (' . $smarty->get_template_vars('LBL_ACCEPTED') . ') ' . $smarty->get_template_vars('LBL_AMOUNT');
    ?>
</label>
        <div class="col-md-4">
            <?php 
    echo $dtls[0]['fAcceptedAmount'];
    ?>
        </div>
        <label class="col-md-2 control-label"> <?php 
    echo $smarty->get_template_vars('LBL_INVOICE_TOTAL');
    ?>
</label>
        ?>

         &nbsp;<?php 
        echo $this->_tpl_vars['activegroup'][$this->_sections['i']['index']]['vPoBuyerCode'];
        ?>
</td>
        <td width="67"  align="center"><?php 
        echo $this->_tpl_vars['activegroup'][$this->_sections['i']['index']]['fPOTotal'];
        ?>
</td>
        <td width="48" align="center"><?php 
        echo $this->_tpl_vars['activegroup'][$this->_sections['i']['index']]['days'];
        ?>
</td>
        <td width="74" align="center"><?php 
        echo is_array($_tmp = is_array($_tmp = $this->_tpl_vars['activegroup'][$this->_sections['i']['index']]['dCreateDate']) ? $this->_run_mod_handler('calcLTzTime', true, $_tmp) : calcLTzTime($_tmp)) ? $this->_run_mod_handler('DateTime', true, $_tmp, '10') : DateTime($_tmp, '10');
        ?>
</td>
        <td width="87" align="center"><?php 
        if ((is_array($_tmp = $this->_tpl_vars['activegroup'][$this->_sections['i']['index']]['vSupplierName']) ? $this->_run_mod_handler('trim', true, $_tmp) : trim($_tmp)) == '') {
            ?>
---<?php 
        } else {
            echo $this->_tpl_vars['activegroup'][$this->_sections['i']['index']]['vSupplierName'];
        }
        ?>
</td>
        <?php 
        if ($this->_tpl_vars['orgtype'] != 'Buyer') {
            ?>
         <td width="77" align="center"><?php 
        ?>
</td>
		<td width="70" align="left"><?php 
        echo $this->_tpl_vars['dtls'][$this->_sections['i']['index']]['vBuyer2'];
        ?>
</td>
      <td width="40" align="center"><?php 
        echo is_array($_tmp = is_array($_tmp = $this->_tpl_vars['dtls'][$this->_sections['i']['index']]['eAuctionType']) ? $this->_run_mod_handler('substr', true, $_tmp, 0, 1) : substr($_tmp, 0, 1)) ? $this->_run_mod_handler('strtoupper', true, $_tmp) : strtoupper($_tmp);
        ?>
</td>
		<td width="30" align="center"><?php 
        echo $this->_tpl_vars['dtls'][$this->_sections['i']['index']]['eBidCriteria'];
        ?>
</td>
		<td width="70" align="center"><?php 
        echo is_array($_tmp = is_array($_tmp = $this->_tpl_vars['dtls'][$this->_sections['i']['index']]['dBidDate']) ? $this->_run_mod_handler('calcLTzTime', true, $_tmp) : calcLTzTime($_tmp)) ? $this->_run_mod_handler('DateTime', true, $_tmp, 10) : DateTime($_tmp, 10);
        ?>
</td>
				<td width="70" align="center">A:<?php 
        echo is_array($_tmp = $this->_tpl_vars['dtls'][$this->_sections['i']['index']]['fBidAdvanceTotal']) ? $this->_run_mod_handler('number_format', true, $_tmp, 2, '.', ',') : number_format($_tmp, 2, '.', ',');
        ?>
, P:<?php 
        echo is_array($_tmp = $this->_tpl_vars['dtls'][$this->_sections['i']['index']]['fBidPriceTotal']) ? $this->_run_mod_handler('number_format', true, $_tmp, 2, '.', ',') : number_format($_tmp, 2, '.', ',');
        ?>
</td>
		      <td width="70" align="center">
			<?php 
        if ($this->_tpl_vars['dtls'][$this->_sections['i']['index']]['eSaved'] == 'Yes') {
            ?>
				<?php 
            echo $this->_tpl_vars['LBL_SAV'];
echo $this->_tpl_vars['LBL_START_DATE'];
?>
" style="width:139px" />
                                </td>
                            </tr>
                            <tr id="enddate_tr">
                                <td width="190" valign="top"><?php 
echo $this->_tpl_vars['LBL_END_DATE'];
?>
 <font class="reqmsg">*</font> </td>
                                <td valign="top">:</td>
                                <td valign="top">
                                    <span style="float:left;">
                                                                                                                        <input type="text" id="dEndDate" name="Data[dEndDate]" class="save required" value="<?php 
if ((is_array($_tmp = $this->_tpl_vars['dtls'][0]['dEndDate']) ? $this->_run_mod_handler('trim', true, $_tmp) : trim($_tmp)) != '' && (is_array($_tmp = $this->_tpl_vars['dtls'][0]['dEndDate']) ? $this->_run_mod_handler('trim', true, $_tmp) : trim($_tmp)) != '0000-00-00' && (is_array($_tmp = $this->_tpl_vars['dtls'][0]['dEndDate']) ? $this->_run_mod_handler('trim', true, $_tmp) : trim($_tmp)) != '0000-00-00 00:00:00') {
    echo is_array($_tmp = is_array($_tmp = $this->_tpl_vars['dtls'][0]['dEndDate']) ? $this->_run_mod_handler('calcLTzTime', true, $_tmp) : calcLTzTime($_tmp)) ? $this->_run_mod_handler('date_format', true, $_tmp, '%Y-%m-%d %H:%M') : smarty_modifier_date_format($_tmp, '%Y-%m-%d %H:%M');
}
?>
" title="<?php 
echo $this->_tpl_vars['LBL_SELECT'];
?>
 <?php 
echo $this->_tpl_vars['LBL_END_DATE'];
?>
" style="width:139px" />
                                    </span>
                                </td>
                            </tr>
                            <tr id="enddate_relative_tr" style="display: none;">
                                <td width="190" valign="top">End After</td>
                                <td valign="top">:</td>