Files
MBS/PROYECTO/bin/vefactura_1.4rp
T

208 lines
24 KiB
XML

<?xml version="1.0" encoding="UTF-8"?>
<report:Report xmlns:rtl="http://www.4js.com/2004/RTL" xmlns:report="http://www.4js.com/2007/REPORT" xmlns="http://www.4js.com/2004/PXML" gstVersion="31408" version="6.00">
<report:Settings RWPageWidth="a4width" RWPageLength="a4length" RWLeftMargin="0.5cm" RWTopMargin="0.5cm" RWRightMargin="0.5cm" RWBottomMargin="0.5cm">
<report:FormatList>
<report:Format-PDF/>
<report:Format-image/>
<report:Format-SVG/>
</report:FormatList>
</report:Settings>
<report:Data RWDataLocation="../vedir/vefactura.rdd" RWFglReportName="imp_factura"/>
<report:Conflicts/>
<rtl:stylesheet>
<PXML>
<rtl:match name="Report" nameConstraint="Report">
<MINIPAGE name="MiniPage1" width="max" length="min" fontName="Arial">
<LAYOUTNODE name="Layout Node7" width="min" length="min" swapX="true" port="firstPageHeader">
<MINIPAGE name="StripeLayouter11" width="min" layoutDirection="leftToRight">
<LAYOUTNODE name="Layout Node8" y=".5cm" width="4cm" length="min" bgColor="#c0c0c0" swapX="true" floatingBehavior="enclosed"/>
<IMAGEBOX name="ImageBox1" y="14.2264" width="4cm" length="3cm" floatingBehavior="enclosed" url="{{&quot;file:///C:/Users/jsoto/Documents/PROYECTOS/BDL320/MARMOTECH/PROYECTO/bin/IMAGENES/Logo_DCM.PNG&quot;}}" intendedResolution="120"/>
<LAYOUTNODE name="Layout Node9" y="max-29.9908" width="min" length="min" anchorY="1" fontSize="12" floatingBehavior="enclosed">
<rtl:input-variable name="p_companias.nombre" type="FGLString" expectedLocation="expectedAhead"/>
<WORDBOX name="WordBox9" alignment="near" fontBold="true" baselineType="leftleft" text="{{p_companias.nombre.trim()}}"/>
<rtl:input-variable name="p_companias.direccion" type="FGLString" expectedLocation="expectedAhead"/>
<WORDBOX name="WordBox10" alignment="near" baselineType="leftleft" text="{{p_companias.direccion}}"/>
<rtl:input-variable name="p_companias.rnc" type="FGLString" expectedLocation="expectedAhead"/>
<WORDBOX name="WordBox11" alignment="near" baselineType="leftleft" text="{{&quot;RNC:&quot;+p_companias.rnc}}"/>
<LAYOUTNODE name="ourAdress" x="0" width="min" length="min" anchorX="0" layoutDirection="leftToRight" floatingBehavior="enclosed">
<LAYOUTNODE name="Layout Node11" width="min" length="min">
<WORDBOX name="WordBox12" alignment="baseline" baselineType="leftleft" text="Telefono:"/>
<WORDBOX name="WordBox13" alignment="baseline" baselineType="leftleft" text="FAX:"/>
<WORDBOX name="WordBox14" alignment="baseline" baselineType="leftleft" text="URL:"/>
</LAYOUTNODE>
<LAYOUTNODE name="Layout Node12" width="min" length="min">
<rtl:input-variable name="p_companias.telefono" type="FGLString" expectedLocation="expectedAhead"/>
<WORDBOX name="WordBox15" alignment="baseline" baselineType="leftleft" text="{{p_companias.telefono}}"/>
<rtl:input-variable name="p_companias.fax" type="FGLString" expectedLocation="expectedAhead"/>
<WORDBOX name="WordBox16" alignment="baseline" baselineType="leftleft" text="{{p_companias.fax}}"/>
<WORDBOX name="WordBox17" alignment="baseline" baselineType="leftleft" text="http://"/>
</LAYOUTNODE>
</LAYOUTNODE>
</LAYOUTNODE>
</MINIPAGE>
<MINIPAGE name="StripeLayouter12" width=".5cm" layoutDirection="leftToRight"/>
<MINIPAGE name="StripeLayouter13" width="min" layoutDirection="leftToRight">
<LAYOUTNODE name="customerAddress" x="0cm" y="max-1cm" width="min" length="min" anchorY="1" bgColor="#ccffff" layoutDirection="leftToRight" floatingBehavior="enclosed">
<LAYOUTNODE name="Layout Node14" width=".2cm" length="min" swapX="true"/>
<LAYOUTNODE name="Layout Node15" width="min" length="min" alignment="near">
<LAYOUTNODE name="Layout Node16" width="0.2cm" length="1" layoutDirection="leftToRight"/>
<LAYOUTNODE name="Layout Node17" width="min" length="min" color="#cc0000" fontSize="10" fontItalic="true" layoutDirection="leftToRight">
<WORDBOX name="WordBox18" alignment="baseline" baselineType="leftleft" text="Codigo Cliente: "/>
<rtl:input-variable name="x.tipo_cliente" type="FGLNumeric" expectedLocation="expectedAhead"/>
<rtl:input-variable name="x.sec_cliente" type="FGLNumeric" expectedLocation="expectedAhead"/>
<WORDBOX name="WordBox19" alignment="near" baselineType="leftleft" text="{{x.tipo_cliente.format(&quot;&amp;&amp;&quot;)+&quot;-&quot;+x.sec_cliente.format(&quot;&amp;&amp;&amp;&amp;&amp;&amp;&quot;)}}"/>
</LAYOUTNODE>
<LAYOUTNODE name="Layout Node18" width="0.2cm" length="min" layoutDirection="leftToRight"/>
<LAYOUTNODE name="Layout Node19" width="min" length="min" layoutDirection="leftToRight">
<rtl:input-variable name="x.nombre" type="FGLString" expectedLocation="expectedAhead"/>
<WORDBOX name="WordBox20" alignment="baseline" baselineType="leftleft" text="{{x.nombre.trim()}}"/>
<WORDBOX name="WordBox21" alignment="baseline" baselineType="leftleft" text=" "/>
</LAYOUTNODE>
<rtl:input-variable name="x.direccion" type="FGLString" expectedLocation="expectedAhead"/>
<WORDBOX name="WordBox23" alignment="near" baselineType="leftleft" text="{{x.direccion.trim()}}"/>
<rtl:input-variable name="celular" type="FGLString" expectedLocation="expectedAhead"/>
<WORDBOX name="WordBox24" alignment="near" baselineType="leftleft" text="{{&quot;Celular: &quot;+celular}}"/>
<rtl:input-variable name="telefono" type="FGLString" expectedLocation="expectedAhead"/>
<WORDBOX name="WordBox78_1" width="2cm" alignment="baseline" floatingBehavior="enclosed" text="{{&quot;Telefono: &quot;+telefono.trim()}}"/>
<LAYOUTNODE name="Layout Node20" width="min" length="min" layoutDirection="leftToRight">
<rtl:input-variable name="x.nombre_vend" type="FGLString" expectedLocation="expectedAhead"/>
<WORDBOX name="WordBox25" alignment="baseline" baselineType="leftleft" text="{{&quot;Vendedor: &quot;+x.nombre_vend.trim()}}"/>
</LAYOUTNODE>
<LAYOUTNODE name="Layout Node21" width="0.2cm" length="min" alignment="near" layoutDirection="leftToRight"/>
<LAYOUTNODE name="Layout Node33" width="min" length="min">
<rtl:input-variable name="rnc" type="FGLString" expectedLocation="expectedAhead"/>
<WORDBOX name="WordBox64" alignment="baseline" fontSize="10" baselineType="leftleft" text="{{&quot;RNC o CEDULA: &quot;+rnc.trim()}}"/>
</LAYOUTNODE>
</LAYOUTNODE>
<LAYOUTNODE name="Layout Node22" width=".2cm" length="min" swapX="true"/>
</LAYOUTNODE>
</MINIPAGE>
<MINIPAGE name="StripeLayouter14" width="max" length="min" alignment="center" layoutDirection="topToBottom">
<rtl:input-variable name="ch_ncf" type="FGLString" expectedLocation="expectedAhead"/>
<WORDBOX name="WordBox73" alignment="baseline" fontSize="12" baselineType="leftleft" text="{{ch_ncf.trim()}}"/>
<rtl:input-variable name="descripcion_ncf" type="FGLString" expectedLocation="expectedAhead"/>
<WORDBOX name="WordBox31" alignment="baseline" fontSize="12" baselineType="leftleft" text="{{descripcion_ncf.trim()}}"/>
</MINIPAGE>
<MINIPAGE name="StripeLayouter15" width="0.5cm" layoutDirection="leftToRight">
<WORDBOX name="WordBox74" alignment="baseline" baselineType="leftleft" text="CONDICIONES:"/>
<WORDBOX name="WordBox75" width="1cm" alignment="baseline" baselineType="leftleft" text=""/>
<rtl:input-variable name="descrip_cond" type="FGLString" expectedLocation="expectedAhead"/>
<WORDBOX name="WordBox76" width="3cm" alignment="baseline" baselineType="leftleft" text="{{descrip_cond.trim()}}"/>
</MINIPAGE>
<MINIPAGE name="StripeLayouter16" width="min" length="max" fontSize="8" layoutDirection="leftToRight">
<WORDBOX name="WordBox32" alignment="baseline" baselineType="leftleft" text="Fecha Factura: "/>
<rtl:input-variable name="x.fecha_factura" type="FGLString" expectedLocation="expectedAhead"/>
<WORDBOX name="WordBox33" alignment="baseline" baselineType="leftleft" text="{{x.fecha_factura.value}}"/>
<LAYOUTNODE name="Layout Node23" y="max-5cm" width="min" length="min" anchorY="1" layoutDirection="leftToRight" floatingBehavior="enclosed">
<WORDBOX name="WordBox34" alignment="baseline" fontSize="12" fontBold="true" baselineType="leftleft" text="Factura No.: "/>
<rtl:input-variable name="x.factura" type="FGLNumeric" expectedLocation="expectedAhead"/>
<WORDBOX name="WordBox35" alignment="baseline" fontSize="12" fontBold="true" baselineType="leftleft" text="{{x.factura.format(&quot;&amp;&amp;&amp;&amp;&amp;&amp;&amp;&quot;)}}"/>
<WORDBOX name="WordBox66" width=".5cm" alignment="baseline" baselineType="leftleft" text=""/>
</LAYOUTNODE>
<WORDBOX name="WordBox66_1" width=".5cm" alignment="baseline" baselineType="leftleft"/>
<LAYOUTNODE name="Layout Node24" y="max-1cm" width="min" length="min" anchorY="1" layoutDirection="leftToRight" floatingBehavior="enclosed">
<WORDBOX name="WordBox36" alignment="baseline" baselineType="leftleft" text=" Cotizacion: "/>
<rtl:input-variable name="x.conduce" type="FGLNumeric" expectedLocation="expectedAhead"/>
<WORDBOX name="WordBox37" alignment="baseline" baselineType="leftleft" text="{{x.conduce.format(&quot;&amp;&amp;&amp;&amp;&amp;&amp;&quot;)}}"/>
</LAYOUTNODE>
<rtl:input-variable name="x.prima_us" type="FGLNumeric" expectedLocation="expectedAhead"/>
<WORDBOX name="WordBox65_1" width="4cm" alignment="baseline" baselineType="rightright" textAlignment="right" text="{{&quot;tasa&quot;+x.prima_us.format(&quot;###.###&quot;)}}"/>
</MINIPAGE>
<MINIPAGE name="StripeLayouter17" width=".2cm" layoutDirection="leftToRight"/>
<MINIPAGE name="StripeLayouter18" width=".1cm" bgColor="#cc" layoutDirection="leftToRight"/>
<MINIPAGE name="StripeLayouter19" width="min" length="max" bgColor="#cccccc" fontBold="true" layoutDirection="leftToRight">
<LAYOUTNODE name="Layout Node25" width="min" length=".3cm" layoutDirection="leftToRight"/>
<WORDBOX name="WordBox39" alignment="baseline" baselineType="leftleft" textAlignment="right" text="Codigo"/>
<WORDBOX name="WordBox58" width="45" alignment="baseline" baselineType="leftleft" text=""/>
<WORDWRAPBOX name="WordWrapBox1" width="5.8cm" alignment="baseline" baselineType="leftleft" floatingBehavior="free" text="Descripcion"/>
<WORDBOX name="WordBox40" width="max(width(&quot;000&quot;),width(&quot;Cantidad&quot;))" alignment="baseline" baselineType="leftleft" textAlignment="right" text="Cantidad"/>
<WORDBOX name="WordBox41" width="2cm" alignment="baseline" baselineType="rightright" textAlignment="right" text="Precio"/>
<WORDBOX name="WordBox102" width="3cm" alignment="baseline" floatingBehavior="enclosed" textAlignment="right" text="Descuento"/>
<WORDBOX name="WordBox44" width="4cm" anchorY="1" alignment="baseline" baselineType="leftleft" floatingBehavior="enclosed" textAlignment="right" text="Total"/>
</MINIPAGE>
<MINIPAGE name="StripeLayouter20" width=".1cm" bgColor="#cc" layoutDirection="leftToRight"/>
<MINIPAGE name="StripeLayouter21" width=".2cm" layoutDirection="leftToRight"/>
</LAYOUTNODE>
<rtl:match name="Group factura" nameConstraint="Group" minOccurs="0" maxOccurs="unbounded">
<rtl:match name="OnEveryRow" nameConstraint="OnEveryRow" minOccurs="0" maxOccurs="unbounded">
<MINIPAGE name="PAGINADETALLE" width="max" length="max(rest,4cm)" lengthAdjustment="shrinkToChildren" swapX="true" hidePageFooterOnLastPage="true">
<MINIPAGE name="DETALLEFACTURA" width="min" length="max" layoutDirection="leftToRight">
<LAYOUTNODE name="LayoutNode31" width="min" length="max" fontSize="8" layoutDirection="leftToRight">
<rtl:input-variable name="z.cod_n" type="FGLNumeric" expectedLocation="expectedHere"/>
<rtl:input-variable name="z.cod_grupo" type="FGLNumeric" expectedLocation="expectedHere"/>
<rtl:input-variable name="z.cod_tipo" type="FGLNumeric" expectedLocation="expectedHere"/>
<rtl:input-variable name="z.cod_sec" type="FGLNumeric" expectedLocation="expectedHere"/>
<WORDBOX name="WordBox63" width="1.5cm" alignment="baseline" baselineType="leftleft" textAlignment="right" text="{{z.cod_n.format(&quot;&lt;&lt;&quot;)+&quot;-&quot;+z.cod_grupo.format(&quot;&lt;&lt;&quot;)+&quot;-&quot;+z.cod_tipo.format(&quot;&lt;&lt;&lt;&quot;)+&quot;-&quot;+z.cod_sec.format(&quot;&lt;&lt;&lt;&quot;)}}"/>
<WORDBOX name="WordBox56" width="20" alignment="baseline" baselineType="leftleft" text=""/>
<rtl:input-variable name="z.descrip_esp" type="FGLString" expectedLocation="expectedHere"/>
<WORDWRAPBOX name="WordWrapBox3" width="7cm" alignment="baseline" baselineType="leftleft" text="{{z.descrip_esp.trim()}}"/>
<WORDBOX name="WordBox60" width=".8cm" alignment="baseline" baselineType="leftleft" text=""/>
<rtl:input-variable name="z.cantidad" type="FGLNumeric" expectedLocation="expectedHere"/>
<WORDBOX name="cantidad" width="1cm" alignment="baseline" baselineType="leftleft" textAlignment="right" text="{{z.cantidad.format(&quot;&lt;&lt;&lt;&quot;)}}"/>
<WORDBOX name="WordBox61" width="1.cm" alignment="baseline" baselineType="leftleft" text=""/>
<rtl:input-variable name="z.precio" type="FGLNumeric" expectedLocation="expectedHere"/>
<WORDBOX name="precio" width="1cm" length="16" alignment="baseline" baselineType="leftleft" textAlignment="right" text="{{z.precio.format(&quot;###,###.##&quot;)}}"/>
<rtl:input-variable name="ldescuento" type="FGLNumeric" expectedLocation="expectedHere"/>
<DECIMALFORMATBOX name="ldescuento Value" class="grwNumericValue" width="3cm" anchorX="1" alignment="baseline" floatingBehavior="enclosed" textAlignment="right" format="---,---,---,--&amp;.&amp;&amp;" value="{{ldescuento}}"/>
<rtl:input-variable name="z.monto_fact" type="FGLNumeric" expectedLocation="expectedHere"/>
<WORDBOX name="monto" width="4cm" anchorY="1" alignment="baseline" baselineType="leftleft" floatingBehavior="enclosed" textAlignment="right" text="{{z.monto_fact.format(&quot;###,###.##&quot;)}}"/>
</LAYOUTNODE>
<LAYOUTNODE name="LINEA" width="0.5point" length="max" bgColor="#cc" layoutDirection="leftToRight"/>
</MINIPAGE>
</MINIPAGE>
</rtl:match>
<MINIPAGE name="ESPACIO DETALLE" width="min" length="max" layoutDirection="leftToRight">
<WORDBOX name="WordBox75_1" alignment="baseline" baselineType="leftleft"/>
</MINIPAGE>
<MINIPAGE name="SUBTOTAL" width="min" length="max" fontBold="true" layoutDirection="leftToRight">
<LAYOUTNODE name="Layout Node40" y="max-1cm" width="min" length="min" anchorY="1" layoutDirection="rightToLeft" swapX="true" floatingBehavior="enclosed">
<rtl:input-variable name="x.prima_us" type="FGLNumeric" expectedLocation="expectedBefore"/>
<rtl:input-variable name="x.sub_total" type="FGLNumeric" expectedLocation="expectedBefore"/>
<WORDBOX name="WordBox77" width="3.3cm" alignment="baseline" baselineType="leftright" textAlignment="right" text="{{(x.prima_us&gt;1?&quot;USD$ &quot;:&quot;RD$ &quot;)+x.sub_total.format(&quot;###,###,###.##&quot;)}}"/>
<WORDBOX name="WordBox74_1" width="1cm" alignment="baseline" baselineType="leftleft" text=""/>
<WORDBOX name="WordBox76_1" width="3.3cm" anchorY="1" alignment="baseline" baselineType="leftleft" floatingBehavior="enclosed" textAlignment="right" text="SubTotal:"/>
</LAYOUTNODE>
</MINIPAGE>
<MINIPAGE name="DESCUENTO" width="min" length="max" fontBold="true" layoutDirection="leftToRight">
<LAYOUTNODE name="Layout Node40_1" y="max-1cm" width="min" length="min" anchorY="1" layoutDirection="rightToLeft" swapX="true" floatingBehavior="enclosed">
<rtl:input-variable name="x.prima_us" type="FGLNumeric" expectedLocation="expectedBefore"/>
<rtl:input-variable name="x.desc_valor" type="FGLNumeric" expectedLocation="expectedBefore"/>
<WORDBOX name="WordBox77_1" width="3.3cm" alignment="baseline" baselineType="leftright" textAlignment="right" text="{{(x.prima_us&gt;1?&quot;USD$ &quot;:&quot;RD$ &quot;)+x.desc_valor.format(&quot;###,###,###.##&quot;)}}"/>
<WORDBOX name="WordBox75_2" width="1cm" alignment="baseline" baselineType="leftleft" text=""/>
<WORDBOX name="WordBox76_2" width="3.3cm" anchorY="1" alignment="baseline" baselineType="leftleft" floatingBehavior="enclosed" textAlignment="right" text="Descuento:"/>
</LAYOUTNODE>
</MINIPAGE>
<MINIPAGE name="ITBIS" width="min" length="max" fontBold="true" layoutDirection="leftToRight">
<LAYOUTNODE name="Layout Node40_2" y="max-1cm" width="min" length="min" anchorY="1" layoutDirection="rightToLeft" swapX="true" floatingBehavior="enclosed">
<rtl:input-variable name="x.prima_us" type="FGLNumeric" expectedLocation="expectedBefore"/>
<rtl:input-variable name="x.itbi" type="FGLNumeric" expectedLocation="expectedBefore"/>
<WORDBOX name="WordBox77_2" width="3.3cm" alignment="baseline" baselineType="leftright" textAlignment="right" text="{{(x.prima_us&gt;1?&quot;USD$ &quot;:&quot;RD$ &quot;)+x.itbi.format(&quot;###,###,###.##&quot;)}}"/>
<WORDBOX name="WordBox76_3" width="1cm" alignment="baseline" baselineType="leftleft" text=""/>
<WORDBOX name="WordBox76_4" width="3.3cm" anchorY="1" alignment="baseline" baselineType="leftleft" floatingBehavior="enclosed" textAlignment="right" text="Itbis:"/>
</LAYOUTNODE>
</MINIPAGE>
<MINIPAGE name="TOTAL" width="min" length="max" fontBold="true" layoutDirection="leftToRight">
<LAYOUTNODE name="Layout Node40_6" y="max-1cm" width="min" length="min" anchorY="1" layoutDirection="rightToLeft" swapX="true" floatingBehavior="enclosed">
<rtl:input-variable name="x.prima_us" type="FGLNumeric" expectedLocation="expectedBefore"/>
<rtl:input-variable name="x.total_fact" type="FGLNumeric" expectedLocation="expectedBefore"/>
<WORDBOX name="WordBox77_7" width="3.3cm" alignment="baseline" baselineType="leftleft" textAlignment="right" text="{{(x.prima_us&gt;1?&quot;USD$ &quot;:&quot;RD$ &quot;)+x.total_fact.format(&quot;###,###,###.##&quot;)}}"/>
<WORDBOX name="WordBox80" width="1cm" alignment="baseline" baselineType="leftleft" text=""/>
<WORDBOX name="WordBox76_8" width="3.3cm" anchorY="1" alignment="baseline" baselineType="leftleft" floatingBehavior="enclosed" textAlignment="right" text="Total factura:"/>
</LAYOUTNODE>
</MINIPAGE>
<LAYOUTNODE name="ESPACIOOBS" width="min" length="min">
<WORDBOX name="WordBox66_3" length="3cm" alignment="baseline" baselineType="leftleft"/>
<rtl:input-variable name="imagen" type="FGLString" expectedLocation="expectedBefore"/>
<IMAGEBOX name="ImageBox" floatingBehavior="enclosed" url="{{&quot;data:image/jpg;base64,&quot;+imagen}}" intendedResolution="120"/>
</LAYOUTNODE>
<LAYOUTNODE name="OBSERVACIONES" width="min" length="min">
<rtl:input-variable name="observacion" type="FGLString" expectedLocation="expectedBefore"/>
<WORDWRAPBOX name="WordWrapBox3_1" width="width(&quot;M&quot;)*50" alignment="baseline" baselineType="leftleft" text="{{&quot;OBSERVACIONES: &quot;+observacion.trim()}}"/>
</LAYOUTNODE>
</rtl:match>
</MINIPAGE>
</rtl:match>
</PXML>
</rtl:stylesheet>
</report:Report>