Se adiciona lógica de extractos

This commit is contained in:
Camilo Gonzalez 2023-09-17 20:31:47 -05:00
parent 50c40c0a1c
commit 4b837318e3
4 changed files with 174 additions and 80 deletions

View File

@ -1,24 +1,24 @@
<?xml version="1.0" encoding="UTF-8"?>
<office:document xmlns:officeooo="http://openoffice.org/2009/office" xmlns:css3t="http://www.w3.org/TR/css3-text/" xmlns:grddl="http://www.w3.org/2003/g/data-view#" xmlns:xhtml="http://www.w3.org/1999/xhtml" xmlns:formx="urn:openoffice:names:experimental:ooxml-odf-interop:xmlns:form:1.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:chart="urn:oasis:names:tc:opendocument:xmlns:chart:1.0" xmlns:svg="urn:oasis:names:tc:opendocument:xmlns:svg-compatible:1.0" xmlns:text="urn:oasis:names:tc:opendocument:xmlns:text:1.0" xmlns:oooc="http://openoffice.org/2004/calc" xmlns:style="urn:oasis:names:tc:opendocument:xmlns:style:1.0" xmlns:ooow="http://openoffice.org/2004/writer" xmlns:meta="urn:oasis:names:tc:opendocument:xmlns:meta:1.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rpt="http://openoffice.org/2005/report" xmlns:draw="urn:oasis:names:tc:opendocument:xmlns:drawing:1.0" xmlns:config="urn:oasis:names:tc:opendocument:xmlns:config:1.0" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:fo="urn:oasis:names:tc:opendocument:xmlns:xsl-fo-compatible:1.0" xmlns:ooo="http://openoffice.org/2004/office" xmlns:office="urn:oasis:names:tc:opendocument:xmlns:office:1.0" xmlns:dr3d="urn:oasis:names:tc:opendocument:xmlns:dr3d:1.0" xmlns:table="urn:oasis:names:tc:opendocument:xmlns:table:1.0" xmlns:number="urn:oasis:names:tc:opendocument:xmlns:datastyle:1.0" xmlns:of="urn:oasis:names:tc:opendocument:xmlns:of:1.2" xmlns:calcext="urn:org:documentfoundation:names:experimental:calc:xmlns:calcext:1.0" xmlns:tableooo="http://openoffice.org/2009/table" xmlns:drawooo="http://openoffice.org/2010/draw" xmlns:loext="urn:org:documentfoundation:names:experimental:office:xmlns:loext:1.0" xmlns:dom="http://www.w3.org/2001/xml-events" xmlns:field="urn:openoffice:names:experimental:ooo-ms-interop:xmlns:field:1.0" xmlns:math="http://www.w3.org/1998/Math/MathML" xmlns:form="urn:oasis:names:tc:opendocument:xmlns:form:1.0" xmlns:script="urn:oasis:names:tc:opendocument:xmlns:script:1.0" xmlns:xforms="http://www.w3.org/2002/xforms" office:version="1.3" office:mimetype="application/vnd.oasis.opendocument.text">
<office:meta><meta:generator>LibreOffice/7.0.4.2$Linux_X86_64 LibreOffice_project/00$Build-2</meta:generator><meta:creation-date>2008-06-07T15:28:22</meta:creation-date><dc:date>2009-01-10T16:03:33</dc:date><meta:editing-cycles>1</meta:editing-cycles><meta:editing-duration>PT0S</meta:editing-duration><meta:document-statistic meta:table-count="2" meta:image-count="1" meta:object-count="0" meta:page-count="1" meta:paragraph-count="14" meta:word-count="24" meta:character-count="180" meta:non-whitespace-character-count="166"/><meta:user-defined meta:name="Info 1"/><meta:user-defined meta:name="Info 2"/><meta:user-defined meta:name="Info 3"/><meta:user-defined meta:name="Info 4"/></office:meta>
<office:meta><meta:generator>LibreOffice/7.0.4.2$Linux_X86_64 LibreOffice_project/00$Build-2</meta:generator><meta:creation-date>2008-06-07T15:28:22</meta:creation-date><dc:date>2009-01-10T16:03:33</dc:date><meta:editing-cycles>1</meta:editing-cycles><meta:editing-duration>PT0S</meta:editing-duration><meta:document-statistic meta:table-count="3" meta:image-count="1" meta:object-count="0" meta:page-count="1" meta:paragraph-count="20" meta:word-count="31" meta:character-count="268" meta:non-whitespace-character-count="251"/><meta:user-defined meta:name="Info 1"/><meta:user-defined meta:name="Info 2"/><meta:user-defined meta:name="Info 3"/><meta:user-defined meta:name="Info 4"/></office:meta>
<office:settings>
<config:config-item-set config:name="ooo:view-settings">
<config:config-item config:name="ViewAreaTop" config:type="long">5263</config:config-item>
<config:config-item config:name="ViewAreaTop" config:type="long">9620</config:config-item>
<config:config-item config:name="ViewAreaLeft" config:type="long">0</config:config-item>
<config:config-item config:name="ViewAreaWidth" config:type="long">15843</config:config-item>
<config:config-item config:name="ViewAreaHeight" config:type="long">7299</config:config-item>
<config:config-item config:name="ViewAreaHeight" config:type="long">7410</config:config-item>
<config:config-item config:name="ShowRedlineChanges" config:type="boolean">true</config:config-item>
<config:config-item config:name="InBrowseMode" config:type="boolean">false</config:config-item>
<config:config-item-map-indexed config:name="Views">
<config:config-item-map-entry>
<config:config-item config:name="ViewId" config:type="string">view2</config:config-item>
<config:config-item config:name="ViewLeft" config:type="long">6846</config:config-item>
<config:config-item config:name="ViewTop" config:type="long">7574</config:config-item>
<config:config-item config:name="ViewLeft" config:type="long">5671</config:config-item>
<config:config-item config:name="ViewTop" config:type="long">11726</config:config-item>
<config:config-item config:name="VisibleLeft" config:type="long">0</config:config-item>
<config:config-item config:name="VisibleTop" config:type="long">5263</config:config-item>
<config:config-item config:name="VisibleTop" config:type="long">9620</config:config-item>
<config:config-item config:name="VisibleRight" config:type="long">15841</config:config-item>
<config:config-item config:name="VisibleBottom" config:type="long">12561</config:config-item>
<config:config-item config:name="VisibleBottom" config:type="long">17029</config:config-item>
<config:config-item config:name="ZoomType" config:type="short">0</config:config-item>
<config:config-item config:name="ViewLayoutColumns" config:type="short">0</config:config-item>
<config:config-item config:name="ViewLayoutBookMode" config:type="boolean">false</config:config-item>
@ -85,7 +85,7 @@
<config:config-item config:name="ChartAutoUpdate" config:type="boolean">true</config:config-item>
<config:config-item config:name="PrinterSetup" config:type="base64Binary"/>
<config:config-item config:name="AddParaTableSpacingAtStart" config:type="boolean">true</config:config-item>
<config:config-item config:name="Rsid" config:type="int">2335270</config:config-item>
<config:config-item config:name="Rsid" config:type="int">2365837</config:config-item>
<config:config-item config:name="EmbeddedDatabaseName" config:type="string"/>
<config:config-item config:name="FieldAutoUpdate" config:type="boolean">true</config:config-item>
<config:config-item config:name="OutlineLevelYieldsNumbering" config:type="boolean">false</config:config-item>
@ -140,7 +140,6 @@
<style:font-face style:name="StarSymbol" svg:font-family="StarSymbol"/>
<style:font-face style:name="Linux Libertine Mono O" svg:font-family="&apos;Linux Libertine Mono O&apos;" style:font-pitch="variable"/>
<style:font-face style:name="Roboto" svg:font-family="Roboto" style:font-pitch="variable"/>
<style:font-face style:name="Liberation Serif2" svg:font-family="&apos;Liberation Serif&apos;" style:font-family-generic="roman" style:font-pitch="variable"/>
<style:font-face style:name="Liberation Serif1" svg:font-family="&apos;Liberation Serif&apos;" style:font-adornments="Bold" style:font-family-generic="roman" style:font-pitch="variable"/>
<style:font-face style:name="Liberation Serif" svg:font-family="&apos;Liberation Serif&apos;" style:font-adornments="Regular" style:font-family-generic="roman" style:font-pitch="variable"/>
<style:font-face style:name="Thorndale AMT" svg:font-family="&apos;Thorndale AMT&apos;" style:font-family-generic="roman" style:font-pitch="variable"/>
@ -155,7 +154,7 @@
<draw:hatch draw:name="hatch" draw:style="single" draw:color="#3465a4" draw:distance="0.0079in" draw:rotation="0"/>
<style:default-style style:family="graphic">
<style:graphic-properties svg:stroke-color="#000000" draw:fill-color="#99ccff" fo:wrap-option="no-wrap" draw:shadow-offset-x="0.1181in" draw:shadow-offset-y="0.1181in" draw:start-line-spacing-horizontal="0.1114in" draw:start-line-spacing-vertical="0.1114in" draw:end-line-spacing-horizontal="0.1114in" draw:end-line-spacing-vertical="0.1114in" style:flow-with-text="false"/>
<style:paragraph-properties style:text-autospace="ideograph-alpha" style:line-break="strict" style:font-independent-line-spacing="false">
<style:paragraph-properties style:text-autospace="ideograph-alpha" style:line-break="strict" style:writing-mode="lr-tb" style:font-independent-line-spacing="false">
<style:tab-stops/>
</style:paragraph-properties>
<style:text-properties style:use-window-font-color="true" loext:opacity="0%" style:font-name="Thorndale AMT" fo:font-size="12pt" fo:language="en" fo:country="US" style:letter-kerning="true" style:font-name-asian="Andale Sans UI" style:font-size-asian="10.5pt" style:language-asian="zxx" style:country-asian="none" style:font-name-complex="Andale Sans UI" style:font-size-complex="12pt" style:language-complex="zxx" style:country-complex="none"/>
@ -350,6 +349,21 @@
<style:style style:name="Table2.B1" style:family="table-cell">
<style:table-cell-properties fo:padding="0.0382in" fo:border="0.05pt solid #ffffff"/>
</style:style>
<style:style style:name="Table3" style:family="table">
<style:table-properties style:width="2.7563in" table:align="margins"/>
</style:style>
<style:style style:name="Table3.A" style:family="table-column">
<style:table-column-properties style:column-width="0.9188in" style:rel-column-width="1323*"/>
</style:style>
<style:style style:name="Table3.A1" style:family="table-cell">
<style:table-cell-properties fo:padding="0.0382in" fo:border="0.05pt solid #000000"/>
</style:style>
<style:style style:name="Table3.A2" style:family="table-cell">
<style:table-cell-properties fo:padding="0.0382in" fo:border-left="0.05pt solid #000000" fo:border-right="0.05pt solid #000000" fo:border-top="none" fo:border-bottom="0.05pt solid #000000"/>
</style:style>
<style:style style:name="Table3.A3" style:family="table-cell">
<style:table-cell-properties fo:padding="0.0382in" fo:border-left="0.05pt solid #000000" fo:border-right="none" fo:border-top="none" fo:border-bottom="0.05pt solid #000000"/>
</style:style>
<style:style style:name="P1" style:family="paragraph" style:parent-style-name="Header">
<style:paragraph-properties fo:text-align="center" style:justify-single-word="false"/>
<style:text-properties style:font-name="Open Sans Condensed" fo:font-size="8pt" fo:font-weight="bold" officeooo:paragraph-rsid="00066dfa" style:font-size-asian="8pt" style:font-weight-asian="bold" style:font-size-complex="8pt" style:font-weight-complex="bold"/>
@ -370,57 +384,77 @@
<style:paragraph-properties fo:text-align="start" style:justify-single-word="false"/>
<style:text-properties style:font-name="Open Sans Condensed" fo:font-size="8pt" fo:font-style="normal" fo:font-weight="normal" officeooo:paragraph-rsid="001efd2f" style:font-size-asian="8pt" style:font-style-asian="normal" style:font-weight-asian="normal" style:font-size-complex="8pt" style:font-style-complex="normal" style:font-weight-complex="normal"/>
</style:style>
<style:style style:name="P6" style:family="paragraph" style:parent-style-name="Standard" style:master-page-name="">
<style:paragraph-properties style:page-number="auto" fo:break-before="auto" fo:break-after="auto"/>
<style:text-properties style:font-name="Open Sans Condensed" fo:font-size="8pt" officeooo:paragraph-rsid="001680e2" style:font-size-asian="8pt" style:font-size-complex="8pt"/>
</style:style>
<style:style style:name="P7" style:family="paragraph" style:parent-style-name="Standard">
<loext:graphic-properties draw:fill-gradient-name="gradient" draw:fill-hatch-name="hatch"/>
<style:paragraph-properties fo:margin-left="0in" fo:margin-right="0in" fo:line-height="100%" fo:text-align="center" style:justify-single-word="false" fo:text-indent="0in" style:auto-text-indent="false"/>
<style:text-properties style:font-name="Open Sans Condensed" fo:font-size="8pt" fo:font-weight="normal" officeooo:rsid="0019e277" officeooo:paragraph-rsid="001d5a69" style:font-size-asian="8pt" style:font-weight-asian="normal" style:font-size-complex="8pt" style:font-weight-complex="normal"/>
</style:style>
<style:style style:name="P8" style:family="paragraph" style:parent-style-name="Standard">
<style:text-properties style:font-name="Open Sans Condensed" fo:font-size="8pt" officeooo:paragraph-rsid="001680e2" style:font-size-asian="8pt" style:font-size-complex="8pt"/>
</style:style>
<style:style style:name="P9" style:family="paragraph" style:parent-style-name="Standard">
<loext:graphic-properties draw:fill-gradient-name="gradient" draw:fill-hatch-name="hatch"/>
<style:paragraph-properties fo:margin-left="0in" fo:margin-right="0in" fo:line-height="100%" fo:text-align="center" style:justify-single-word="false" fo:text-indent="0in" style:auto-text-indent="false"/>
<style:text-properties fo:color="#000000" loext:opacity="100%" style:font-name="Liberation Sans1" fo:font-size="8pt" fo:font-weight="bold" officeooo:rsid="001680e2" officeooo:paragraph-rsid="001d5a69" fo:background-color="transparent" style:font-size-asian="8pt" style:font-weight-asian="bold" style:font-size-complex="8pt" style:font-weight-complex="bold"/>
</style:style>
<style:style style:name="P10" style:family="paragraph" style:parent-style-name="Standard">
<loext:graphic-properties draw:fill-gradient-name="gradient" draw:fill-hatch-name="hatch"/>
<style:paragraph-properties fo:margin-left="0in" fo:margin-right="0in" fo:line-height="100%" fo:text-align="center" style:justify-single-word="false" fo:text-indent="0in" style:auto-text-indent="false"/>
<style:text-properties style:font-name="Roboto" fo:font-size="8pt" officeooo:paragraph-rsid="001d5a69" style:font-size-asian="8pt" style:font-size-complex="8pt"/>
</style:style>
<style:style style:name="P11" style:family="paragraph" style:parent-style-name="Standard">
<style:text-properties style:font-name="Linux Libertine Mono O" fo:font-size="8pt" officeooo:paragraph-rsid="001680e2" style:font-size-asian="8pt" style:font-size-complex="8pt"/>
</style:style>
<style:style style:name="P12" style:family="paragraph" style:parent-style-name="Standard">
<style:paragraph-properties fo:text-align="center" style:justify-single-word="false"/>
<style:text-properties style:font-name="Roboto" fo:font-size="6pt" style:font-size-asian="6pt" style:font-size-complex="6pt"/>
</style:style>
<style:style style:name="P13" style:family="paragraph" style:parent-style-name="Table_20_Contents">
<style:paragraph-properties fo:text-align="center" style:justify-single-word="false"/>
<style:text-properties style:font-name="Roboto" fo:font-size="6pt" fo:font-weight="bold" officeooo:rsid="0020cdde" officeooo:paragraph-rsid="0020cdde" style:font-size-asian="6pt" style:font-weight-asian="bold" style:font-size-complex="6pt" style:font-weight-complex="bold"/>
</style:style>
<style:style style:name="P14" style:family="paragraph" style:parent-style-name="Table_20_Contents">
<style:paragraph-properties fo:text-align="center" style:justify-single-word="false"/>
<style:text-properties style:font-name="Roboto" fo:font-size="6pt" fo:font-weight="bold" officeooo:rsid="00227d0e" officeooo:paragraph-rsid="00227d0e" style:font-size-asian="6pt" style:font-weight-asian="bold" style:font-size-complex="6pt" style:font-weight-complex="bold"/>
</style:style>
<style:style style:name="P15" style:family="paragraph" style:parent-style-name="Text_20_body">
<style:style style:name="P6" style:family="paragraph" style:parent-style-name="Text_20_body">
<loext:graphic-properties draw:fill-gradient-name="gradient" draw:fill-hatch-name="hatch"/>
<style:paragraph-properties fo:line-height="100%" fo:text-align="center" style:justify-single-word="false"/>
<style:text-properties style:font-name="Roboto" fo:font-size="8pt" officeooo:paragraph-rsid="001d5a69" style:font-size-asian="8pt" style:font-size-complex="8pt"/>
</style:style>
<style:style style:name="P16" style:family="paragraph" style:parent-style-name="Text_20_body">
<style:style style:name="P7" style:family="paragraph" style:parent-style-name="Text_20_body">
<loext:graphic-properties draw:fill-gradient-name="gradient" draw:fill-hatch-name="hatch"/>
<style:paragraph-properties fo:line-height="100%" fo:text-align="center" style:justify-single-word="false"/>
<style:text-properties style:font-name="Roboto" fo:font-size="8pt" officeooo:rsid="0019e277" officeooo:paragraph-rsid="001d5a69" style:font-size-asian="8pt" style:font-size-complex="8pt"/>
</style:style>
<style:style style:name="P17" style:family="paragraph" style:parent-style-name="Text_20_body">
<style:style style:name="P8" style:family="paragraph" style:parent-style-name="Text_20_body">
<style:paragraph-properties fo:text-align="center" style:justify-single-word="false"/>
<style:text-properties style:font-name="Roboto" fo:font-size="6pt" fo:font-style="normal" fo:font-weight="normal" officeooo:paragraph-rsid="0020cdde" style:font-size-asian="6pt" style:font-style-asian="normal" style:font-weight-asian="normal" style:font-size-complex="6pt" style:font-style-complex="normal" style:font-weight-complex="normal"/>
</style:style>
<style:style style:name="P9" style:family="paragraph" style:parent-style-name="Standard" style:master-page-name="">
<style:paragraph-properties style:page-number="auto" fo:break-before="auto" fo:break-after="auto"/>
<style:text-properties style:font-name="Open Sans Condensed" fo:font-size="8pt" officeooo:paragraph-rsid="001680e2" style:font-size-asian="8pt" style:font-size-complex="8pt"/>
</style:style>
<style:style style:name="P10" style:family="paragraph" style:parent-style-name="Standard">
<loext:graphic-properties draw:fill-gradient-name="gradient" draw:fill-hatch-name="hatch"/>
<style:paragraph-properties fo:margin-left="0in" fo:margin-right="0in" fo:line-height="100%" fo:text-align="center" style:justify-single-word="false" fo:text-indent="0in" style:auto-text-indent="false"/>
<style:text-properties style:font-name="Open Sans Condensed" fo:font-size="8pt" fo:font-weight="normal" officeooo:rsid="0019e277" officeooo:paragraph-rsid="001d5a69" style:font-size-asian="8pt" style:font-weight-asian="normal" style:font-size-complex="8pt" style:font-weight-complex="normal"/>
</style:style>
<style:style style:name="P11" style:family="paragraph" style:parent-style-name="Standard">
<loext:graphic-properties draw:fill-gradient-name="gradient" draw:fill-hatch-name="hatch"/>
<style:paragraph-properties fo:margin-left="0in" fo:margin-right="0in" fo:line-height="100%" fo:text-align="center" style:justify-single-word="false" fo:text-indent="0in" style:auto-text-indent="false"/>
<style:text-properties fo:color="#000000" loext:opacity="100%" style:font-name="Liberation Sans1" fo:font-size="8pt" fo:font-weight="bold" officeooo:rsid="001680e2" officeooo:paragraph-rsid="001d5a69" fo:background-color="transparent" style:font-size-asian="8pt" style:font-weight-asian="bold" style:font-size-complex="8pt" style:font-weight-complex="bold"/>
</style:style>
<style:style style:name="P12" style:family="paragraph" style:parent-style-name="Standard">
<loext:graphic-properties draw:fill-gradient-name="gradient" draw:fill-hatch-name="hatch"/>
<style:paragraph-properties fo:margin-left="0in" fo:margin-right="0in" fo:line-height="100%" fo:text-align="center" style:justify-single-word="false" fo:text-indent="0in" style:auto-text-indent="false"/>
<style:text-properties style:font-name="Roboto" fo:font-size="8pt" officeooo:paragraph-rsid="001d5a69" style:font-size-asian="8pt" style:font-size-complex="8pt"/>
</style:style>
<style:style style:name="P13" style:family="paragraph" style:parent-style-name="Standard">
<style:text-properties style:font-name="Open Sans Condensed" fo:font-size="8pt" officeooo:paragraph-rsid="001680e2" style:font-size-asian="8pt" style:font-size-complex="8pt"/>
</style:style>
<style:style style:name="P14" style:family="paragraph" style:parent-style-name="Standard">
<style:text-properties style:font-name="Linux Libertine Mono O" fo:font-size="8pt" officeooo:paragraph-rsid="001680e2" style:font-size-asian="8pt" style:font-size-complex="8pt"/>
</style:style>
<style:style style:name="P15" style:family="paragraph" style:parent-style-name="Standard">
<style:paragraph-properties fo:text-align="center" style:justify-single-word="false"/>
<style:text-properties style:font-name="Roboto" fo:font-size="6pt" style:font-size-asian="6pt" style:font-size-complex="6pt"/>
</style:style>
<style:style style:name="P16" style:family="paragraph" style:parent-style-name="Table_20_Contents">
<style:paragraph-properties fo:text-align="center" style:justify-single-word="false"/>
<style:text-properties style:font-name="Roboto" fo:font-size="6pt" fo:font-weight="bold" officeooo:rsid="0020cdde" officeooo:paragraph-rsid="0020cdde" style:font-size-asian="6pt" style:font-weight-asian="bold" style:font-size-complex="6pt" style:font-weight-complex="bold"/>
</style:style>
<style:style style:name="P17" style:family="paragraph" style:parent-style-name="Table_20_Contents">
<style:paragraph-properties fo:text-align="center" style:justify-single-word="false"/>
<style:text-properties style:font-name="Roboto" fo:font-size="6pt" fo:font-weight="bold" officeooo:rsid="00227d0e" officeooo:paragraph-rsid="00227d0e" style:font-size-asian="6pt" style:font-weight-asian="bold" style:font-size-complex="6pt" style:font-weight-complex="bold"/>
</style:style>
<style:style style:name="P18" style:family="paragraph" style:parent-style-name="Standard">
<style:paragraph-properties fo:text-align="center" style:justify-single-word="false"/>
<style:text-properties style:font-name="Roboto" fo:font-size="6pt" fo:font-style="normal" fo:font-weight="normal" style:font-size-asian="6pt" style:font-style-asian="normal" style:font-weight-asian="normal" style:font-size-complex="6pt" style:font-style-complex="normal" style:font-weight-complex="normal"/>
</style:style>
<style:style style:name="P19" style:family="paragraph" style:parent-style-name="Standard">
<style:paragraph-properties fo:text-align="center" style:justify-single-word="false"/>
<style:text-properties style:font-name="Roboto" fo:font-size="6pt" fo:font-style="normal" fo:font-weight="normal" officeooo:paragraph-rsid="0024198d" style:font-size-asian="6pt" style:font-style-asian="normal" style:font-weight-asian="normal" style:font-size-complex="6pt" style:font-style-complex="normal" style:font-weight-complex="normal"/>
</style:style>
<style:style style:name="P20" style:family="paragraph" style:parent-style-name="Table_20_Contents">
<style:paragraph-properties fo:text-align="start" style:justify-single-word="false"/>
<style:text-properties fo:font-size="8pt" style:font-size-complex="8pt"/>
</style:style>
<style:style style:name="P21" style:family="paragraph" style:parent-style-name="Table_20_Contents">
<style:paragraph-properties fo:text-align="center" style:justify-single-word="false"/>
<style:text-properties style:font-name="Roboto" fo:font-size="6pt" fo:font-weight="bold" officeooo:rsid="0024198d" officeooo:paragraph-rsid="0024198d" style:font-size-asian="6pt" style:font-weight-asian="bold" style:font-size-complex="6pt" style:font-weight-complex="bold"/>
</style:style>
<style:style style:name="P22" style:family="paragraph" style:parent-style-name="Text_20_body">
<style:paragraph-properties fo:text-align="start" style:justify-single-word="false"/>
<style:text-properties style:font-name="Open Sans Condensed" fo:font-size="8pt" fo:font-style="normal" fo:font-weight="normal" officeooo:paragraph-rsid="001efd2f" style:font-size-asian="8pt" style:font-style-asian="normal" style:font-weight-asian="normal" style:font-size-complex="8pt" style:font-style-complex="normal" style:font-weight-complex="normal"/>
</style:style>
<style:style style:name="T1" style:family="text">
<style:text-properties fo:font-weight="normal" officeooo:rsid="001680e2" style:font-weight-asian="normal" style:font-weight-complex="normal"/>
</style:style>
@ -492,8 +526,8 @@
<text:sequence-decl text:display-outline-level="0" text:name="Drawing"/>
<text:sequence-decl text:display-outline-level="0" text:name="Figure"/>
</text:sequence-decls>
<text:p text:style-name="P6"/>
<text:p text:style-name="P8"><draw:frame draw:style-name="fr1" draw:name="Imagen1 Copy 1" text:anchor-type="char" svg:x="0.5992in" svg:y="0.0016in" svg:width="1.6327in" svg:height="1.0209in" draw:z-index="0"><draw:image draw:mime-type="image/jpeg">
<text:p text:style-name="P9"/>
<text:p text:style-name="P13"><draw:frame draw:style-name="fr1" draw:name="Imagen1 Copy 1" text:anchor-type="char" svg:x="0.5992in" svg:y="0.0016in" svg:width="1.6327in" svg:height="1.0209in" draw:z-index="0"><draw:image draw:mime-type="image/jpeg">
<office:binary-data>/9j/4AAQSkZJRgABAQEAYABgAAD/4S6eRXhpZgAATU0AKgAAAAgABgALAAIAAAAmAAAIYgES
AAMAAAABAAEAAAExAAIAAAAmAAAIiAEyAAIAAAAUAAAIrodpAAQAAAABAAAIwuocAAcAAAgM
AAAAVgAAEUYc6gAAAAgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
@ -1640,54 +1674,91 @@
</office:binary-data>
</draw:image>
</draw:frame></text:p>
<text:p text:style-name="P11"/>
<text:p text:style-name="P15"><text:span text:style-name="T3">NIT:</text:span> <text:span text:style-name="T5">901575528</text:span></text:p>
<text:p text:style-name="P15">Regimen Común</text:p>
<text:p text:style-name="P16">TRANSV 46 E 42 ESTE 789 32667 </text:p>
<text:p text:style-name="P16">SANTA ELENA</text:p>
<text:p text:style-name="P10"><text:span text:style-name="T4">Cel:</text:span><text:span text:style-name="T1"> 301</text:span><text:span text:style-name="T2">4287624</text:span></text:p>
<text:p text:style-name="P7"/>
<text:p text:style-name="P7"/>
<text:p text:style-name="P14"/>
<text:p text:style-name="P6"><text:span text:style-name="T3">NIT:</text:span> <text:span text:style-name="T5">901575528</text:span></text:p>
<text:p text:style-name="P6">Regimen Común</text:p>
<text:p text:style-name="P7">TRANSV 46 E 42 ESTE 789 32667 </text:p>
<text:p text:style-name="P7">SANTA ELENA</text:p>
<text:p text:style-name="P12"><text:span text:style-name="T4">Cel:</text:span><text:span text:style-name="T1"> 301</text:span><text:span text:style-name="T2">4287624</text:span></text:p>
<text:p text:style-name="P10"/>
<text:p text:style-name="P10"/>
<table:table table:name="Table1" table:style-name="Table1">
<table:table-column table:style-name="Table1.A" table:number-columns-repeated="3"/>
<table:table-row table:style-name="Table1.1">
<table:table-cell table:style-name="Table1.A1" office:value-type="string">
<text:p text:style-name="P13">Base</text:p>
<text:p text:style-name="P16">Base</text:p>
</table:table-cell>
<table:table-cell table:style-name="Table1.A1" office:value-type="string">
<text:p text:style-name="P13">Impuestos</text:p>
<text:p text:style-name="P16">Impuestos</text:p>
</table:table-cell>
<table:table-cell table:style-name="Table1.C1" office:value-type="string">
<text:p text:style-name="P13">Total</text:p>
<text:p text:style-name="P16">Total</text:p>
</table:table-cell>
</table:table-row>
<table:table-row table:style-name="Table1.1">
<table:table-cell table:style-name="Table1.A2" office:value-type="string">
<text:p text:style-name="P12"><text:span text:style-name="T12"><text:placeholder text:placeholder-type="text">&lt;untaxed_amount&gt;</text:placeholder></text:span></text:p>
<text:p text:style-name="P18"><text:placeholder text:placeholder-type="text">&lt;untaxed_amount&gt;</text:placeholder></text:p>
</table:table-cell>
<table:table-cell table:style-name="Table1.A2" office:value-type="string">
<text:p text:style-name="P17"><text:placeholder text:placeholder-type="text">&lt;tax_amount&gt;</text:placeholder><text:s/></text:p>
<text:p text:style-name="P8"><text:placeholder text:placeholder-type="text">&lt;tax_amount&gt;</text:placeholder><text:s/></text:p>
</table:table-cell>
<table:table-cell table:style-name="Table1.C2" office:value-type="string">
<text:p text:style-name="P17"><text:placeholder text:placeholder-type="text">&lt;total_amount&gt;</text:placeholder></text:p>
<text:p text:style-name="P8"><text:placeholder text:placeholder-type="text">&lt;total_amount&gt;</text:placeholder></text:p>
</table:table-cell>
</table:table-row>
</table:table>
<text:p text:style-name="P9"/>
<text:p text:style-name="P11"/>
<text:p text:style-name="P5"><text:s/></text:p>
<table:table table:name="Table2" table:style-name="Table2">
<table:table-column table:style-name="Table2.A"/>
<table:table-column table:style-name="Table2.B"/>
<table:table-row table:style-name="Table2.1">
<table:table-cell table:style-name="Table2.A1" office:value-type="string">
<text:p text:style-name="P14">Pizzas vendidas</text:p>
<text:p text:style-name="P17">Pizzas vendidas</text:p>
</table:table-cell>
<table:table-cell table:style-name="Table2.B1" office:value-type="string">
<text:p text:style-name="P17"><text:placeholder text:placeholder-type="text">&lt;number_pizzas_sold&gt;</text:placeholder></text:p>
<text:p text:style-name="P8"><text:placeholder text:placeholder-type="text">&lt;number_pizzas_sold&gt;</text:placeholder></text:p>
</table:table-cell>
</table:table-row>
</table:table>
<text:p text:style-name="P5"/>
<text:p text:style-name="P5"><text:tab/></text:p>
<table:table table:name="Table3" table:style-name="Table3">
<table:table-column table:style-name="Table3.A" table:number-columns-repeated="3"/>
<table:table-row table:style-name="TableLine93942260567952">
<table:table-cell table:style-name="Table3.A1" table:number-columns-spanned="3" office:value-type="string">
<text:p text:style-name="P21">Extractos del día</text:p>
</table:table-cell>
<table:covered-table-cell/>
<table:covered-table-cell/>
</table:table-row>
<table:table-row table:style-name="TableLine93942260567952">
<table:table-cell table:style-name="Table3.A2" table:number-columns-spanned="3" office:value-type="string">
<text:p text:style-name="P19"><text:placeholder text:placeholder-type="text">&lt;for each=&quot;statement in statements&quot;&gt;</text:placeholder></text:p>
</table:table-cell>
<table:covered-table-cell/>
<table:covered-table-cell/>
</table:table-row>
<table:table-row table:style-name="TableLine93942260567952">
<table:table-cell table:style-name="Table3.A3" office:value-type="string">
<text:p text:style-name="P19"><text:placeholder text:placeholder-type="text">&lt;statement[&apos;name&apos;]&gt;</text:placeholder></text:p>
</table:table-cell>
<table:table-cell table:style-name="Table3.A3" office:value-type="string">
<text:p text:style-name="P19"><text:placeholder text:placeholder-type="text">&lt;statement[&apos;total_amount&apos;]&gt;</text:placeholder></text:p>
</table:table-cell>
<table:table-cell table:style-name="Table3.A2" office:value-type="string">
<text:p text:style-name="P20"/>
</table:table-cell>
</table:table-row>
<table:table-row table:style-name="TableLine93942260567952">
<table:table-cell table:style-name="Table3.A2" table:number-columns-spanned="3" office:value-type="string">
<text:p text:style-name="P19"><text:placeholder text:placeholder-type="text">&lt;/for&gt;</text:placeholder></text:p>
</table:table-cell>
<table:covered-table-cell/>
<table:covered-table-cell/>
</table:table-row>
</table:table>
<text:p text:style-name="P5"/>
</office:text>
</office:body>
</office:document>

