✏️ 正在编辑: DailyTransactions.php
路径:
/home/eblama1/sms.karnplayinland.com/modules/Student_Billing/DailyTransactions.php
提示:
您可以编辑任何文件(包括二进制文件),但请注意不当修改可能导致文件损坏。
<?php /** * Daily Transactions * * @since 8.0 Merge Daily Transactions & Daily Totals programs * * @package RosarioSIS * @subpackage modules */ DrawHeader( ProgramTitle() ); $_REQUEST['program'] = issetVal( $_REQUEST['program'], '' ); if ( $_REQUEST['program'] === 'totals' && User( 'PROFILE' ) === 'admin' ) { require_once 'modules/Student_Billing/includes/DailyTotals.php'; } else { require_once 'modules/Student_Billing/includes/DailyTransactions.php'; } /** * Program Menu * * Local function * * @since 8.0 * @since 10.9 Temporary AllowEdit so SelectInput() is displayed to everyone * * @param string $program Program: transactions|totals. * * @return string Select Program input. */ function _programMenu( $program ) { global $_ROSARIO; if ( ! AllowEdit() ) { $_ROSARIO['allow_edit'] = true; $allow_edit_tmp = true; } $link = PreparePHP_SELF( [], [ 'program' ] ) . '&program='; $menu = SelectInput( $program, 'program', '', [ 'transactions' => _( 'Daily Transactions' ), 'totals' => _( 'Daily Totals' ), ], false, 'onchange="' . AttrEscape( 'ajaxLink(' . json_encode( $link ) . ' + this.value);' ) . '" autocomplete="off"', false ); if ( ! empty( $allow_edit_tmp ) ) { $_ROSARIO['allow_edit'] = false; } return $menu; }
💾 保存文件
← 返回文件管理器