Help for this page
if ($vat eq 1){$hasvat = "Yes"} else {$hasvat = "No"};
$hasvat = ($vat eq 1) ? "Yes" : "No";