Files
HotLunches/user_account_trx_codes.php
T
2026-10-19 15:22:52 -07:00

44 lines
1.0 KiB
PHP

<?php
require_once("include/globals.php");
if (SessionActive() != 1 || ! UserLoggedIn()) {
header("Location: /");
exit();
}
//
// Process all actions to list and edit records
//
$naction = "";
$CurrentTable = "user_account_trx_codes";
$FormFile = "user_account_trx_codes.dialog.php";
$TitleText = getLanguageText('TEXT-CLASS-PROGRAMS');
$SequenceFlag = 'Y';
$DialogWidth = 600;
$tableAction = 'user-account-trx-codes';
$RequiredFields = array('transaction_type_code','trx_category');
// Start the template and output buffering
startTemplate();
$templatePageTitle = getLanguageText('TEXT-USER-ACCOUNT-TRX-CODES');
// Ensure that only valid user types have access to this module
$AllowedUserTypes = array('SuperUser','System Administrator');
if (checkPermission($AllowedUserTypes) != 1) {
$error_message = getLanguageText('ERRORMSG-ACCESS-DENIED');
include "form.messages.php";
endTemplate();
exit();
}
include "form.js.php";
endTemplate();
?>