// Fall through otherwise case 'closeAccountConfirm': $b = new Billing(); if (!$data['confirm']) { header('Location: index.php?billing&success=bn'); } else { if ($b->closeAccount($data['pid'])) { header('Location: index.php?billing&success=b'); } else { printError("Failed to delete patient."); } } break; case 'getBill': $b = new Billing(); $b->displayBill($data['pid']); break; // Do nothing // Do nothing default: printError("Nothing was done..."); } // ================================================== // Special cases // Process an individual EDT } elseif (array_key_exists('processEDT', $_GET) && $_GET['processEDT']) { $b = new Billing(); $t = new Treatment(); if ($b->processEDT($_GET['processEDT'])) { header('Location: index.php?billing&success=b'); } else {