View File

@ -57,13 +57,31 @@ class CashRegister(Report):
"Extracto"
__name__ = 'sale.cash_register'
def get_number_pizzas_sold(lines):
def _get_number_pizzas_sold(lines):
pizzas = 0
for line in lines:
if line.bougth_pizza:
if line.bought_pizza:
pizzas += line.quantity
return pizzas
def _get_statements_by_date(date):
pool = Pool()
User = pool.get('res.user')
Statement = pool.get('account.statement')
user = Transaction().user
user = User(user)
device = user.sale_device
if not device:
return
journals = [j.id for j in device.journals]
statements = Statement.search([
('journal', 'in', journals),
('state', 'in', ['validated', 'posted']),
('date', '=', date)
])
return statements
@classmethod
def get_context(cls, records, header, data):
report_context = super(
@ -79,21 +97,26 @@ class CashRegister(Report):
if not today_sales:
return
untaxed_amount = 0
tax_amount = 0
total_amount = 0
number_pizzas_sold = 0
for sale in today_sales:
untaxed_amount += sale.untaxed_amount
tax_amount += sale.tax_amount
number_pizzas_sold += cls.get_number_pizzas_sold(sale.lines)
number_pizzas_sold += cls._get_number_pizzas_sold(sale.lines)
total_amount+=sale.total_amount
statements = cls._get_statements_by_date(data['date'])
if statements:
report_context['statements'] = [{
'name': statement.journal.name,
'total_amount':statement.total_amount
} for statement in statements]
report_context['untaxed_amount'] = untaxed_amount
report_context['tax_amount'] = tax_amount
report_context['total_amount'] = total_amount
report_context['number_pizzas_sold'] = number_pizzas_sold
return report_context

View File

@ -329,7 +329,7 @@ class Line(metaclass=PoolMeta):
pizza = fields.Integer("Pizza")
impreso = fields.Boolean("Impreso")
bougth_pizza = fields.Boolean("Sold pizza")
bought_pizza = fields.Boolean("Sold pizza")
@fields.depends('product', 'unit', 'sale',
'_parent_sale.party', '_parent_sale.invoice_party',
@ -340,9 +340,9 @@ class Line(metaclass=PoolMeta):
super(Line, self).on_change_product()
if self.product and self.product.pizza:
self.pizza = self.sale.pizza_number
self.bougth_pizza = True
self.bought_pizza = True
else:
self.bougth_pizza = False
self.bought_pizza = False
def get_production(self):
"Return production for the sale line"

View File

@ -7,7 +7,7 @@
<field name="pizza"/>
<label name="impreso"/>
<field name="impreso"/>
<label name="bougth_pizza"/>
<field name="bougth_pizza"/>
<label name="bought_pizza"/>
<field name="bought_pizza"/>
</xpath>
</data>