199 lines
23 KiB
XML
199 lines
23 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">
|
|
<IMAGEBOX name="ImageBox1" y="14.2264" width="5cm" length="3cm" floatingBehavior="enclosed" url="{{"file:///E:/MARMOTECHC/BIN320/IMAGENES/Logo_DCM.PNG"}}" intendedResolution="120"/>
|
|
<LAYOUTNODE name="Layout Node9" y="max-5cm" width="min" length="min" anchorY="1" 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="{{"RNC:"+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="{{"https://shop.marmotech.com.do"}}"/>
|
|
</LAYOUTNODE>
|
|
</LAYOUTNODE>
|
|
<WORDBOX name="WordBox103" length=".7cm" floatingBehavior="enclosed"/>
|
|
</LAYOUTNODE>
|
|
</MINIPAGE>
|
|
<MINIPAGE name="StripeLayouter13" width="min" layoutDirection="leftToRight">
|
|
<LAYOUTNODE name="customerAddress" width="min" length="min" anchorY="1" bgColor="#ccffff" layoutDirection="leftToRight" floatingBehavior="enclosed">
|
|
<LAYOUTNODE name="Layout Node15" width="7cm" length="min" alignment="near" fontSize="8">
|
|
<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("&&")+"-"+x.sec_cliente.format("&&&&&&")}}"/>
|
|
</LAYOUTNODE>
|
|
<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"/>
|
|
<WORDWRAPBOX name="WordWrapBox" width="width("M")*20" alignment="baseline" floatingBehavior="enclosed" text="{{x.direccion.trim()}}"/>
|
|
<rtl:input-variable name="celular" type="FGLString" expectedLocation="expectedAhead"/>
|
|
<WORDBOX name="WordBox24" alignment="near" baselineType="leftleft" text="{{"Celular: "+celular}}"/>
|
|
<rtl:input-variable name="telefono" type="FGLString" expectedLocation="expectedAhead"/>
|
|
<WORDBOX name="WordBox78_1" width="2cm" alignment="baseline" floatingBehavior="enclosed" text="{{"Telefono: "+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="{{"Vendedor: "+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="{{"RNC o CEDULA: "+rnc.trim()}}"/>
|
|
</LAYOUTNODE>
|
|
</LAYOUTNODE>
|
|
</LAYOUTNODE>
|
|
<LAYOUTNODE name="condiciones" width="min" length="min" fontSize="8" floatingBehavior="enclosed">
|
|
<rtl:input-variable name="x.factura" type="FGLNumeric" expectedLocation="expectedAhead"/>
|
|
<WORDBOX name="WordBox34_1" width="5cm" alignment="baseline" fontSize="12" fontBold="true" baselineType="leftleft" text="{{"Factura No.: "+x.factura.format("&&&&&&&")}}"/>
|
|
<rtl:input-variable name="x.fecha_factura" type="FGLString" expectedLocation="expectedAhead"/>
|
|
<WORDBOX name="WordBox32_1" alignment="baseline" baselineType="leftleft" text="{{"Fecha Factura: "+x.fecha_factura.value}}"/>
|
|
<rtl:input-variable name="descrip_cond" type="FGLString" expectedLocation="expectedAhead"/>
|
|
<WORDWRAPBOX name="WordWrapBox4" width="width("M")*20" alignment="baseline" floatingBehavior="enclosed" text="{{"CONDICIONES: "+descrip_cond.trim()}}"/>
|
|
<rtl:input-variable name="x.conduce" type="FGLNumeric" expectedLocation="expectedAhead"/>
|
|
<WORDBOX name="WordBox36_1" alignment="baseline" baselineType="leftleft" text="{{"Cotizacion: "+x.conduce.format("&&&&&&")}}"/>
|
|
<rtl:input-variable name="chventas" type="FGLString" expectedLocation="expectedAhead"/>
|
|
<WORDWRAPBOX name="WordWrapBox5" width="width("M")*20" floatingBehavior="enclosed" text="{{"MONEDA: "+chventas.trim()}}"/>
|
|
<rtl:input-variable name="xbodega" type="FGLString" expectedLocation="expectedAhead"/>
|
|
<WORDWRAPBOX name="WordWrapBox7" width="width("M")*20" floatingBehavior="enclosed" text="{{"ALMACEN: "+xbodega.trim()}}"/>
|
|
<rtl:input-variable name="conduce_alm" type="FGLNumeric" expectedLocation="expectedAhead"/>
|
|
<WORDBOX name="WordBox104" floatingBehavior="enclosed" text="{{"SALIDA: "+conduce_alm.format("&&&&&&&&")}}"/>
|
|
</LAYOUTNODE>
|
|
<LAYOUTNODE name="ncf" width="min" length="min" fontSize="8" fontBold="true" floatingBehavior="enclosed">
|
|
<rtl:input-variable name="descripcion_ncf" type="FGLString" expectedLocation="expectedAhead"/>
|
|
<WORDBOX name="WordBox31_1" alignment="baseline" fontSize="12" baselineType="leftleft" text="{{descripcion_ncf.trim()}}"/>
|
|
<rtl:input-variable name="ch_ncf" type="FGLString" expectedLocation="expectedAhead"/>
|
|
<WORDBOX name="WordBox73_1" alignment="far" fontSize="12" baselineType="leftleft" text="{{ch_ncf.trim()}}"/>
|
|
<rtl:input-variable name="fecha_vencimiento" type="FGLString" expectedLocation="expectedAhead"/>
|
|
<rtl:input-variable name="ch_fechavence" type="FGLString" expectedLocation="expectedAhead"/>
|
|
<WORDBOX name="WordBox108" rtl:condition="fecha_vencimiento>"01/01/2017"" fontSize="12" floatingBehavior="enclosed" text="{{"FECHA VENCIMIENTO: "+ch_fechavence}}"/>
|
|
</LAYOUTNODE>
|
|
</MINIPAGE>
|
|
<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("000"),width("Cantidad"))" 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="codigo" type="FGLString" expectedLocation="expectedHere"/>
|
|
<WORDBOX name="WordBox63" width="3cm" alignment="baseline" baselineType="leftleft" textAlignment="right" text="{{codigo.trim()}}"/>
|
|
<WORDBOX name="WordBox" width=".3cm" alignment="baseline" floatingBehavior="enclosed" text="{{" "}}"/>
|
|
<rtl:input-variable name="z.descrip_esp" type="FGLString" expectedLocation="expectedHere"/>
|
|
<WORDWRAPBOX name="WordWrapBox6" width="width("M")*20" alignment="baseline" floatingBehavior="enclosed" 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("<<<")}}"/>
|
|
<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="2cm" length="16" alignment="baseline" baselineType="leftleft" textAlignment="right" text="{{z.precio.format("###,###.##")}}"/>
|
|
<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="---,---,---,--&.&&" 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("###,###.##")}}"/>
|
|
</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-.3cm" width="min" length="min" anchorY="1" layoutDirection="rightToLeft" swapX="true" floatingBehavior="enclosed">
|
|
<rtl:input-variable name="x.sub_total" type="FGLNumeric" expectedLocation="expectedBefore"/>
|
|
<rtl:input-variable name="simbolo" type="FGLString" expectedLocation="expectedBefore"/>
|
|
<WORDBOX name="WordBox77" width="3.3cm" alignment="baseline" baselineType="leftright" textAlignment="right" text="{{simbolo+x.sub_total.format("###,###,###.##")}}"/>
|
|
<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-.3cm" width="min" length="min" anchorY="1" layoutDirection="rightToLeft" swapX="true" floatingBehavior="enclosed">
|
|
<rtl:input-variable name="x.desc_valor" type="FGLNumeric" expectedLocation="expectedBefore"/>
|
|
<rtl:input-variable name="simbolo" type="FGLString" expectedLocation="expectedBefore"/>
|
|
<WORDBOX name="WordBox77_1" width="3.3cm" alignment="baseline" baselineType="leftright" textAlignment="right" text="{{simbolo+x.desc_valor.format("###,###,###.##")}}"/>
|
|
<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-.3cm" width="min" length="min" anchorY="1" layoutDirection="rightToLeft" swapX="true" floatingBehavior="enclosed">
|
|
<rtl:input-variable name="x.itbi" type="FGLNumeric" expectedLocation="expectedBefore"/>
|
|
<rtl:input-variable name="simbolo" type="FGLString" expectedLocation="expectedBefore"/>
|
|
<WORDBOX name="WordBox77_2" width="3.3cm" alignment="baseline" baselineType="leftright" textAlignment="right" text="{{simbolo+x.itbi.format("###,###,###.##")}}"/>
|
|
<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-.3cm" width="min" length="min" anchorY="1" layoutDirection="rightToLeft" swapX="true" floatingBehavior="enclosed">
|
|
<rtl:input-variable name="x.total_fact" type="FGLNumeric" expectedLocation="expectedBefore"/>
|
|
<rtl:input-variable name="simbolo" type="FGLString" expectedLocation="expectedBefore"/>
|
|
<WORDBOX name="WordBox77_7" width="3.3cm" alignment="baseline" baselineType="leftleft" textAlignment="right" text="{{simbolo+x.total_fact.format("###,###,###.##")}}"/>
|
|
<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"/>
|
|
<rtl:input-variable name="vimagen" type="FGLNumeric" expectedLocation="expectedBefore"/>
|
|
<IMAGEBOX name="ImageBox" rtl:condition="vimagen==1" floatingBehavior="enclosed" url="{{"data:image/jpg;base64,"+imagen}}" intendedResolution="120"/>
|
|
<WORDBOX name="WordBox106" length="1cm" floatingBehavior="enclosed"/>
|
|
<WORDBOX name="WordBox107" width="4cm" length="2cm" floatingBehavior="enclosed" text="{{"FACTURADO POR "}}"/>
|
|
</LAYOUTNODE>
|
|
<LAYOUTNODE name="OBSERVACIONES" width="min" length="min">
|
|
<rtl:input-variable name="observacion" type="FGLString" expectedLocation="expectedBefore"/>
|
|
<WORDWRAPBOX name="WordWrapBox3_1" width="width("M")*50" length="1cm" alignment="baseline" baselineType="leftleft" text="{{"OBSERVACIONES: "+observacion.trim()}}"/>
|
|
<rtl:input-variable name="x.nombre_tran" type="FGLString" expectedLocation="expectedBefore"/>
|
|
<rtl:input-variable name="x.placa_transp" type="FGLString" expectedLocation="expectedBefore"/>
|
|
<WORDBOX name="WordBox105" floatingBehavior="enclosed" text="{{"TRASPORTADO POR: "+x.nombre_tran.trim()+" PLACA: "+x.placa_transp.trim()}}"/>
|
|
</LAYOUTNODE>
|
|
</rtl:match>
|
|
</MINIPAGE>
|
|
</rtl:match>
|
|
</PXML>
|
|
</rtl:stylesheet>
|
|
</report:Report>
|