Untitled

mail@pastecode.io avatar
unknown
plain_text
a year ago
13 kB
2
Indexable
Never
                      <table class="container">
	<row>
		<column colspan="7" class="center">
			<container class="h1">
				<field control="image" type="string" alt="logo" entity="mailTemplate" prop="logoUrl" width="200"/>
				<field control="label" type="string" entity="text" prop="Gracias por tu compra...!"/>
			</container>
		</column>
	</row>
	<row>
		<field control="button" label="Descargar PDF" download="pdf"/> | 
                <field control="button" label="Descargar XML" download="xml"/>
	</row>
	<row>
		<column colspan="7" class="center-bottom-line">
			<field control="label" type="string" entity="text" class="center" prop="DETALLE DEL PEDIDO"/>
		</column>
	</row>
	<row>
		<column colspan="5" >
			<table class="table-full">
				<row class="font">
					<column width="35%" class="divider left">
						<field control="label" type="string" entity="text" prop="DESCRIPCION"/>
					</column>
					<column width="15%" class="divider right">
						<field control="label" type="string" entity="text" prop="CANT."/>
					</column>
					<column width="25%" class="divider right">
						<field control="label" type="string" entity="text" prop="PRECIO UNIT."/>
					</column>
					<column width="15%" class="divider right">
						<field control="label" type="string" entity="text" prop="TOTAL"/>
					</column>
				</row>
				<repeater entity="fiscalDocument" prop="items" max="20" header="itemsHeader">
					<row class="font">
						<column class="table-row">
							<field control="label" type="string" entity="item" prop="name"   />
							<field control="label" type="string" entity="item" prop="sku" class="inline" />
							<field control="label" type="number" entity="item" prop="tax" prefix="(" suffix =")" class="inline" />
						</column>
						<column class="table-row">
							<field control="label" type="string" entity="item" prop="qty" format="replace/./," class="right"/>
						</column>
						<column class="table-row">
							<field control="label" type="money" entity="item" prop="unitPrice" class="right"/>
						</column>
						<column class="table-row">
							<field control="label" type="money" entity="item" prop="totalPrice" class="right" />
						</column>
					</row>
					<repeater entity="fiscalDocument" prop="items.promotions">
						<row class="font">
							<column colspan="3" class="table-row right">
								<field control="label" type="string" entity="promotion" prop="name" />
							</column>
							<column class="table-row right">
								<field control="label" type="money" entity="promotion" prop="amount" format="negative" />
							</column>
						</row>
					</repeater>
					<row >
						<column colspan="4" class="table-line">
							<field control="line" type="string" entity="text" prop=""/>
						</column>
					</row>
				</repeater>
			</table>
		</column>
	</row>
	<row class="font">
		<column colspan="2" class="total-import left">
			<field control="label" type="string" entity="text" prop="SUBTOTAL SIN DESCUENTOS" />
		</column>
		<column colspan="2" class="total-import right">
			<field control="label" type="money" entity="fiscalDocument" prop="subTotalAmount" />
		</column>
	</row>
	<row>
		<column colspan="7" class="total">
			<field control="line" type="string" entity="text" prop=""/>
		</column>
	</row>
	<row>
		<column colspan="5">
			<table class="table-full">
				<row class="font">
					<column width="85%" class="left title">
						<field control="label" type="string" entity="text" prop="DESCUENTOS APLICADOS"/>
					</column>
					<column width="15%" class="left title">
						<field control="label" type="string" entity="text" prop=""/>
					</column>
				</row>
				<repeater entity="fiscalDocument" prop="items">
					<repeater entity="fiscalDocument" prop="items.promotions">
						<row class="font">
							<column width="85%" class="left">
								<field control="label" type="string" entity="promotion" prop="name"/>
							</column>
							<column width="15%" class="right">
								<field control="label" type="money" entity="promotion" prop="amount" format="negative"/>
							</column>
						</row>
					</repeater>
				</repeater>
				<row class="font">
					<column width="85%" class="right title">
						<field control="label" type="string" entity="text" prop="AHORRO TOTAL"/>
					</column>
					<column width="15%" class="right title">
						<field control="label" type="money" entity="fiscalDocument" prop="discountAmount" format="negative" />
					</column>
					<row>
						<column colspan="7" class="total">
							<field control="line" type="string" entity="text" prop=""/>
						</column>
					</row>
				</row>

			</table>
		</column>
	</row>
	<row>
		<column colspan="5">
			<table class="table-full">
				<row class="font">
					<column width="80%" class="left title">
						<field control="label" type="string" entity="text" prop="IMPUESTOS"/>
					</column>
					<column width="20%" class="left title">
						<field control="label" type="string" entity="text" prop=""/>
					</column>
				</row>
				<row class="font">
					<column width="80%" class="left">
						<field control="label" type="string" entity="text" prop=""/>
					</column>
					<column width="20%" class="right">
						<field control="label" type="string" entity="text" prop=""/>
					</column>
				</row>
				<repeater entity="fiscalDocument" prop="relatedTaxes">
					<row class="font">
						<column width="80%" class="left">
							<field control="label" type="string" entity="relatedTax" prop="name" prefix="Neto gravado" />
						</column>
						<column width="20%" class="right">
							<field control="label" type="money" entity="relatedTax" prop="baseAmount" />
						</column>
					</row>
					<row class="font">
						<column width="80%" class="left">
							<field control="label" type="string" entity="relatedTax" prop="name" />
						</column>
						<column width="20%" class="right">
							<field control="label" type="money" entity="relatedTax" prop="amount" />
						</column>
					</row>
				</repeater>
				<repeater entity="fiscalDocument" prop="relatedOtherTaxes">
					<row class="font">
						<column width="80%" class="left inline">
							<container >
								<field control="label" type="string" entity="relatedOtherTax" prop="name" class="inline" />
								<field control="label" type="string" entity="relatedOtherTax" prop="aliquot" prefix="(" suffix =")" class="inline" />
								<field control="label" type="money" entity="relatedOtherTax" prop="baseAmount" prefix="[" suffix ="]" class="inline" />
							</container>
						</column>
						<column width="20%" class="right">
							<field control="label" type="money" entity="relatedOtherTax" prop="amount" />
						</column>
					</row>
				</repeater>
				<row>
					<column width="80%" class="total-import left">
						<field control="label" type="string" entity="text" prop="TOTAL" />
					</column>
					<column width="20%" class="total-import right">
						<field control="label" type="money" entity="fiscalDocument" prop="totalAmount" />
					</column>
				</row>
				<row>
					<column colspan="7" class="total">
						<field control="line" type="string" entity="text" prop=""/>
					</column>
				</row>
			</table>
		</column>
	</row>
	<row class="font">
		<column colspan="5" class="bold title">
			<field control="label" type="string" entity="text" prop="TU FORMA DE PAGO"/>
		</column>
	</row>
	<row>
		<column colspan="5">
			<table class="table-full">
				<repeater entity="fiscalDocument" prop="paymentMethods">
					<row class="font">
						<column width="70%">
							<field control="label" type="string" entity="paymentMethod" prop="name"/>
						</column>
						<column class="right" width="30%">
							<field control="label" type="money" entity="paymentMethod" prop="amount"/>
						</column>
					</row>
					<row class="font">
						<column class="left">
							<field control="label" type="string" entity="paymentMethod" prop="paymentMethodInfo" key="add1"/>
						</column>
					</row>
					<row class="font">
						<column class="left">
							<field control="label" type="string" entity="paymentMethod" prop="paymentMethodInfo" key="add2"/>
						</column>
					</row>
					<row class="font">
						<column class="left">
							<field control="label" type="string" entity="paymentMethod" prop="paymentMethodInfo" key="add3"/>
						</column>
					</row>
				</repeater>
				<row>
					<column colspan="7" class="total">
						<field control="line" type="string" entity="text" prop=""/>
					</column>
				</row>
			</table>
		</column>
	</row>
	<row class="font">
		<column  class="bold title">
			<field control="label" type="string" entity="text" prop="SOBRE TI..."/>
		</column>
		<column class="left">
			<field control="label" type="string" entity="customer" prop="businessName" class=""/>
			<field control="label" type="string" entity="customer" prefix="CUIT:" prop="identificationNumber" />
			<field control="label" type="string" entity="taxCategory" prop="name" />
			<container class="inline">
				<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"/>
			</container>
			<field control="label" type="string" entity="customer" prop="personalEmail" />
			<container class="inline">
				<field control="label" type="string" entity="customer" prefix="IIBB:" prop="IBIdentificationNumber" suffix=" / " class="inline"/>
				<field control="label" type="string" entity="customer" prop="IBCategory" class="inline"/>
			</container>
			<field control="label" type="string" entity="customer" prefix="Código de cliente:" prop="code" />
		</column>
	</row>
	<row>
		<column colspan="7" class="total">
			<field control="line" type="string" entity="text" prop=""/>
		</column>
	</row>
	<row class="font">
		<column class="bold title">
			<field control="label" type="string" entity="text" prop="SOBRE TU COMPROBANTE..."/>
		</column>
		<column class="left">
			<container class="inline">
				<field control="label" type="string" entity="invoiceType" prop="name" class="inline"/>
				<field control="label" type="string" class="invoice-type-code" entity="invoiceType" prefix=" (" prop="code" suffix=" )" format=""/>
			</container>
			<container >
				<field control="label" type="string" entity="fiscalDocument" prop="authorizationType" class="inline" suffix=" : "/>
				<field control="label" type="string" entity="fiscalDocument" prop="authorizationCode" class="inline"/>
			</container>
			<field control="label" type="date" entity="fiscalDocument" prop="authorizationCodeDueDate" prefix="Vencimiento:" />
			<field control="label" type="string" entity="fiscalDocument" prefix="Punto de Venta:" prop="pointOfSale" format=""/>
			<field control="label" type="string" entity="fiscalDocument" prefix="Comp. Nro.:" prop="invoiceNumber" format=""/>
			<field control="label" type="date" entity="fiscalDocument" prefix="Emisión:" prop="invoiceDate" />
		</column>
	</row>
	<row>
		<column colspan="7" class="total">
			<field control="line" type="string" entity="text" prop=""/>
		</column>
	</row>
	<row class="font">
		<column class="bold title">
			<field control="label" type="string" entity="text" prop="SOBRE NOSOTROS..."/>
		</column>
		<column class="left">
			<field control="label" type="string" entity="store" prop="name" class="company-name"/>
			<field control="label" type="string" entity="company" prop="name" class="company-name"/>
			<field control="label" type="string" entity="store" prop="address" prefix="Dom.Com." class="company-header"/>
			<field control="label" type="string" entity="company" prop="address" prefix="Dom.Legal." class="company-header"/>
			<field control="label" type="string" entity="company" prop="identificationNumber" prefix="CUIT: " class="company-header"/>
			<field control="label" type="string" entity="company" prop="iibbNumber" prefix="IIBB CM: " class="company-header"/>
			<field control="label" type="string" entity="text" prop="IVA RESPONSABLE INSCRIPTO" class="company-header"/>
			<field control="label" type="date" entity="company" prop="activitiesStartDate" prefix="Inicio actividades: " class="company-header"/>
			<field control="label" type="string" entity="store" prop="stablishmentNumber" prefix="Establecimiento Nro.: " class="company-header"/>
			<field control="label" type="string" entity="company" prop="iibbPerceptionAgentNumber" prefix="Nro Agente Percepción IIBB: " class="company-header"/>
		</column>
	</row>
</table>