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

42 lines
961 B
PHP

<?php
require_once("include/globals.php");
if (SessionActive() != 1 || ! UserLoggedIn()) {
header("Location: /");
exit();
}
//
// Process all actions to list and edit records
//
$CurrentTable = "resellers";
$FormFile = "resellers.dialog.php";
$DialogWidth = 500;
$TitleText = "Resellers";
$SequenceFlag = 'N';
$tableAction = 'resellers-list';
$RequiredFields = array('business_name','reseller_code','contact_name','phone','email');
// Start the template and output buffering
startTemplate();
$templatePageTitle = $TitleText;
// Ensure that only valid user types have access to this module
$AllowedUserTypes = array('SuperUser');
if (checkPermission($AllowedUserTypes) != 1) {
$error_message = getLanguageText('ERRORMSG-ACCESS-DENIED');
include "form.messages.php";
include "hotlunch_reports.menu.php";
endTemplate();
exit();
}
include "form.js.php";
endTemplate();
?>