'That expense no longer exists.']); exit; } if (floatval($form_row['expense_amount']) <= 0) { echo json_encode(['error' => 'That is a refund already - there is nothing to give back.']); exit; } $form_mode = 'refund'; ob_start(); ?>