protected function btnSplitSave_Click() { if (strtolower(trim($this->txtSplitNameCurrent->Text)) == strtolower(trim($this->txtSplitNameNew->Text))) { QApplication::DisplayAlert('PayPal Batch Name/Numbers must be different.'); return; } $this->objBatch->SplitBatch(trim($this->txtSplitNameCurrent->Text), trim($this->txtSplitNameNew->Text), CreditCardPayment::Load($this->lstSplitItem->SelectedValue)); QApplication::Redirect('/stewardship/paypal'); }