62 lines
1.8 KiB
PHP
62 lines
1.8 KiB
PHP
<?php
|
|
require_once("include/globals.php");
|
|
|
|
if (SessionActive() != 1 || ! UserLoggedIn()) {
|
|
header("Location: /");
|
|
exit();
|
|
}
|
|
|
|
|
|
//
|
|
// Process all actions to list and edit records
|
|
//
|
|
$action = "user-account-statement";
|
|
$CurrentTable = "user_account";
|
|
$FormFile = "";
|
|
$TitleText = getLanguageText('TEXT-USER-ACCOUNT-STATEMENT');
|
|
|
|
|
|
// Start the template and output buffering
|
|
startTemplate();
|
|
$templatePageTitle = "$TitleText";
|
|
|
|
|
|
// Ensure that only valid user types have access to this module
|
|
$AllowedUserTypes = array('SuperUser','System Administrator','Application Administrator','Administration Team','Financial','Financial Team');
|
|
if (checkPermission($AllowedUserTypes) != 1) {
|
|
$error_message = getLanguageText('ERRORMSG-ACCESS-DENIED');
|
|
header("Location: /?error_message=".urlencode($error_message));
|
|
exit();
|
|
}
|
|
|
|
|
|
|
|
$school_num = $school_record['record_num'];
|
|
|
|
|
|
$message_width = 400;
|
|
include "form.messages.php";
|
|
|
|
?>
|
|
<form method='post' name='transactions'>
|
|
<table width='600' cellpadding='3' class='content-table'>
|
|
<!--
|
|
<tr>
|
|
<td align='right'><?php displayLanguageText('TEXT-INCLUDE-TRANSACTION-DETAILS'); ?> : </td>
|
|
<td align='left'><?php BuildFileRadio("yn.txt","include_detail","Y") ?></td>
|
|
</tr>
|
|
-->
|
|
<tr>
|
|
<td align='right'><?php displayLanguageText('TEXT-ACCOUNT-BALANCE'); ?> :: </td>
|
|
<td align='left'><?php BuildFileRadio("user_account_balance.txt","include_subset","all") ?></td>
|
|
</tr>
|
|
<tr>
|
|
<td colspan='2' align='center' valign='top'><br><input type='submit' class='btn btn--primary btn--xsmall' value="<?php displayLanguageText('TEXT-GENERATE-REPORT'); ?>"></td>
|
|
</tr>
|
|
</table>
|
|
<input type='hidden' name='action' value='user-account-statement-print'>
|
|
</form>
|
|
<?php
|
|
endTemplate();
|
|
?>
|