<!DOCTYPE html>
<html lang="en">
<head>
	<meta charset="utf-8">
	<link rel="stylesheet" href="{{framework}}/default.css" type="text/css" charset="utf-8">
	<link rel="stylesheet" href="{{framework}}/screen.css" type="text/css" charset="utf-8" media="screen">
	<link rel="stylesheet" href="{{framework}}/print.css" type="text/css" charset="utf-8" media="print">
</head>

{{fscript
	objs := objectContext objectsForEntityNamed:'Contact' qualifierLocum:'categoryID == NULL' bindings:nil.
	globals setContacts:objs.
}}

<body>
	<h2>{{localize 'People with No Category'}}</h2>
	<table width="100%">
		<tr>
			<td width="40%">Name</td>
			<td width="40%">Email</td>
			<td width="30%">City</td>
		</tr>
		{{foreach contact contacts do}}
			<tr>
				<td width="40%"><a href="daylite4://ShowObject/Contact/{{contact.contactID}}">{{contact.cachedName}}</a></td>
				<td width="40%">{{contact.defaultEmailAddress.url}}</td>
				<td width="30%">{{contact.defaultGeoAddress.city}}</td>
			</tr>
		{{endforeach do}}
	</table>

	<div id="reportfooter">
	{{localize 'Generated by %@ on %@.', objectContext.user.contact.cachedName, date}}	
	</div>

</body>
</html>