<?xml version="1.0" encoding="UTF-8"?>
<scenario begin="account">

	<!-- Vodafone fix & TV -->
	<screen id="account" type="numeric" title="Cod client">
		<fields>
			<text-field id="id1" keyboard="Digital" max-len="8" title="Cod client">
				<validator type="regex">
					<rules>
						<rule regex="^[0|1|2|3|8|9][0-9]{6}[0-9]{1}$"/> <!-- "^[0|1|2|3|8|9][0-9]{6}-[0-9]{1}$" -->
					</rules>
				</validator>
				<formatter type="regex">
					<rules default="*******-*"/>
				</formatter>
				<help>
					<![CDATA[<html>ATENTIE! In cazul in care v-a fost alocat codul de client in formatul nou (Ex.: 271628565 ), va rugam sa efectuati plata facturii la ramura "FACTURA VODAFONE".]]>
				</help>
			</text-field>
		</fields>
		<actions>
			<action type="Next" title="Inainte">
				<set key="service_name" value="vf_fix_tv"/>
				<goto target="confirm"/>
			</action>
			<action type="Prev" title="Inapoi">
				<goto target="previous"/>
			</action>
			<action type="Exit" title="Pagina principala">
				<goto target="exit"/>
			</action>
		</actions>
	</screen>

	<!-- Confirm -->
	<screen id="confirm" type="confirm" title="Confirmare">
		<fields list="id1"/>
		<actions>
			<action type="Next" title="Achita">
				<goto target="pay"/>
			</action>
			<action type="Prev" title="Inapoi">
				<goto target="account"/>
			</action>
			<action type="Exit" title="Acasa">
				<goto target="exit"/>
			</action>
		</actions>
	</screen>
</scenario>
