Se agrega noprrp015 al proyecto usando nofmrp015.per. A diferencia de noprrp009 (donde se opto por salida de archivo de texto), aqui se reescribio REPORT prestamo de PRINT COLUMN clasico a PRINTX, y se creo nodir/../bin/noprrp015.4rp (diseno Report Writer 2.0) para soportar pantalla/PDF/Excel, igual que noprrp002/003/039/ 043/044. configureOutput() en msgrp000.4gl sigue siendo un stub NULL (ver noprrp009), asi que se usa fgl_report_loadCurrentSettings + fgl_report_selectDevice/selectPreview/commitCurrentSettings directamente. Se corrige tambien el mismo problema de signo oculto en los montos (mascaras sin caracter de signo) que se encontro en noprrp009. Probado con empleado especifico y con varios empleados del mismo movimiento, verificado contra BD (valor, interes y balance). Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
77 lines
8.0 KiB
XML
77 lines
8.0 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="3140a" version="6.00">
|
|
<report:Settings RWPageWidth="letterwidth" RWPageLength="letterlength" RWLeftMargin="0.5inch" RWTopMargin="0.5inch" RWRightMargin="0.5inch" RWBottomMargin="0.5inch">
|
|
<report:FormatList>
|
|
<report:Format-SVG/>
|
|
<report:Format-PDF/>
|
|
<report:Format-image/>
|
|
</report:FormatList>
|
|
</report:Settings>
|
|
<report:Data RWDataLocation="../nodir/noprrp015.rdd" RWFglReportName="prestamo"/>
|
|
<rtl:stylesheet>
|
|
<PXML>
|
|
<rtl:match name="Report" nameConstraint="Report" minOccurs="1" maxOccurs="1">
|
|
<MINIPAGE name="Page Root" width="max" length="max" alignment="near">
|
|
<LAYOUTNODE name="Page Header" width="max" length="min" port="anyPageHeader">
|
|
<MINIPAGE name="StripeLayouter3" width="min" length="min" layoutDirection="leftToRight">
|
|
<rtl:input-variable name="nombre_cia" type="FGLString" expectedLocation="expectedAhead"/>
|
|
<WORDBOX name="Report Title" width="max-3cm" alignment="baseline" fontSize="20" floatingBehavior="enclosed" text="{{nombre_cia}}"/>
|
|
<PAGENOBOX name="PageNoBox" width="3cm" alignment="baseline" floatingBehavior="enclosed" textAlignment="right" text="Pagina no."/>
|
|
</MINIPAGE>
|
|
<MINIPAGE name="MiniPage" width="min" length="min" alignment="near" layoutDirection="leftToRight">
|
|
<WORDBOX name="WordBox2" width="12cm" fontBold="true" floatingBehavior="enclosed" text="Descuentos Cooperativa"/>
|
|
<rtl:input-variable name="hora" type="FGLString" expectedLocation="expectedAhead"/>
|
|
<WORDBOX name="WordBoxHora" floatingBehavior="enclosed" text="{{hora}}"/>
|
|
</MINIPAGE>
|
|
<MINIPAGE name="MiniPage1" width="min" length="min" alignment="near" layoutDirection="leftToRight">
|
|
<rtl:input-variable name="x.num_nomi" type="FGLNumeric" expectedLocation="expectedAhead"/>
|
|
<rtl:input-variable name="fecha_al_ch" type="FGLString" expectedLocation="expectedAhead"/>
|
|
<WORDBOX name="WordBoxNomina" width="10cm" fontBold="true" floatingBehavior="enclosed" text="{{"Nomina No.: "+x.num_nomi.format("<<<<")+" Al: "+fecha_al_ch}}"/>
|
|
<rtl:input-variable name="descr" type="FGLString" expectedLocation="expectedAhead"/>
|
|
<WORDBOX name="WordBoxTipo" floatingBehavior="enclosed" text="{{descr}}"/>
|
|
</MINIPAGE>
|
|
<MINIPAGE name="MiniPage2" width="min" length="min" fontSize="10" fontBold="true" layoutDirection="leftToRight">
|
|
<WORDBOX name="WordBoxCod" width="3.5cm" alignment="baseline" floatingBehavior="enclosed" text="Codigo No." roundedCorners="true" borderWidth="1" borderStyle="solid"/>
|
|
<WORDBOX name="WordBoxNom" width="6cm" alignment="baseline" floatingBehavior="enclosed" text="Nombre" roundedCorners="true" borderWidth="1" borderStyle="solid"/>
|
|
<WORDBOX name="WordBoxVal" width="3cm" alignment="far" floatingBehavior="enclosed" textAlignment="right" text="Valor" roundedCorners="true" borderWidth="1" borderStyle="solid"/>
|
|
<WORDBOX name="WordBoxInt" width="2cm" alignment="far" floatingBehavior="enclosed" textAlignment="right" text="Interes" roundedCorners="true" borderWidth="1" borderStyle="solid"/>
|
|
<WORDBOX name="WordBoxBal" width="3cm" alignment="far" floatingBehavior="enclosed" textAlignment="right" text="Balance" roundedCorners="true" borderWidth="1" borderStyle="solid"/>
|
|
</MINIPAGE>
|
|
<MINIPAGE name="Separator" width="1" length="max" bgColor="#000000" layoutDirection="leftToRight"/>
|
|
</LAYOUTNODE>
|
|
<rtl:match name="FirstPageHeader" nameConstraint="FirstPageHeader" minOccurs="0" maxOccurs="1"/>
|
|
<rtl:match name="Group cod_mov" nameConstraint="Group" minOccurs="0" maxOccurs="unbounded">
|
|
<MINIPAGE name="movimiento" width="min" length="max" layoutDirection="leftToRight">
|
|
<rtl:input-variable name="x.descrip_mov" type="FGLString" expectedLocation="expectedHere"/>
|
|
<WORDBOX name="x.descrip_mov Value" fontSize="11" fontBold="true" floatingBehavior="enclosed" text="{{x.descrip_mov}}"/>
|
|
</MINIPAGE>
|
|
<rtl:match name="Group num_emp" nameConstraint="Group" minOccurs="0" maxOccurs="unbounded">
|
|
<MINIPAGE name="Table Row" class="grwTableRow" width="min" length="max" fontSize="9" layoutDirection="leftToRight">
|
|
<rtl:input-variable name="codigo_emp" type="FGLString" expectedLocation="expectedHere"/>
|
|
<WORDBOX name="codigo_emp Value" width="3.5cm" floatingBehavior="enclosed" text="{{codigo_emp}}"/>
|
|
<rtl:input-variable name="nombre_completo" type="FGLString" expectedLocation="expectedHere"/>
|
|
<WORDBOX name="nombre_completo Value" width="6cm" floatingBehavior="enclosed" text="{{nombre_completo}}"/>
|
|
<rtl:input-variable name="x.valor" type="FGLNumeric" expectedLocation="expectedHere"/>
|
|
<DECIMALFORMATBOX name="x.valor Value" width="3cm" anchorX="1" floatingBehavior="enclosed" textAlignment="right" format="-,---,---,--&.&&" value="{{x.valor}}"/>
|
|
<rtl:input-variable name="interes" type="FGLNumeric" expectedLocation="expectedHere"/>
|
|
<DECIMALFORMATBOX name="interes Value" width="2cm" anchorX="1" floatingBehavior="enclosed" textAlignment="right" format="-,---,---,--&.&&" value="{{interes}}"/>
|
|
<rtl:input-variable name="x.balance" type="FGLNumeric" expectedLocation="expectedHere"/>
|
|
<DECIMALFORMATBOX name="x.balance Value" width="3cm" anchorX="1" floatingBehavior="enclosed" textAlignment="right" format="-,---,---,--&.&&" value="{{x.balance}}"/>
|
|
</MINIPAGE>
|
|
</rtl:match>
|
|
<MINIPAGE name="totalgrupo" width="min" length="max" layoutDirection="leftToRight" roundedCorners="true" borderWidth="1" borderStyle="outset">
|
|
<WORDBOX name="WordBoxTotal" width="9.5cm" fontBold="true" floatingBehavior="enclosed" text="TOTAL GENERAL"/>
|
|
<rtl:input-variable name="total1" type="FGLNumeric" expectedLocation="expectedHere"/>
|
|
<DECIMALFORMATBOX name="total1 Value" width="3cm" anchorX="1" fontBold="true" floatingBehavior="enclosed" textAlignment="right" format="-,---,---,--&.&&" value="{{total1}}"/>
|
|
<rtl:input-variable name="t_interes" type="FGLNumeric" expectedLocation="expectedHere"/>
|
|
<DECIMALFORMATBOX name="t_interes Value" width="2cm" anchorX="1" fontBold="true" floatingBehavior="enclosed" textAlignment="right" format="-,---,---,--&.&&" value="{{t_interes}}"/>
|
|
<rtl:input-variable name="total" type="FGLNumeric" expectedLocation="expectedHere"/>
|
|
<DECIMALFORMATBOX name="total Value" width="3cm" anchorX="1" fontBold="true" floatingBehavior="enclosed" textAlignment="right" format="-,---,---,--&.&&" value="{{total}}"/>
|
|
</MINIPAGE>
|
|
</rtl:match>
|
|
</MINIPAGE>
|
|
</rtl:match>
|
|
</PXML>
|
|
</rtl:stylesheet>
|
|
</report:Report>
|