Untitled

 avatar
unknown
html
2 years ago
12 kB
3
Indexable
<table class="table-container">
	<row>
		<column width="25%" text=""/>
		<column width="25%" text=""/>
		<column width="10%" text=""/>
		<column width="20%" text=""/>
		<column width="20%" text=""/>
	</row>
	<row>
		<column colspan="2">
			<table class="table-100">
				<row>
					<column width="40%">
						<field control="image" type="string" width="100px" height="50px" alt="logo" entity="mailTemplate" prop="logoUrl"/>
					</column>
					<column width="60%">
						<field control="label" type="string" entity="channel" prop="name" class="company-name"/>
						<field control="label" type="string" entity="store" prop="address" class="company-header"/>
						<field control="label" type="string" entity="store" prop="city" class="company-header"/>
						<field control="label" type="string" entity="store" prop="province" class="company-header"/>
						<field control="label" type="string" entity="store" prop="country" class="company-header"/>
						<field control="label" type="string" entity="store" prop="phone" class="company-header"/>
						<field control="label" type="string" entity="store" prop="identificationNumber" class="company-header"/>
						
					</column>
				</row>
			</table>
		</column>
		<column>
			<container class="invoice-type">
				<field control="label" type="string" entity="invoiceType" prop="letter" class="letter"/>
				<field control="label" type="string" class="invoice-type-code" entity="invoiceType" prop="code" prefix="COD: " format="left.3.0"/>
			</container>
		</column>
		<column colspan="2" class="padleft-10">
			<container class="company-name inline">
				<field control="label" type="string" entity="invoiceType" prop="name" class="inline"/>	
				<field control="label" type="string" entity="fiscalDocument" prop="pointOfSale" prefix=" Nro " suffix =" - " class="inline" format="left.5.0"/>
				<field control="label" type="string" entity="fiscalDocument" prop="invoiceNumber" class="inline" format="left.8.0"/>
			</container>
			<field control="label" type="date" entity="fiscalDocument" prop="invoiceDate" prefix="Fecha: " 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: " class="company-header"/>
			<field control="label" type="date" entity="company" prop="activitiesStartDate" prefix="Inicio actividades: " class="company-header"/>
		</column>
	</row>
	<row>
		<column colspan="5" class="divider">
			<field control="label" type="string" entity="text" prop="Informacion del cliente"/>
		</column>
	</row>
	<row>
		<column class="label">
			<field control="label" type="string" entity="text" prop="Cliente:"/>
		</column>
		<column class="label">
			<field control="label" type="string" entity="customer" prop="businessName"/>
		</column>
		<column class="label">
			<field control="label" type="string" entity="text" prop="C.Venta:"/>
		</column>
		<column class="label">
			<field control="label" type="string" entity="text" prop="CONTADO"/>
		</column>
	</row>
	<row>
		<column class="label">
			<field control="label" type="string" entity="text" prop="Domicilio:"/>
		</column>
		<column class="label 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"/>
		</column>
		<column class="label">
			<field control="label" type="string" entity="documentType" prop="name"/>
		</column>
		<column class="label">
			<field control="label" type="string" entity="customer" prop="identificationNumber"/>
		</column>
	</row>
	<row>
		<column class="label">
			<field control="label" type="string" entity="text" prop="Categoria impositiva:"/>
		</column>
		<column class="label">
			<field control="label" type="string" entity="taxCategory" prop="name"/>
		</column>
		<column class="label">
			<field control="label" type="string" entity="text" prop="Email:"/>
		</column>
		<column class="label">
			<field control="label" type="string" entity="customer" prop="personalEmail"/>	
		</column>
	</row>
	<row>
		<column class="label">
			<field control="label" type="string" entity="text" prop="Contacto:"/>
		</column>
		<column class="label" colspan="4">
			<field control="label" type="string" entity="customer" prop="contact" />
		</column>
	</row>
	<row>
		<column colspan="5" class="divider">
			<field control="label" type="string" entity="text" prop="Conceptos"/>
		</column>
	</row>
	<row>
		<column colspan="5">
			<table class="table-items">
				<row itemsHeader="true" class="grey">
					<column width="10%" class="center">
						<field control="label" type="string" entity="text" prop="#"/>
					</column>
					<column width="40%">
						<field control="label" type="string" entity="text" prop="Producto"/>
					</column>
					<column width="10%" class="right">
						<field control="label" type="string" entity="text" prop="Cant."/>
					</column>
					<column width="10%" class="right">
						<field control="label" type="string" entity="text" prop="$ Unit."/>
					</column>
					<column width="10%" class="right">
						<field control="label" type="string" entity="text" prop="% Iva"/>
					</column> 
					<column width="10%" class="right">
						<field control="label" type="string" entity="text" prop="Total"/>
					</column>
				</row>
				<repeater entity="fiscalDocument" prop="items" max="15">
					<row>
						<column class="center">
							<field control="label" type="string" entity="item" prop="sequenceNumber"/>
						</column>
						<column class="inline">
							<field control="label" type="string" entity="item" prop="name" class="inline"/>
							<field control="label" type="string" entity="item" prop="itemInfo" class="inline" key="Serie"/>
						</column>
						<column class="right">
							<field control="label" type="string" entity="item" prop="qty" format="replace/./,"/>
						</column>
						<column class="right">
							<field control="label" type="money" entity="item" prop="unitPrice"/>
						</column>
						<column class="right">
							<field control="label" type="money" entity="item" prop="tax"/>
						</column>
						<column class="right">
							<field control="label" type="money" entity="item" prop="totalPrice"/>
						</column>
					</row>
					<repeater entity="fiscalDocument" prop="items.promotions">
						<row>
							<column colspan="1">
							</column>
							<column colspan="4" class="right">
								<field control="label" type="string" entity="promotion" prop="name"/>
							</column>
							<column class="right">
								<field control="label" type="money" entity="promotion" prop="amount" format="negative"/>
							</column>
						</row>
					</repeater>
					<row>
						<column colspan="6" class="total"> 
							<field control="line" type="string" entity="text" prop="-"/>
						</column>
					</row>
				</repeater>
			</table>
		</column>
	</row>
	<row>
		<column colspan="5" class="divider">
			<field control="label" type="string" entity="text" prop="Totales"/>
		</column>
	</row>
	<row>
		<column colspan="4" class="right total">
			<field control="label" type="string" entity="text" prop="Sub total:" />
		</column>
		<column class="bold right total">
			<field control="label" type="money" entity="fiscalDocument" prop="subTotalAmount" />
		</column>
	</row>
	<row>
		<column colspan="4" class="right total">
			<field control="label" type="string" entity="text" prop="Descuentos:" />
		</column>
		<column class="bold right total">
			<field control="label" type="money" entity="fiscalDocument" prop="discountAmount" format="negative" />
		</column>
	</row>
	<repeater entity="fiscalDocument" prop="relatedTaxes">
		<row>
			<column colspan="4" class="right total">
				<field control="label" type="string" entity="relatedTax" prop="name" />
			</column>
			<column class="bold right total">
				<field control="label" type="money" entity="relatedTax" prop="amount" />
			</column>
		</row>
	</repeater>
	<repeater entity="fiscalDocument" prop="relatedOtherTaxes">
		<row>
			<column colspan="4" class="right total">
				<field control="label" type="string" entity="relatedOtherTax" prop="name" class="inline" />
				<field control="label" type="number" entity="relatedOtherTax" prop="aliquot" class="inline" prefix=" (" suffix=" %)" />
				<field control="label" type="money" entity="relatedOtherTax" prop="baseAmount"  class="inline" prefix=" [" suffix="] " />
			</column>
			<column class="bold right total">
				<field control="label" type="money" entity="relatedOtherTax" prop="amount" />
			</column>
		</row>
	</repeater>
	<row>
		<column colspan="4" class="right total">
			<field control="label" type="string" entity="text" prop="Total:" />
		</column>
		<column class="bold right total">
			<field control="label" type="money" entity="fiscalDocument" prop="totalAmount" />
		</column>
	</row>
	<row>
		<column colspan="5" class="divider">
			<field control="label" type="string" entity="text" prop="Informacion adicional"/>
		</column>
	</row>
	<row>
		<column>
			<field control="label" type="string" entity="text" prop="Operador:" />
		</column>
		<column>
			<field control="label" type="string" entity="fiscalDocument" prop="documentInfo" key="OPERADOR" />
		</column>
		<column>
			<field control="label" type="string" entity="text" prop="Cant Productos:" />
		</column>
		<column>
			<field control="label" type="string" entity="fiscalDocument" prop="documentInfo" key="CANTIDAD DE ARTÍCULOS" />
		</column>
	</row>
	<row>
		<column colspan="5" class="divider">
			<field control="label" type="string" entity="text" prop="Promociones Aplicadas"/>
		</column>
	</row>
	<row>
		<column colspan="5">
			<field control="table" type="string" entity="fiscalDocument" prop="discountSummary"/>
		</column>
	</row>
	<row>
		<column colspan="5" class="divider">
			<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="name"/>
			</column>
			<column class="right">
				<field control="label" type="money" entity="paymentMethod" prop="amount"/>
			</column>
		</row>
		<row>
			<column colspan="2">
				<field control="label" type="string" entity="text" prop="Datos Tarjeta:"/>
			</column>
			<column colspan="2">
				<field control="label" type="string" entity="paymentMethod" prop="paymentMethodInfo" key="DatosTC"/>	
			</column>
		</row>
	</repeater>
	<row>
		<column colspan="5" class="divider">
			<field control="label" type="string" entity="text" prop="Informacion del comprobante"/>
		</column>
	</row>
	<row>
		<column>
			<field control="image" type="string" entity="qr" width="120px" height="120px"/>
		</column>
		<column>
			<field control="image" type="string" width="90px" height="50px" alt="logo" entity="text" prop="logoafip.png"/>
		</column>
		<column>
			<field control="label" type="string" entity="fiscalDocument" prop="authorizationType" suffix=" : "/>
			<field control="label" type="string" entity="fiscalDocument" prop="authorizationCode"/>
		</column>
		<column colspan="2">
			<field control="label" type="string" entity="text" prop="Vencimiento" suffix=" : "/>
			<field control="label" type="date" entity="fiscalDocument" prop="authorizationCodeDueDate"/>
		</column>
	</row>
</table>


                
Editor is loading...