Untitled

mail@pastecode.io avatar
unknown
plain_text
a year ago
18 kB
2
Indexable
Never

              <table class="table-container">
	<row>
		<column width="25%" text=""/>
		<column width="25%" text=""/>
		<column width="15%" text=""/>
		<column width="35%" text=""/>
	</row>
	<row>
		<column colspan="1" class="">
			<field control="image" type="string" width="100px" height="50px" alt="logo" entity="mailTemplate" prop="logoUrl"/>
		</column>
		<column colspan="1" class="">
			<container class="content-head">
				<field control="label" type="string" entity="text" prop="FANTASIAS MIGUEL" class="h3"/>
			</container>
			<container class="m2">
				<field control="label" type="string" entity="text" prop="Uruguay 119-ABCDE Col. Centro, C.P. 06060" class="h3"/>
				<field control="label" type="string" entity="text" prop="Delegacion Cuauhtemoc, Ciudad de Mexico, Mexico" class="h3"/>
				<field control="label" type="string" entity="text" prop="Régimen Fiscal: 601" class="h3"/>
				<field control="label" type="string" entity="text" prop="RFC: FMI650208CG9" class="h3"/>
				<field control="label" type="string" entity="text" prop="TEL. 5522-8948" class="h3"/>
			</container>
			<container class="m2">
				<field control="label" type="string" prefix="Sucursal: " entity="store" prop="code" class="h3"/>
				<field control="label" type="string" prefix="Transacción: " entity="fiscalDocument" prop="internalId" class="h3"/>
				<field control="label" type="string" prefix="Cajero: " entity="fiscalDocument" prop="operator" class="h3"/>
			</container>
		</column>
		<column colspan="2" class="right">
			<container class="content-head">
				<field control="label" type="string" entity="text" prop="FACTURA No." class="h1"/>
				<field control="label" type="string" entity="fiscalDocument" prop="authorizationCode" class="h3"/>
			</container>
			<container class="content-head">
				<field control="label" type="string" entity="text" prop="No de Serie del Certificado del emisor:" class="h2"/>
				<field control="label" type="string" entity="fiscalDocument" prop="numberCertificate" class="h3"/>
			</container>
			<container class="content-head">
				<field control="label" type="string" entity="text" prop="No de Serie del Certificado del SAT:" class="h2"/>
				<field control="label" type="string" entity="fiscalDocument" prop="certificateTaxEntity" class="h3"/>
			</container>
			<container class="content-head">
				<field control="label" type="string" entity="text" prop="Fecha y hora de emisión:" class="h2"/>
				<field control="label" type="date" entity="fiscalDocument" prop="invoiceDate" class="h3"/>
			</container>
			<container class="content-head">
				<field control="label" type="string" entity="text" prop="Fecha y hora de certificación:" class="h2"/>
				<field control="label" type="date" entity="fiscalDocument" prop="authorizationDate" class="h3"/>
			</container>
			<container class="content-head">
				<field control="label" type="string" entity="text" prop="Tipo de comprobante:" class="h2"/>
				<field control="label" type="string" entity="invoiceType" prop="name" class="h3"/>
			</container>
		</column>
	</row>
	<row>
		<column width="5%" text=""/>
		<column width="45%" text=""/>
		<column width="15%" text=""/>
		<column width="35%" text=""/>
	</row>
	<row>
		<column colspan="2" class="left content">
			<table class="table-100">
				<row>
					<column width="15%" class="text content">
						<field control="label" type="string" entity="text" prop="Cliente" class="pTitle"/>
					</column>
					<column width="85%" class="content  content-client ">
						<field control="label" type="string" entity="customer" prop="businessName" class="pText"/>
					</column>
				</row>
				<row>
					<column width="15%" class="text content ">
						<field control="label" type="string" entity="text" prop="RFC" class="pTitle"/>
					</column>
					<column width="85%" class="content  content-client ">
						<field control="label" type="string" entity="customer" prop="identificationNumber" class="pText"/>
					</column>
				</row>
				<row>
					<column width="15%" class="text content">
						<field control="label" type="string" entity="text" prop="DIRECCION" class="inline pTitle"/>
					</column>
					<column width="85%" class="content content-client contentClientAddress  pText">
						<field control="label" type="string" entity="customer" prop="fiscalAddress" suffix=" - " class="inline"/>
						<field control="label" type="string" entity="customer" prop="city" suffix=" - " class="inline"/>
						<field control="label" type="string" entity="customer" prop="state" suffix=" - " class="inline"/>
						<field control="label" type="string" entity="customer" prop="postalCode" class="inline"/>
					</column>
				</row>
			</table>
		</column>
		<column colspan="2" class="left content">
			<table class="table-100">
				<row>
					<column width="40%" class="content">
						<field control="label" type="string" entity="text" prop="Serie" class="inline h2"/>
					</column>
					<column width="40%" class="left content content-client ">
						<field control="label" type="string" entity="fiscalDocument" prop="pointOfSale" class="h3"/>
					</column>
				</row>
				<row>
					<column width="40%" class="content">
						<field control="label" type="string" entity="text" prop="Folio" class="inline h2"/>
					</column>
					<column width="40%" class="content content-client ">
						<field control="label" type="string" entity="fiscalDocument" prop="invoiceNumber" class="h3"/>
					</column>
				</row>
				<row>
					<column width="40%" class="content">
						<field control="label" type="string" entity="text" prop="Moneda" class="inline h2"/>
					</column>
					<column width="40%" class="content content-client ">
						<field control="label" type="string" entity="fiscalDocument" prop="currency" class="h3"/>
					</column>
				</row>
				<row>
					<column width="40%" class="content">
						<field control="label" type="string" entity="text" prop="Tipo de cambio" class="inline h2"/>
					</column>
					<column width="40%" class="content content-client ">
						<field control="label" type="string" entity="fiscalDocument" prop="currencyChange" class="h3"/>
					</column>
				</row>
				<row>
					<column width="40%" class="content">
						<field control="label" type="string" entity="text" prop="Expedido en" class="inline h2"/>
					</column>
					<column width="40%" class="content content-client ">
						<field control="label" type="string" entity="store" prop="postalCode" class="h3"/>
					</column>
				</row>
			</table>
		</column>
	</row>
	<row>
		<column colspan="10">
			<table class="table-items content">
				<row itemsHeader="true" class="t-header">
					<column width="10%" class="">
						<field control="label" type="string" entity="text" prop="Articulo" class=" h2"/>
					</column>
					<column width="20%" class="">
						<field control="label" type="string" entity="text" prop="Descripción" class="h2"/>
					</column>
					<column width="10%" class="">
						<field control="label" type="string" entity="text" prop="Clasificación" class="h2"/>
					</column>
					<column width="5%" class="">
						<field control="label" type="string" entity="text" prop="Cod Uni" class="h2"/>
					</column>
					<column width="10%" class="">
						<field control="label" type="string" entity="text" prop="Unidad" class="h2"/>
					</column>
					<column width="5%" class="">
						<field control="label" type="string" entity="text" prop="Cant" class="h2"/>
					</column>
					<column width="10%" class="">
						<field control="label" type="string" entity="text" prop="Precio" class="h2"/>
					</column>
					<column width="10%" class="">
						<field control="label" type="string" entity="text" prop="Desc" class="h2"/>
					</column>
					<column width="10%" class="">
						<field control="label" type="string" entity="text" prop="Neto" class="h2"/>
					</column>
					<column width="10%" class="">
						<field control="label" type="string" entity="text" prop="Importe" class="h2"/>
					</column>
				</row>
				<repeater entity="fiscalDocument" prop="items" max="15">
					<row class="m1 content">
						<column width="10%" class="">
							<field control="label" type="string" entity="item" prop="sku" format="replace/./," class="pText"/>
						</column>
						<column width="20%" class="">
							<field control="label" type="string" entity="item" prop="name" class="inline" class="pText"/>
							<field control="label" type="string" entity="item" prop="itemInfo" class="inline" key="Serie" class="pText"/>
						</column>
						<column width="10%" class="">
							<field control="label" type="string" entity="item" prop="code" class="pText"/>
						</column>
						<column width="5%" class="">
							<field control="label" type="string" entity="item" prop="um" class="pText"/>
						</column>
						<column width="10%" class="">
							<field control="label" type="Number" entity="item" prop="qty" class="pText"/>
						</column>
						<column width="5%" class="">
							<field control="label" type="string" entity="item" prop="qty" format="replace/./," class="pText"/>
						</column>
						<column width="10%" class="">
							<field control="label" type="money" entity="item" prop="unitPrice" class="pText"/>
						</column>
						<column width="10%" class="">
							<field control="label" type="money" entity="item" prop="discount" class="pText"/>
						</column>
						<column width="10%" class="">
							<field control="label" type="number" entity="item" prop="unitPrice" class="pText"/>
						</column>
						<column width="10%" class="">
							<field control="label" type="money" entity="math" value="item.totalPrice - item.discount" class="pText"/>
						</column>
					</row>
					<row>
						<column colspan="6" class=""></column>
						<column class="h2">
							<field control="label" type="string" entity="text" prop="Impuestos"/>
						</column>
					</row>
					<row>
						<column colspan="7" class=""></column>
						<column colspan="2">
							<field control="label" type="string" entity="text" prop="Base" class="h2"/>
						</column>
						<column class="right">
							<field control="label" type="money" entity="math" value="item.totalPrice - item.discount" class="pText"/>
						</column>
					</row>
					<row>
						<column colspan="7" class=""></column>
						<column colspan="2">
							<field control="label" type="string" entity="text" prop="Impuesto" class="h2"/>
						</column>
						<column class="right">
							<field control="label" type="string" entity="text" prop="002 - IVA" format="negative" class="pText"/>
						</column>
					</row>
					<row>
						<column colspan="7" class=""></column>
						<column colspan="2">
							<field control="label" type="string" entity="text" prop="Tipo Factor" class="h2"/>
						</column>
						<column class="right">
							<field control="label" type="string" entity="text" prop="Tasa" format="negative" class="pText"/>
						</column>
					</row>
					<row>
						<column colspan="7" class=""></column>
						<column colspan="2">
							<field control="label" type="string" entity="text" prop="Tasa o Cuota" class="h2"/>
						</column>
						<column class="right">
							<field control="label" type="string" entity="item" prop="tax" format="negative" class="pText"/>
						</column>
					</row>
					<row>
						<column colspan="7" class=""></column>
						<column colspan="2">
							<field control="label" type="string" entity="text" prop="Importe" class="h2"/>
						</column>
						<column class="right">
							<field control="label" type="money" entity="item" prop="taxAmount" format="positive" class="pText"/>
						</column>
					</row>
				</repeater>
			</table>
		</column>
	</row>
	<row>
		<column colspan="10" class="total">
			<field control="label" type="string" entity="text" prop=""/>
		</column>
	</row>
	<row class="">
		<column colspan="10" class="mb">
			<table class="table-100">
				<row itemsHeader="true">
					<column class="content" width="30%">
						<field control="label" type="string" entity="text" prop="" class="fText mb"/>
						<field control="label" type="string" entity="fiscalDocument" prop="totalAmount" format="numberToLetters" class="pText"/>
						<field control="label" type="string" entity="fiscalDocument" prop="saleCondition" prefix="Método de pago:  " suffix=" - " class="inline fTitle mb"/>
						<field entity="masterData" master="paymentMethod" prop="name" control = "label" code="fiscalDocument.saleCondition" type="string" format="" class="inline" />
						<field entity="masterData" master="useCFDI" prop="name" control = "label" code="fiscalDocument.conceptCode" prefix="Uso: " type="string" format="" class="pText" />
				        <field control="label" type="string" entity="customer" prefix="Régimen Fiscal: " prop="taxCategory" class="pText"/>
						<row>
							<column colspan="2" class="fTitle mb">
								<field control="label" type="string" entity="text" prop="Medios de Pago"/>
							</column>
						</row>
						<repeater entity="fiscalDocument" prop="paymentMethods">
							<row>
								<column colspan="4">
									<field control="label" type="string" entity="paymentMethod" prop="code" suffix=" - " class="inline"/>
									<field control="label" type="string" entity="paymentMethod" prop="name" class="inline"/>
								</column>
							</row>
						</repeater>
					</column>
					<column class="content" width="20%"></column>
					<column class="" width="50%">
						<table class="table-100">
							<row>
								<column width="40%" class="" colspan=""></column>
								<column width="50%" class="" colspan="">
									<field control="label" type="string" entity="text" prop="IMPORTE" class="fTitle mb"/>
								</column>
								<column>
									<field control="label" type="money" entity="fiscalDocument" prop="subtotalAmount" format="" class="fText mb right"/>
								</column>
							</row>
							<row>
								<column width="40%" class="" colspan=""></column>
								<column width="50%" class="" colspan="">
									<field control="label" type="string" entity="text" prop="DESCUENTO" class="fTitle mb"/>
								</column>
								<column>
									<field control="label" type="money" entity="fiscalDocument" prop="discountAmount" format="negative" class="fText mb right"/>
								</column>
							</row>
							<row>
								<column width="40%" class="" colspan=""></column>
								<column width="50%" class="" colspan="">
									<field control="label" type="string" entity="text" prop="SUBTOTAL" class="fTitle mb"/>
								</column>
								<column>
									<field control="label" type="money" entity="fiscalDocument" prop="taxedAmount" class="fText mb right"/>
								</column>
							</row>
							<row>
								<column width="40%" class="" colspan="">
									<field control="label" type="string" entity="text" prop="Impuestos Trasladados" class="fTitle mb"/>
								</column>
								<column width="50%" class="" colspan=""></column>
								<column></column>
							</row>
							<row>
								<column width="40%" class="" colspan=""></column>
								<column width="50%" class="" colspan="">
									<field control="label" type="string" entity="text" prop="IVA TASA 16.00 %" class="fTitle mb"/>
								</column>
								<column>
									<field control="label" type="money" entity="fiscalDocument" prop="amountIVA" class="fText mb right"/>
								</column>
							</row>
							<row>
								<column width="40%" class="" colspan=""></column>
								<column width="50%" class="" colspan="">
									<field control="label" type="string" entity="text" prop="TOTAL" class="fTitle mb"/>
								</column>
								<column>
									<field control="label" type="money" entity="fiscalDocument" prop="totalAmount" class="fText mb right"/>
								</column>
							</row>
						</table>
					</column>
				</row>
			</table>
		</column>
	</row>
	<row>
		<column colspan="10" class="total">
			<field control="label" type="string" entity="text" prop=""/>
		</column>
	</row>
