<?xml version="1.0" encoding="utf-8" ?>
<c:Screen xmlns:c="BitMobile.Controls" xmlns:s="BitMobile.ValueStack" StyleSheet="Visit_SKUs.css">

	<s:Push Id="outlet" Value="$param1"></s:Push>

	<c:DockLayout>

		<c:HorizontalLayout Id="btnCancel" CssClass="bottom_btn">
			<c:VerticalLayout Id="btnBack" OnEvent="Back" OnClickAction="$DoBack()">
				<c:TextView Text="#back#" CssClass="left_tv"></c:TextView>
			</c:VerticalLayout>
			<c:VerticalLayout Id="btnAdd" OnEvent="Forward" OnClickAction="$DoAction(Select, null, $outlet)">
				<c:TextView Text="#add#" CssClass="right_tv"></c:TextView>
			</c:VerticalLayout>
		</c:HorizontalLayout>
		<c:HorizontalLine CssClass="b_line" />

		<c:ScrollView Id="grScrollView">

			<c:HorizontalLayout CssClass="empty_caption_grid" />
			<c:HorizontalLine />

			<s:Iterator Id="contact" Value="$GetContacts($outlet)" Status="statusCount">

				<c:SwipeHorizontalLayout CssClass="swipe_layout">
					<c:DockLayout CssClass="parameter_grid" OnClickAction="$DoAction(Select, $contact.Id, $outlet)">
						<c:TextView Text="$contact.ContactName"></c:TextView>
						<c:Image />
					</c:DockLayout>
					<c:HorizontalLayout CssClass="red_swipe" OnClickAction="$DeleteContact($contact.Id)">
						<c:TextView Text="#delete#"></c:TextView>
					</c:HorizontalLayout>
				</c:SwipeHorizontalLayout>
				<c:HorizontalLine />

			</s:Iterator>

		</c:ScrollView>

	</c:DockLayout>

</c:Screen>