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

	

	<c:DockLayout>

		<c:HorizontalLayout Id="btnDone" CssClass="bottom_btn" OnEvent="Back" OnClickAction="$SaveAndBack($outlet)">
			<c:TextView Text="#client#"></c:TextView>
		</c:HorizontalLayout>
		<c:HorizontalLine CssClass="b_line" />

		<c:ScrollView Id="grScrollView">
			<c:HorizontalLayout CssClass="empty_caption_grid" />
			<c:HorizontalLine />

			<c:HorizontalLayout CssClass="grid">
				<c:VerticalLayout>
					<c:TextView Text="#legal_name#" CssClass="description_row"></c:TextView>
					<c:EditText Value="$outlet.LegalName" Placeholder="-" CssClass="main_row" />
				</c:VerticalLayout>
			</c:HorizontalLayout>
			<c:HorizontalLine />

			<c:HorizontalLayout CssClass="grid">
				<c:VerticalLayout>
					<c:TextView Text="#legal_address#" CssClass="description_row"></c:TextView>
					<c:EditText Value="$outlet.LegalAddress" Placeholder="-" CssClass="main_row" />
				</c:VerticalLayout>
			</c:HorizontalLayout>
			<c:HorizontalLine />

			<c:HorizontalLayout CssClass="grid">
				<s:Push Id="outletObj" Value="$GetObject($outlet)" />
				<c:VerticalLayout OnClickAction="$SelectOwnership()">
					<s:Push Id="ownershipString" Value="$GetString($outlet.OwnershipType)" />
					<c:TextView Text="#ownership#" CssClass="description_row"></c:TextView>
					<c:TextView Id="OwnershipType" Text="$ownershipString" CssClass="$style" />
				</c:VerticalLayout>
			</c:HorizontalLayout>
			<c:HorizontalLine />

			<c:HorizontalLayout CssClass="grid">
				<c:VerticalLayout>
					<c:TextView Text="#inn#" CssClass="description_row"></c:TextView>
					<c:EditText Value="$outlet.INN" Placeholder="-" Keyboard="numeric" CssClass="main_row" />
				</c:VerticalLayout>
			</c:HorizontalLayout>
			<c:HorizontalLine />

			<c:HorizontalLayout CssClass="grid">
				<c:VerticalLayout>
					<c:TextView Text="#kpp#" CssClass="description_row"></c:TextView>
					<c:EditText Value="$outlet.KPP" Placeholder="-" Keyboard="numeric" CssClass="main_row" />
				</c:VerticalLayout>
			</c:HorizontalLayout>
			<c:HorizontalLine />

			<c:HorizontalLayout CssClass="grid">
				<c:VerticalLayout>
					<c:TextView Text="#phone#" CssClass="description_row"></c:TextView>
					<c:EditText Value="$outlet.PhoneNumber" Placeholder="-" Keyboard="numeric" CssClass="main_row" />
				</c:VerticalLayout>
			</c:HorizontalLayout>
			<c:HorizontalLine />

			<c:HorizontalLayout CssClass="grid">
				<c:VerticalLayout>
					<c:TextView Text="#email#" CssClass="description_row"></c:TextView>
					<c:EditText Value="$outlet.Email" Placeholder="-" CssClass="main_row" />
				</c:VerticalLayout>
			</c:HorizontalLayout>
			<c:HorizontalLine />

			<c:HorizontalLayout CssClass="grid">
				<c:VerticalLayout>
					<c:TextView Text="#web_site#" CssClass="description_row"></c:TextView>
					<c:EditText Value="$outlet.WebSite" Placeholder="-" CssClass="main_row" />
				</c:VerticalLayout>
			</c:HorizontalLayout>
			<c:HorizontalLine />

		</c:ScrollView>

	</c:DockLayout>

</c:Screen>