Location: PHPKode > projects > NOLA > adminartaxexupd.php
<? include('includes/main.php'); ?>
<? include('includes/arfunctions.php'); ?>
<?
	echo texttitle(STR_TAX_EXEMPTION_UPDATE);
	if ($id) { //if tax exemption selected 
		if ($delete) { //if tax exemption should be deleted
			if (artaxexemptiondelete($id)) die(); //OK
		} elseif ($exemptname) { //if tax exemption should be updated
			artaxexemptionupdate($id, $exemptname);
		};
		//edit tax exemption
		echo '<form action="adminartaxexupd.php" method="post"><input type="hidden" name="id" value="'.$id.'"><table>';
		formartaxexemptionupdate($id);
		echo '</table><input type="submit" value="'.STR_SAVE_CHANGES.'"></form><a href="javascript:confirmdelete(\'adminartaxexupd.php?delete=1&id='.$id.'\')">'.STR_DELETE_THIS_TAX_EXEMPTION.'</a>';
	} else { //select tax exemption
		echo '<form action="adminartaxexupd.php" method="post"><table>';
		if (formartaxexemptionselect('id')) echo '<input type="submit" value="'.STR_EDIT_SELECTION.'">';
		echo '</table></form><a href="adminartaxexadd.php">'.STR_ADD_NEW_TAX_EXEMPTION.'</a>';
	};
?>
<? include('includes/footer.php'); ?>
Return current item: NOLA