Permalink
Browse files

removed unneded files that came in the repo during the last commit

  • Loading branch information...
scaphilo committed Sep 30, 2011
1 parent 790c5fa commit 5fe135addb879f2db9ac60556f6442350e4c84db
View
@@ -1 +0,0 @@
-bash -c "fop -c /var/www/koalixcrm/media/uploads/templatefiles/fontconfig.xml -xml /var/www/koalixcrm/media/pdf/quote_2.xml -xsl /var/www/koalixcrm/media/uploads/templatefiles/quote.xsl -pdf /var/www/koalixcrm/media/pdf/quote_2.pdf"
View
Binary file not shown.
View
@@ -1,142 +0,0 @@
-<django-objects version="1.0">
- <object pk="2" model="crm.quote">
- <field type="DateField" name="validuntil">2011-09-30</field>
- <field type="CharField" name="status">I</field>
- </object>
- <object pk="2" model="crm.salescontract">
- <field to="crm.contract" name="contract" rel="ManyToOneRel">3</field>
- <field type="CharField" name="externalReference"/>
- <field type="DecimalField" name="discount">0.00</field>
- <field type="CharField" name="description">First offer in first contract :-)</field>
- <field type="DateField" name="lastPricingDate"><None/></field>
- <field type="DecimalField" name="lastCalculatedPrice"><None/></field>
- <field type="DecimalField" name="lastCalculatedTax"><None/></field>
- <field to="crm.customer" name="customer" rel="ManyToOneRel">1</field>
- <field to="auth.user" name="staff" rel="ManyToOneRel">1</field>
- <field to="crm.currency" name="currency" rel="ManyToOneRel">2</field>
- <field type="DateTimeField" name="dateofcreation">2011-09-30 23:53:34</field>
- <field type="DateTimeField" name="lastmodification">2011-09-30 23:44:24</field>
- <field to="auth.user" name="lastmodifiedby" rel="ManyToOneRel">1</field>
- </object>
- <object pk="1" model="crm.contact">
- <field type="CharField" name="name">Yann Brecht</field>
- <field type="DateTimeField" name="dateofcreation">2011-09-30 23:40:07</field>
- <field type="DateTimeField" name="lastmodification">2011-09-30 23:40:07</field>
- <field to="auth.user" name="lastmodifiedby" rel="ManyToOneRel">1</field>
- </object>
- <object pk="2" model="crm.currency">
- <field type="CharField" name="description">Swiss Franc</field>
- <field type="CharField" name="shortName">CHF</field>
- <field type="DecimalField" name="rounding">0.05</field>
- </object>
- <object pk="1" model="crm.salescontractposition">
- <field to="crm.salescontract" name="contract" rel="ManyToOneRel">2</field>
- </object>
- <object pk="1" model="crm.position">
- <field type="IntegerField" name="positionNumber">1</field>
- <field type="DecimalField" name="quantity">1.000</field>
- <field type="TextField" name="description">For changing the machine </field>
- <field type="DecimalField" name="discount">10.00</field>
- <field to="crm.product" name="product" rel="ManyToOneRel">1</field>
- <field to="crm.unit" name="unit" rel="ManyToOneRel">1</field>
- <field type="DateField" name="sentOn"><None/></field>
- <field to="crm.supplier" name="supplier" rel="ManyToOneRel"><None/></field>
- <field type="CharField" name="shipmentID"><None/></field>
- <field type="BooleanField" name="overwriteProductPrice">False</field>
- <field type="DecimalField" name="positionPricePerUnit"><None/></field>
- <field type="DateField" name="lastPricingDate"><None/></field>
- <field type="DecimalField" name="lastCalculatedPrice"><None/></field>
- <field type="DecimalField" name="lastCalculatedTax"><None/></field>
- </object>
- <object pk="1" model="crm.product">
- <field type="TextField" name="description">One man-hour work of one of our technicians</field>
- <field type="CharField" name="title">One man-hour of a technicians</field>
- <field type="IntegerField" name="productNumber">1</field>
- <field to="crm.unit" name="defaultunit" rel="ManyToOneRel">1</field>
- <field type="DateTimeField" name="dateofcreation">2011-09-30 23:46:30</field>
- <field type="DateTimeField" name="lastmodification">2011-09-30 23:46:30</field>
- <field to="auth.user" name="lastmodifiedby" rel="ManyToOneRel"><None/></field>
- <field to="crm.tax" name="tax" rel="ManyToOneRel">1</field>
- <field to="accounting.productcategorie" name="accoutingProductCategorie" rel="ManyToOneRel">1</field>
- </object>
- <object pk="1" model="crm.unit">
- <field type="CharField" name="description">Hour</field>
- <field type="CharField" name="shortName">h</field>
- <field to="crm.unit" name="isAFractionOf" rel="ManyToOneRel"><None/></field>
- <field type="IntegerField" name="fractionFactorToNextHigherUnit"><None/></field>
- </object>
- <object pk="1" model="auth.user">
- <field type="CharField" name="username">aaron</field>
- <field type="CharField" name="first_name"/>
- <field type="CharField" name="last_name"/>
- <field type="CharField" name="email">aaron.riedener@gmail.com</field>
- <field type="CharField" name="password">sha1$3ec80$726dac48302f455277dd00839e018a51d8a7f6c1</field>
- <field type="BooleanField" name="is_staff">True</field>
- <field type="BooleanField" name="is_active">True</field>
- <field type="BooleanField" name="is_superuser">True</field>
- <field type="DateTimeField" name="last_login">2011-09-30 23:16:54</field>
- <field type="DateTimeField" name="date_joined">2011-09-11 00:52:08</field>
- <field to="auth.group" name="groups" rel="ManyToManyRel"/>
- <field to="auth.permission" name="user_permissions" rel="ManyToManyRel"/>
- </object>
- <object pk="1" model="djangoUserExtension.userextension">
- <field to="auth.user" name="user" rel="ManyToOneRel">1</field>
- <field to="djangoUserExtension.templateset" name="defaultTemplateSet" rel="ManyToOneRel">1</field>
- <field to="crm.currency" name="defaultCurrency" rel="ManyToOneRel">1</field>
- </object>
- <object pk="1" model="crm.phoneaddress">
- <field type="CharField" name="phone">1293847</field>
- </object>
- <object pk="1" model="djangoUserExtension.templateset">
- <field type="CharField" name="organisationname">koalix Riedener</field>
- <field type="CharField" name="title">defaultTemplateSet</field>
- <field to="djangoUserExtension.xslfile" name="invoiceXSLFile" rel="ManyToOneRel">2</field>
- <field to="djangoUserExtension.xslfile" name="quoteXSLFile" rel="ManyToOneRel">3</field>
- <field to="djangoUserExtension.xslfile" name="purchaseconfirmationXSLFile" rel="ManyToOneRel">4</field>
- <field to="djangoUserExtension.xslfile" name="deilveryorderXSLFile" rel="ManyToOneRel">6</field>
- <field to="djangoUserExtension.xslfile" name="profitLossStatementXSLFile" rel="ManyToOneRel">5</field>
- <field to="djangoUserExtension.xslfile" name="balancesheetXSLFile" rel="ManyToOneRel">1</field>
- <field type="CharField" name="logo">logo.jpg</field>
- <field type="CharField" name="bankingaccountref">xx-xxxxxx-x</field>
- <field type="CharField" name="addresser">John Smit, Sample Company, 8976 Smallville</field>
- <field type="CharField" name="fopConfigurationFile">fontconfig.xml</field>
- <field type="TextField" name="footerTextsalesorders">Thank you for your interest in our company
- Best regards</field>
- <field type="TextField" name="headerTextsalesorders">According to your wishes the contract consists of the following positions:</field>
- <field type="TextField" name="headerTextpurchaseorders">We would like to order the following positions:</field>
- <field type="TextField" name="footerTextpurchaseorders">Best regards</field>
- <field type="CharField" name="pagefooterleft">Sample Company</field>
- <field type="CharField" name="pagefootermiddle">Sample Address</field>
- </object>
- <object pk="1" model="auth.user">
- <field type="CharField" name="username">aaron</field>
- <field type="CharField" name="first_name"/>
- <field type="CharField" name="last_name"/>
- <field type="CharField" name="email">aaron.riedener@gmail.com</field>
- <field type="CharField" name="password">sha1$3ec80$726dac48302f455277dd00839e018a51d8a7f6c1</field>
- <field type="BooleanField" name="is_staff">True</field>
- <field type="BooleanField" name="is_active">True</field>
- <field type="BooleanField" name="is_superuser">True</field>
- <field type="DateTimeField" name="last_login">2011-09-30 23:16:54</field>
- <field type="DateTimeField" name="date_joined">2011-09-11 00:52:08</field>
- <field to="auth.group" name="groups" rel="ManyToManyRel"/>
- <field to="auth.permission" name="user_permissions" rel="ManyToManyRel"/>
- </object>
- <object pk="2" model="crm.postaladdressforcontact">
- <field type="CharField" name="purpose">H</field>
- <field to="crm.contact" name="person" rel="ManyToOneRel">1</field>
- </object>
- <object pk="2" model="crm.postaladdress">
- <field type="CharField" name="prefix">H</field>
- <field type="CharField" name="name">Brecht</field>
- <field type="CharField" name="prename">Yann</field>
- <field type="CharField" name="addressline1">Hombrechtikonstrasse</field>
- <field type="CharField" name="addressline2"/>
- <field type="CharField" name="addressline3"/>
- <field type="CharField" name="addressline4"/>
- <field type="IntegerField" name="zipcode">8000</field>
- <field type="CharField" name="town">Z&#252;rich</field>
- <field type="CharField" name="state">ZH</field>
- <field type="CharField" name="country">CH</field>
- </object>
-<projectroot>/var/www/koalixcrm/</projectroot></django-objects>
@@ -1,226 +0,0 @@
-<xsl:stylesheet
- xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0"
- xmlns:fo="http://www.w3.org/1999/XSL/Format">
-<xsl:decimal-format name="european" decimal-separator="," grouping-separator="."/>
-<xsl:template match ="koalixaccountingbalacesheet">
- <fo:root xmlns:fo="http://www.w3.org/1999/XSL/Format">
- <!-- defines page layout -->
- <fo:layout-master-set>
- <fo:simple-page-master master-name="simple"
- page-height="29.7cm"
- page-width="21cm"
- margin-top="1.5cm"
- margin-bottom="0.5cm"
- margin-left="1.5cm"
- margin-right="1.5cm">
- <fo:region-body margin-top="10.5cm" margin-bottom="1.5cm"/>
- <fo:region-before extent="10.5cm"/>
- <fo:region-after extent="1.5cm"/>
- </fo:simple-page-master>
- </fo:layout-master-set>
- <fo:page-sequence master-reference="simple">
- <fo:static-content flow-name="xsl-region-before" >
- <fo:table table-layout="fixed" width="100%">
- <fo:table-column column-width="18.0cm"/>
- <fo:table-body font-size="9pt"
- font-family="BitstreamVeraSans">
- <fo:table-row height="2cm" border-bottom-color="black" border-bottom-style="solid" border-bottom-width="0.5pt">
- <fo:table-cell padding-bottom="3pt" >
- <fo:block text-align="left" >
- <fo:external-graphic content-width="6.0cm">
- <xsl:attribute name="src">
- <xsl:value-of select="headerpicture"/>
- </xsl:attribute>
- </fo:external-graphic>
- </fo:block>
- </fo:table-cell>
- </fo:table-row>
- </fo:table-body>
- </fo:table>
- <fo:block font-size="13pt"
- font-family="BitstreamVeraSans"
- color="black"
- text-align="left"
- font-weight="bold">
- Balanancesheet of <xsl:value-of select="organisationname"/>
- </fo:block>
- </fo:static-content>
- <fo:static-content flow-name="xsl-region-after" >
- <fo:block font-size="8pt"
- font-family="BitstreamVeraSans"
- text-align="left">&#8201; </fo:block>
- <fo:table table-layout="fixed" width="100%">
- <fo:table-column column-width="15.0cm"/>
- <fo:table-column column-width="3.0cm"/>
- <fo:table-body>
- <fo:table-row border-top-color="black" border-top-style="solid" border-top-width="0.5pt">
- <fo:table-cell number-columns-spanned="2">
- <fo:block font-size="5pt"
- font-family="BitstreamVeraSans"
- text-align="left"
- font-weight="bold"
- >&#8201; </fo:block>
- </fo:table-cell>
- </fo:table-row>
- <fo:table-row>
- <fo:table-cell>
- <fo:block font-size="8pt"
- font-family="BitstreamVeraSans"
- font-weight="bold"
- text-align="end">Page <fo:page-number/>/<fo:page-number-citation ref-id="last-page"/></fo:block>
- </fo:table-cell>
- </fo:table-row>
- </fo:table-body>
- </fo:table>
- </fo:static-content>
- <fo:flow flow-name="xsl-region-body">
-
- <fo:block font-size="9pt"
- font-family="BitstreamVeraSans"
- text-align="left"
- line-height="13pt" >Assets</fo:block>
- <fo:table table-layout="fixed" width="100%">
- <fo:table-column column-width="3cm"/>
- <fo:table-column column-width="11cm"/>
- <fo:table-column column-width="3cm"/>
- <fo:table-header font-size="9pt" line-height="9pt" font-weight="bold" font-family="BitstreamVeraSans">
- <fo:table-cell border-color="black" border-style="solid" border-width="0.5pt" padding="2.5pt">
- <fo:block text-align="start" >
- Account Number
- </fo:block>
- </fo:table-cell>
- <fo:table-cell border-color="black" border-style="solid" border-width="0.5pt" padding="2.5pt">
- <fo:block text-align="start" >
- Account
- </fo:block>
- </fo:table-cell>
- <fo:table-cell border-color="black" border-style="solid" border-width="0.5pt" padding="2.5pt">
- <fo:block text-align="end" >
- Value
- </fo:block>
- </fo:table-cell>
- </fo:table-header>
- <xsl:choose>
- <xsl:when test="Account[accountType='A']/None">-</xsl:when>
- <xsl:otherwise>
- <fo:table-body font-size="9pt"
- font-family="BitstreamVeraSans">
- <xsl:for-each select="Account[@accountType='A']">
- <xsl:sort select="AccountNumber" data-type="number"/>
- <fo:table-row keep-together="always">
- <fo:table-cell border-color="black" border-style="solid" border-width="0.5pt" padding="2.5pt">
- <fo:block text-align="start" >
- <xsl:value-of select="AccountNumber"/>
- </fo:block>
- </fo:table-cell>
- <fo:table-cell border-color="black" border-style="solid" border-width="0.5pt" padding="2.5pt">
- <fo:block text-align="start" >
- <xsl:value-of select="accountName"/>
- </fo:block>
- </fo:table-cell>
- <fo:table-cell border-color="black" border-style="solid" border-width="0.5pt" padding="2.5pt">
- <fo:block text-align="end" >
- <xsl:value-of select="format-number(currentValue,'#.##0,00', 'european')"/> CHF
- </fo:block>
- </fo:table-cell>
- </fo:table-row>
- </xsl:for-each>
- </fo:table-body>
- </xsl:otherwise>
- </xsl:choose>
- </fo:table>
- <fo:block font-size="9pt"
- font-family="BitstreamVeraSans"
- text-align="left"
- line-height="13pt"
- padding-top="0.7cm">Liabilities</fo:block>
- <fo:table table-layout="fixed" width="100%">
- <fo:table-column column-width="3cm"/>
- <fo:table-column column-width="11cm"/>
- <fo:table-column column-width="3cm"/>
- <fo:table-body font-size="9pt"
- font-family="BitstreamVeraSans">
- <fo:table-cell border-color="black" border-style="solid" border-width="0.5pt" padding="2.5pt">
- <fo:block text-align="start" font-size="9pt" line-height="9pt" font-weight="bold" font-family="BitstreamVeraSans" >
- Account Number
- </fo:block>
- </fo:table-cell>
- <fo:table-cell border-color="black" border-style="solid" border-width="0.5pt" padding="2.5pt">
- <fo:block text-align="start" >
- Account
- </fo:block>
- </fo:table-cell>
- <fo:table-cell border-color="black" border-style="solid" border-width="0.5pt" padding="2.5pt">
- <fo:block text-align="end" >
- Value
- </fo:block>
- </fo:table-cell>
- <xsl:for-each select="Account[@accountType='L']">
- <xsl:sort select="AccountNumber" data-type="number"/>
- <fo:table-row keep-together="always">
- <fo:table-cell border-color="black" border-style="solid" border-width="0.5pt" padding="2.5pt">
- <fo:block text-align="start" >
- <xsl:value-of select="AccountNumber"/>
- </fo:block>
- </fo:table-cell>
- <fo:table-cell border-color="black" border-style="solid" border-width="0.5pt" padding="2.5pt">
- <fo:block text-align="start" >
- <xsl:value-of select="accountName"/>
- </fo:block>
- </fo:table-cell>
- <fo:table-cell border-color="black" border-style="solid" border-width="0.5pt" padding="2.5pt">
- <fo:block text-align="end" >
- <xsl:value-of select="format-number(currentValue,'#.##0,00', 'european')"/> CHF
- </fo:block>
- </fo:table-cell>
- </fo:table-row>
- </xsl:for-each>
- </fo:table-body>
- </fo:table>
- <fo:block font-size="9pt"
- font-family="BitstreamVeraSans"
- text-align="left"
- line-height="13pt"
- padding-top="0.7cm">Profit/Loss</fo:block>
- <fo:table table-layout="fixed" width="100%">
- <fo:table-column column-width="3cm"/>
- <fo:table-column column-width="11cm"/>
- <fo:table-column column-width="3cm"/>
- <fo:table-body font-size="9pt"
- font-family="BitstreamVeraSans">
- <fo:table-row keep-together="always">
- <fo:table-cell border-color="black" border-style="solid" border-width="0.5pt" padding="2.5pt">
- <fo:block text-align="start" >
- <xsl:choose>
- <xsl:when test="ProfitLoss &gt; 0">
- Profit</xsl:when>
- <xsl:otherwise>
- Loss
- </xsl:otherwise>
- </xsl:choose>
- </fo:block>
- </fo:table-cell>
- <fo:table-cell border-color="black" border-style="solid" border-width="0.5pt" padding="2.5pt">
- <fo:block text-align="start" >
- </fo:block>
- </fo:table-cell>
- <fo:table-cell border-color="black" border-style="solid" border-width="0.5pt" padding="2.5pt">
- <fo:block text-align="end" >
- <xsl:value-of select="format-number(ProfitLoss,'#.##0,00', 'european')"/> CHF
- </fo:block>
- </fo:table-cell>
- </fo:table-row>
- </fo:table-body>
- </fo:table>
- <fo:block font-size="10pt"
- font-family="BitstreamVeraSans"
- text-align="left"
- line-height="13pt"
- id="last-page">-
- </fo:block>
- </fo:flow>
- <xsl:apply-templates/>
- </fo:page-sequence>
- </fo:root>
-</xsl:template>
-</xsl:stylesheet>

Large diffs are not rendered by default.

Oops, something went wrong.

Large diffs are not rendered by default.

Oops, something went wrong.
Oops, something went wrong.

0 comments on commit 5fe135a

Please sign in to comment.