Enhanced File Manager

2025-04-03 23:56:07
Disk Space: 7.56 GB / 24.93 GB (30.33%)

Drag & Drop files here or click to browse

Create New Folder

Create New File

Preview of get-customer-by-mc.php

<?php require_once __DIR__ . '/src/Services/Logger.php'; require_once __DIR__ . '/src/Api/McleodApiHandler.php'; require_once __DIR__ . '/src/Services/CustomerSearchService.php'; header('Content-Type: application/json'); try { // Initialize logger $logger = new \Services\Logger(); $logger->info('Get customer by MC Number request received'); // Get MC Number parameter $mcNumber = $_GET['mc_number'] ?? ''; if (empty($mcNumber)) { throw new Exception('No MC Number provided'); } $logger->info('Looking up customer with MC Number: ' . $mcNumber); // Initialize customer service $customerService = new CustomerSearchService($logger); // Search for customer by MC Number $customer = $customerService->findCustomerByMCNumber($mcNumber); if ($customer) { $logger->info('Found customer with MC Number: ' . $mcNumber); // Prepare response data $responseDat
Parent Directory
logs
meki
src
templates
RateConProcessor.php
commodity-lookup.php
commodity_codes.txt
composer.json
create-location.php
file_manager.php
get-customer-by-mc.php
index.html
mcleod-editor.js
process-ratecon.php
search-customer.php
search-location.php
send-to-mcleod.php