~unifield-team/unifield-wm/us-671-homere

« back to all changes in this revision

Viewing changes to msf_audittrail/report/log_line.rml

  • Committer: jf
  • Date: 2011-12-28 18:41:15 UTC
  • mfrom: (426.19.21 uf-639)
  • Revision ID: jf@ubuntu-20111228184115-gpwo78nopvjc8xht
UF-639 [MERGE] Document changes track

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
<?xml version="1.0"?>
 
2
<document filename="log_lines.pdf">
 
3
  <template pageSize="(842.0,595.0)" title="Track modifications" author="Unifield" allowSplitting="20">
 
4
    <pageTemplate id="first">
 
5
      <frame id="first" x1="42.0" y1="57.0" width="780" height="481"/>
 
6
    </pageTemplate>
 
7
  </template>
 
8
  <stylesheet>
 
9
    <blockTableStyle id="Standard_Outline">
 
10
      <blockAlignment value="LEFT"/>
 
11
      <blockValign value="TOP"/>
 
12
    </blockTableStyle>
 
13
    <blockTableStyle id="Tableau1">
 
14
      <blockAlignment value="LEFT"/>
 
15
      <blockValign value="TOP"/>
 
16
      <lineStyle kind="LINEBEFORE" colorName="#000000" start="0,0" stop="0,-1"/>
 
17
      <lineStyle kind="LINEAFTER" colorName="#000000" start="0,0" stop="0,-1"/>
 
18
      <lineStyle kind="LINEABOVE" colorName="#000000" start="0,0" stop="0,0"/>
 
19
      <lineStyle kind="LINEBELOW" colorName="#000000" start="0,-1" stop="0,-1"/>
 
20
    </blockTableStyle>
 
21
    <blockTableStyle id="Tableau2">
 
22
      <blockAlignment value="LEFT"/>
 
23
      <blockValign value="TOP"/>
 
24
      <lineStyle kind="GRID" colorName="#000000" />
 
25
    </blockTableStyle>
 
26
    <initialize>
 
27
      <paraStyle name="all" alignment="justify"/>
 
28
    </initialize>
 
29
    <paraStyle name="P1" fontName="Helvetica" fontSize="8.0" leading="10" alignment="LEFT" spaceBefore="0.0" spaceAfter="0.0"/>
 
30
    <paraStyle name="P2" fontName="Helvetica" fontSize="8.0" leading="10" alignment="LEFT" spaceBefore="0.0" spaceAfter="0.0"/>
 
31
    <paraStyle name="P3" fontName="Helvetica-Bold" fontSize="14.0" leading="17" alignment="CENTER" spaceBefore="0.0" spaceAfter="0.0"/>
 
32
    <paraStyle name="P4" fontName="Helvetica" fontSize="8.0" leading="10" alignment="CENTER"/>
 
33
    <paraStyle name="P4right" fontName="Helvetica" fontSize="8.0" leading="10" alignment="RIGHT"/>
 
34
    <paraStyle name="P4left" fontName="Helvetica" fontSize="8.0" leading="10" alignment="LEFT"/>
 
35
    <paraStyle name="P5" fontName="Helvetica-Bold" fontSize="8.0" leading="10" alignment="CENTER"/>
 
36
    <paraStyle name="Standard" fontName="Helvetica"/>
 
37
    <paraStyle name="Heading" fontName="Helvetica" fontSize="14.0" leading="17" spaceBefore="12.0" spaceAfter="6.0"/>
 
38
    <paraStyle name="Text body" fontName="Helvetica" spaceBefore="0.0" spaceAfter="6.0"/>
 
39
    <paraStyle name="List" fontName="Helvetica" spaceBefore="0.0" spaceAfter="6.0"/>
 
40
    <paraStyle name="Caption" fontName="Helvetica" fontSize="12.0" leading="15" spaceBefore="6.0" spaceAfter="6.0"/>
 
41
    <paraStyle name="Index" fontName="Helvetica"/>
 
42
    <paraStyle name="terp_header" fontName="Helvetica-Bold" fontSize="15.0" leading="19" alignment="LEFT" spaceBefore="12.0" spaceAfter="6.0"/>
 
43
    <paraStyle name="terp_default_8" fontName="Helvetica" fontSize="8.0" leading="10" alignment="LEFT" spaceBefore="0.0" spaceAfter="0.0"/>
 
44
    <paraStyle name="Table Contents" fontName="Helvetica"/>
 
45
    <paraStyle name="Table Heading" fontName="Helvetica" alignment="CENTER"/>
 
46
    <images/>
 
47
  </stylesheet>
 
48
  <story>
 
49
    <para style="terp_default_8">[[repeatIn([objects[0]],'o')]]</para>
 
50
    <para style="P1">[[ setLang(o.user_id.context_lang) ]]</para>
 
51
    <para style="P2">
 
52
      <font face="Helvetica" size="8.0"> </font>
 
53
    </para>
 
54
    <blockTable colWidths="780.0" style="Tableau1">
 
55
      <tr>
 
56
        <td>
 
57
          <para style="P3">
 
58
            <font face="Helvetica">Modifications on [[ order_id(o.id).name ]]</font>
 
59
          </para>
 
60
        </td>
 
61
      </tr>
 
62
    </blockTable>
 
63
    <para style="P2">
 
64
      <font face="Helvetica" size="8.0"> </font>
 
65
    </para>
 
66
    <blockTable colWidths="45.0,90.0,70.0,90.0,190.0,110.0,110.0,75.0" style="Tableau2">
 
67
      <tr>
 
68
        <td>
 
69
          <para style="P5">Log ID</para>
 
70
        </td>
 
71
        <td>
 
72
          <para style="P5">Date</para>
 
73
        </td>
 
74
        <td>
 
75
          <para style="P5">Order Line</para>
 
76
        </td>
 
77
        <td>
 
78
          <para style="P5">Method</para>
 
79
        </td>
 
80
        <td>
 
81
          <para style="P5">Field description</para>
 
82
        </td>
 
83
        <td>
 
84
          <para style="P5">Old value</para>
 
85
        </td>
 
86
        <td>
 
87
          <para style="P5">New value</para>
 
88
        </td>
 
89
        <td>
 
90
          <para style="P5">User</para>
 
91
        </td>
 
92
      </tr>
 
93
      <tr>
 
94
        <td>
 
95
          <para style="P4">[[ repeatIn(get_lines(order_id(o.id)), 'line') ]]</para>
 
96
          <para style="P4">[[ line.log ]]</para>
 
97
        </td>
 
98
        <td>
 
99
          <para style="P4">[[ formatLang(line.timestamp, date_time=True) ]]</para>
 
100
        </td>
 
101
        <td>
 
102
          <para style="P4">[[ line.sub_obj_name ]]</para>
 
103
        </td>
 
104
        <td>
 
105
          <para style="P4">[[ get_method(line, 'method') ]]</para>
 
106
        </td>
 
107
        <td>
 
108
          <para style="P4left">[[ line.field_description ]]</para>
 
109
        </td>
 
110
        <td>
 
111
          <para style="P4">[[ line.old_value ]]</para>
 
112
        </td>
 
113
        <td>
 
114
          <para style="P4">[[ line.new_value ]]</para>
 
115
        </td>
 
116
        <td>
 
117
          <para style="P4">[[ line.user_id.name ]]</para>
 
118
        </td>
 
119
      </tr>
 
120
    </blockTable>
 
121
    <para style="P2">
 
122
      <font face="Helvetica" size="8.0"/>
 
123
    </para>
 
124
  </story>
 
125
</document>
 
126