function saveTax() { $return = manage_staff::SaveStaffTax($_POST['PersonID'], $_POST['staff_id'], $_POST['sum_paied_pension']); echo $return ? Response::createObjectiveResponse(true, $_POST['PersonID']) : Response::createObjectiveResponse(false, ExceptionHandler::GetExceptionsToString("\n")); die; }