</table>
<table class="table-container-stamp">
	<row>
		<column width="100%" class="content">
			<field control="label" type="string" entity="text" prop="Sello digital del emisor:" class="pTitle"/>
			<field control="label" type="string" entity="fiscalDocument" prop="stampDigital" class="stamp"/>
		</column>
	</row>
	<row>
		<column width="100%" class="content">
			<field control="label" type="string" entity="text" prop="Sello digital del SAT:" class="pTitle"/>
			<field control="label" type="string" entity="fiscalDocument" prop="stampTaxEntity" class="stamp"/>
		</column>
	</row>
	<row>
		<column colspan="10" class="content">
			<table class="table-100 content">
				<row>
					<column width="20%" class="content qr">
						<field control="image" type="string" entity="qr" width="150px" height="150px" class="qr"/>
					</column>
					<column width="" class="content">
						<table class="table-5 content">
							<row>
								<column width="100%" class="content">
									<field control="label" type="string" entity="fiscalDocument" prop="certifiedProvider" prefix="RfcProvCertif:  " class="pTitle"/>
								</column>
							</row>
							<row>
								<column width="100%" class="content">
									<field control="label" type="string" entity="text" prop="Leyenda" class="pTitle"/>
								</column>
							</row>
							<row>
								<column width="100%" class="content">
									<field control="label" type="string" entity="text" prop="Cadena original:" class="pTitle"/>
									<field control="label" type="string" entity="fiscalDocument" prop="originalString" class="stamp"/>
								</column>
							</row>
							<row>
								<column width="100%" class="content m2">
									<field control="label" type="string" entity="text" prop="" class="pText" height="10px"/>
								</column>
							</row>
							<row>
								<column width="100%" class="content center">
									<field control="label" type="string" entity="text" prop="ESTE DOCUMENTO ES UNA REPRESENTACION IMPRESA DE UN CFDI" class="h2"/>
								</column>
							</row>
						</table>
					</column>
				</row>
			</table>
		</column>
	</row>
</table>