Fixed print Maintenance.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@595906 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Adrian Crum
2007-11-17 04:11:59 +00:00
parent 4c77413090
commit bececad582
2 changed files with 28 additions and 28 deletions
@@ -192,7 +192,7 @@
<view-map name="EditWorkEffortTimeEntries" type="screen" page="component://assetmaint/widget/AssetmaintScreens.xml#EditWorkEffortTimeEntries"/>
<view-map name="EditWorkEffortNotes" type="screen" page="component://assetmaint/widget/AssetmaintScreens.xml#EditWorkEffortNotes"/>
<view-map name="EditItemIssuances" type="screen" page="component://assetmaint/widget/AssetmaintScreens.xml#EditItemIssuances"/>
<view-map name="PrintFixedAssetMaint" type="screenfop" page="component://assetmaint/widget/AssetmaintScreens.xml#PrintFixedAssetMaint"/>
<view-map name="PrintFixedAssetMaint" type="screenfop" page="component://assetmaint/widget/AssetmaintScreens.xml#PrintFixedAssetMaint" content-type="application/pdf"/>
<!-- Lookup request mappings -->
<view-map name="LookupFixedAsset" type="screen" page="component://accounting/widget/LookupScreens.xml#LookupFixedAsset"/>
@@ -167,17 +167,17 @@ under the License.
</fo:table>
<#-- End Print Maintenance Schedule Information -->
<fo:table table-layout="fixed" border-spacing="3pt" border-style="solid" border-width="1pt">
<fo:table-column column-width="6.5in"/>
<fo:table-column column-width="1.5in"/>
<fo:table-header>
<fo:table-row>
<fo:table-cell><fo:block font-weight="bold">${uiLabelMap.FixedAssetMaintItemIssuance}</fo:block></fo:table-cell>
<fo:table-cell text-align="center"><fo:block font-weight="bold">${uiLabelMap.OrderQuantity}</fo:block></fo:table-cell>
</fo:table-row>
</fo:table-header>
<fo:table-body>
<#if itemIssuanceList?has_content>
<#if itemIssuanceList?has_content>
<fo:table table-layout="fixed" border-spacing="3pt" border-style="solid" border-width="1pt">
<fo:table-column column-width="6.5in"/>
<fo:table-column column-width="1.5in"/>
<fo:table-header>
<fo:table-row>
<fo:table-cell><fo:block font-weight="bold">${uiLabelMap.FixedAssetMaintItemIssuance}</fo:block></fo:table-cell>
<fo:table-cell text-align="center"><fo:block font-weight="bold">${uiLabelMap.OrderQuantity}</fo:block></fo:table-cell>
</fo:table-row>
</fo:table-header>
<fo:table-body>
<#list itemIssuanceList as itemIssuance>
<#assign productId = itemIssuance.productId?if_exists>
<#assign quantity = itemIssuance.quantity?default(0)>
@@ -192,23 +192,23 @@ under the License.
<fo:table-cell text-align="center"><fo:block>${quantity}</fo:block></fo:table-cell>
</fo:table-row>
</#list>
</#if>
</fo:table-body>
</fo:table>
</fo:table-body>
</fo:table>
</#if>
<fo:table table-layout="fixed" border-spacing="3pt" border-style="solid" border-width="1pt">
<fo:table-column column-width="8in"/>
<fo:table-header>
<fo:table-row>
<fo:table-cell><fo:block font-weight="bold">${uiLabelMap.WorkEffortNotes}</fo:block></fo:table-cell>
</fo:table-row>
</fo:table-header>
<fo:table-body>
<#if notes?has_content>
<#if notes?has_content>
<fo:table table-layout="fixed" border-spacing="3pt" border-style="solid" border-width="1pt">
<fo:table-column column-width="8in"/>
<fo:table-header>
<fo:table-row>
<fo:table-cell><fo:block font-weight="bold">${uiLabelMap.WorkEffortNotes}</fo:block></fo:table-cell>
</fo:table-row>
</fo:table-header>
<fo:table-body>
<#list notes as note>
<fo:table-row>
<fo:table-cell>
<fo:block>Auther : ${Static["org.ofbiz.party.party.PartyHelper"].getPartyName(delegator, note.noteParty, true)}</fo:block>
<fo:block>Author : ${Static["org.ofbiz.party.party.PartyHelper"].getPartyName(delegator, note.noteParty, true)}</fo:block>
<fo:block>Date : ${note.noteDateTime?string.short}</fo:block>
<#escape x as x?html>
<fo:block>${note.noteInfo?if_exists}</fo:block>
@@ -216,9 +216,9 @@ under the License.
</fo:table-cell>
</fo:table-row>
</#list>
</#if>
</fo:table-body>
</fo:table>
</fo:table-body>
</fo:table>
</#if>
</fo:flow>
</fo:page-sequence>