public function postAddNonRecurringProduct() { $input = Input::all(); $input['assigned_on'] = date('Y-m-d H:i:s'); if (APNonRecurringProduct::create($input)) { $this->notifySuccess('Product Added.'); } else { $this->notifyError("Product could not be added."); } return Redirect::back(); }