Untitled

mail@pastecode.io avatar
unknown
html
2 years ago
13 kB
4
Indexable
Never
<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="phone" class="company-header"/>
						<field control="label" type="string" entity="store" prop="identificationNumber" class="company-header"/>
						
					</column>
				</row>
			</table>
		</column>

		<column colspan="2" class="padleft-10">
			<container class="company-name inline">
				<field control="label" type="string" entity="text" prop="FACTURA No." class="inline"/>	
				<field control="label" type="string" entity="fiscalDocument" prop="authorizationCode" class="inline" format="left.5.0"/>
			</container>
			<field control="label" type="string" entity="company" prop="numberCertificate" prefix="Nro de Serie del certificado del emisor: " class="company-header"/>
            <field control="label" type="string" entity="fiscalDocument" prop="certificateTaxEntity" prefix="Nro de Serie del certificado del SAT: " class="company-header"/>
            <field control="label" type="date" entity="fiscalDocument" prop="invoiceDate" prefix="Fecha y hora de Emision: " class="company-header"/>
            <field control="label" type="date" entity="fiscalDocument" prop="authorizationDate" prefix="Fecha y hora de Certificacion: " class="company-header"/>
			<field control="label" type="date" entity="fiscalDocument" prop="invoiceType" 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="Serie:"/>
		</column>
		<column class="label">
			<field control="label" type="string" entity="fiscalDocument" prop="pointOfSale"/>
		</column>
	</row>
	<row>
		<column class="label">
			<field control="label" type="string" entity="text" prop="RFC:"/>
		</column>
		<column class="label inline">
			<field control="label" type="string" entity="customer" prop="identificationNumber"  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="Direccion:"/>
		</column>
		<column class="label">
			<field control="label" type="string" entity="customer" prop="fiscalAddress"/>
		</column>
		<column class="label">
			<field control="label" type="string" entity="text" prop="Documento:"/>
            <field control="label" type="string" entity="text" prop="Moneda:"/>
            <field control="label" type="string" entity="text" prop="Tipo de Cambio:"/>
            <field control="label" type="string" entity="text" prop="Expedido En:"/>
		</column>
		<column class="label">
			<field control="label" type="string" entity="fiscalDocument" prop="invoiceNumber"/>
            <field control="label" type="string" entity="fiscalDocument" prop="currency" />	
            <field control="label" type="string" entity="fiscalDocument" prop="currencyChange" />
            <field control="label" type="string" entity="store" prop="postalCode" />
	</row>
	<row>
		<column colspan="5" class="divider">
			<field control="label" type="string" entity="text" prop="Conceptos"/>
		</column>
	</row>
	<row>
		<column colspan="7">
			<table class="table-items">
				<row itemsHeader="true" class="grey">
					<column width="40%">
						<field control="label" type="string" entity="text" prop="Descripcion"/>
					</column>
					<column width="12%" class="right">
						<field control="label" type="string" entity="text" prop="Clasificación"/>
					</column>
					<column width="10%" class="right">
						<field control="label" type="string" entity="text" prop="Cod Uni "/>
					</column>
					<column width="8%" class="right">
						<field control="label" type="string" entity="text" prop="Cant"/>
					</column>
                    <column width="20%" class="right">
						<field control="label" type="string" entity="text" prop="Precio"/>
					</column>
                    <column width="10%" class="right">
						<field control="label" type="string" entity="text" prop="Desc"/>
					</column>
                    <column width="10%" class="right">
						<field control="label" type="string" entity="text" prop="Neto"/>
					</column>
				</row>
				<repeater entity="fiscalDocument" prop="items" max="15">
					<row>
						<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="code" format="replace/./,"/>
						</column>
						<column class="right">
							<field control="label" type="string" entity="item" prop="um"/>
						</column>
						<column class="right">
							<field control="label" type="Number" entity="item" prop="qty"/>
						</column>
                        <column class="right">
							<field control="label" type="money" entity="item" prop="unitPrice"/>
						</column>
                        <column class="right">
							<field control="label" type="number" entity="item" prop="discount"/>
						</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="impuestos"/>
		</column>
	</row>
	<row>
		<column colspan="4" class="right total">
			<field control="label" type="string" entity="text" prop="Base:" />
		</column>
		<column class="bold right total">
			<field control="label" type="money" entity="item" prop="unitPrice" />
		</column>
	</row>
	<row>
		<column colspan="4" class="right total">
			<field control="label" type="string" entity="text" prop="Impuesto:" />
		</column>
		<column class="bold right total">
			<field control="label" type="number" entity="item" prop="taxCode" />
		</column>
	</row>
    <row>
		<column colspan="4" class="right total">
			<field control="label" type="string" entity="text" prop="Tipo Factor:" />
		</column>
		<column class="bold right total">
			<field control="label" type="string" entity="item" prop="taxTypes" />
		</column>
	</row>
    <row>
		<column colspan="4" class="right total">
			<field control="label" type="string" entity="text" prop="Tasa o cuota:" />
		</column>
		<column class="bold right total">
			<field control="label" type="number" entity="item" prop="tax" />
		</column>
	</row>
    <row>
		<column colspan="4" class="right total">
			<field control="label" type="string" entity="text" prop="Importe:" />
		</column>
		<column class="bold right total">
			<field control="label" type="number" entity="item" prop="taxAmount" />
		</column>
	</row>

		<column colspan="5" class="divider">
			<field control="label" type="string" entity="text" prop=""/>
		</column>
	</row>
	<row>
		<column>
			<field control="label" type="string" entity="text" prop="Metodo de pago:" />
		</column>
		<column>
			<field control="label" type="string" entity="fiscalDocument" prop="saleCondition"  />
		</column>
		<column>
			<field control="label" type="string" entity="text" prop="Uso principal:" />
		</column>
		<column>
			<field control="label" type="string" entity="fiscalDocument" prop="conceptCode" />
		</column>
        <column>
			<field control="label" type="string" entity="text" prop="IMPORTE:" />
            <field control="label" type="string" entity="text" prop="DESCUENTO:" />
		</column>
        <column>
			<field control="label" type="number" entity="fiscalDocument" prop="totalAmount" />
            <field control="label" type="number" entity="fiscalDocument" prop="discountAmount" />
		</column>
	</row>
    <row>
        <column>
            <column colspan="5" class="right">
                <field control="label" type="string" entity="text" prop="Impuestos trasladados"/>
        </column> 
    </row>
    <row>
        <column>
            <field control="label" type="String" entity="text" prop="IVA TASA 16.00%:"  />
            <field control="label" type="string" entity="text" prop="TOTAL"/>
        </column> 
        <column> 
            <field control="label" type="number" entity="relatedTaxes" prop="amount"/>
            <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=""/>
		</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="label" type="string" entity="text" prop="Sello digital del CFDI:"/>  
        </column> 
    </row>
    <row>
        <column>
        <field control="label" type="string" entity="fiscalDocument" prop="Sello digital del CFDI:"/>
        </column>
    </row>
    <row>
        <column>
        <field control="label" type="string" entity="text" prop="Sello del SAT"/>
        </column>
    </row>
    <row>
        <column>
            
        <field control="label" type="string" entity="fiscalDocument" prop=""/>
            
        </column>
    </row>
        <row> 
		<column>
			<field control="image" type="string" entity="qr" width="120px" height="120px"/>
		</column>
		<column>
			<field control="label" type="string"  entity="text" prop="RfcProvCertif:"/>
            <field control="label" type="string"  entity="text" prop="leyenda"/>
            <field control="label" type="string"  entity="text" prop="Cadena Original"/>
            <field control="label" type="string"  entity="url" prop="Cadena Original"/>
		</column>
	</row>
    <row class= "row center" > 
        <column>
        <field control="label" type="string" entity="text" prop="ESTE DOCUMENTO ES UNA REPRESENTACION IMPRESA DE UN CFDI"/>
    </column>
    </row>
</table>