function add_period() { $output = '<div id="tb_period_' . $this->id . '" class="toolbar_right">' . "\n"; $output .= TEXT_INFO_SEARCH_PERIOD_FILTER . '<br />' . "\n"; $output .= html_pull_down_menu('search_period', gen_get_period_pull_down($this->period_strict), $this->search_period, 'onchange="periodPage(\'' . gen_get_all_get_params(array('page', 'action')) . '\')"'); $output .= '</div>' . "\n"; return $output; }
<td align="center"><?php echo RW_DOWNLOAD . html_radio_field('delivery_method', 'D', $delivery_method == 'D' ? true : false, '', 'onclick="hideEmail();"', false); ?> </td> <td align="center"><?php echo TEXT_EMAIL . html_radio_field('delivery_method', 'S', $delivery_method == 'S' ? true : false, '', 'onclick="hideEmail();"', false); ?> </td> </tr> <?php if ($Prefs['dateselect'] != '') { if ($Prefs['dateselect'] == 'z') { // special case for period pull-down echo '<tr><td>' . TEXT_PERIOD . '</td>'; echo '<td colspan="3">'; echo html_pull_down_menu('period', gen_get_period_pull_down(false), CURRENT_ACCOUNTING_PERIOD); echo '</td></tr>'; } else { ?> <tr> <th colspan="2"> </td> <th align="center"><?php echo TEXT_FROM; ?> </th> <th align="center"><?php echo TEXT_TO; ?> </th> </tr> <tr>
function add_period() { $output = '<div id="tb_period_' . $this->id . '" class="ui-state-hover" style="float:right; border:0px;">' . "\n"; $output .= TEXT_INFO_SEARCH_PERIOD_FILTER . '<br />' . "\n"; $output .= html_pull_down_menu('search_period', gen_get_period_pull_down($this->period_strict), $this->search_period, 'onchange="periodPage(\'' . gen_get_all_get_params(array('action', 'list')) . '\')"'); $output .= '</div>' . "\n"; return $output; }
} } $toolbar->add_help('07.05.04'); echo $toolbar->build_toolbar($add_search = false, $add_period = false); // Build the page ?> <h1><?php echo BANKING_HEADING_RECONCILIATION; ?> </h1> <div align="center"><?php echo TEXT_CASH_ACCOUNT . ' ' . html_pull_down_menu('gl_account', $account_array, $gl_account, 'onchange="submit();"'); ?> <?php echo TEXT_INFO_SEARCH_PERIOD_FILTER . ' ' . html_pull_down_menu('search_period', gen_get_period_pull_down(false), $period, 'onchange="submit();"'); ?> </div> <?php if (ENABLE_MULTI_CURRENCY) { echo '<p>' . sprintf(GEN_PRICE_SHEET_CURRENCY_NOTE, $currencies->currencies[DEFAULT_CURRENCY]['title']) . '</p>' . chr(10); } ?> <table class="ui-widget" style="border-collapse:collapse;width:900px;margin-left:auto;margin-right:auto;"> <thead class="ui-widget-header"> <tr> <?php $heading_array = array('reference' => TEXT_REFERENCE, 'post_date' => TEXT_DATE, 'dep_amount' => BNK_DEPOSIT_CREDIT, 'pmt_amount' => BNK_CHECK_PAYMENT); $result = html_heading_bar($heading_array, array(TEXT_SOURCE, TEXT_CLEAR, ' ')); echo $result['html_code']; ?>