chrono.xml
1 |
<?xml version="1.0" encoding="utf-8"?>
|
---|---|
2 |
<!--
|
3 |
|
4 |
Used model for all chrono number
|
5 |
|
6 |
Parameters :
|
7 |
|
8 |
id : chrono id, must be the same in the php code (define_mail_categories.php)
|
9 |
|
10 |
separator : if the value is not empty, each elements in the chrono number is cut by the separator
|
11 |
|
12 |
maarch_var : var used in php code
|
13 |
|
14 |
date : return date Y m or d
|
15 |
- year
|
16 |
- month
|
17 |
- day
|
18 |
- full date (return day.month.year)
|
19 |
maarch_functions:
|
20 |
- chr_global : execute new chrono number for each ressources, this number is restored when the next year began
|
21 |
- chr_by_entity : execute new chrono number for each ressources by entity
|
22 |
- category_char : return a signle letter -> E for incoming, S for outgoing
|
23 |
- chr_by_category : execute new chrono number for each ressources by category
|
24 |
- chr_by_res_id : execute new chrono number for each ressources by res_id
|
25 |
|
26 |
|
27 |
text : return string element writted in value tag
|
28 |
|
29 |
-->
|
30 |
<root>
|
31 |
<CHRONO>
|
32 |
<id>incoming</id> |
33 |
<separator></separator> |
34 |
<ELEMENT>
|
35 |
<type>date</type> |
36 |
<value>year</value> |
37 |
</ELEMENT>
|
38 |
<ELEMENT>
|
39 |
<type>maarch_functions</type> |
40 |
<value>category_char</value> |
41 |
</ELEMENT>
|
42 |
<ELEMENT>
|
43 |
<type>maarch_functions</type> |
44 |
<value>chr_by_category</value> |
45 |
</ELEMENT>
|
46 |
<ELEMENT>
|
47 |
<type>text</type> |
48 |
<value>/</value> |
49 |
</ELEMENT>
|
50 |
<ELEMENT>
|
51 |
<type>maarch_functions</type> |
52 |
<value>chr_by_entity</value> |
53 |
</ELEMENT>
|
54 |
</CHRONO>
|
55 |
<CHRONO>
|
56 |
<id>outgoing</id> |
57 |
<separator></separator> |
58 |
<ELEMENT>
|
59 |
<type>date</type> |
60 |
<value>year</value> |
61 |
</ELEMENT>
|
62 |
<ELEMENT>
|
63 |
<type>maarch_functions</type> |
64 |
<value>category_char</value> |
65 |
</ELEMENT>
|
66 |
<ELEMENT>
|
67 |
<type>maarch_functions</type> |
68 |
<value>chr_by_category</value> |
69 |
</ELEMENT>
|
70 |
<ELEMENT>
|
71 |
<type>text</type> |
72 |
<value>/</value> |
73 |
</ELEMENT>
|
74 |
<ELEMENT>
|
75 |
<type>maarch_functions</type> |
76 |
<value>chr_by_entity</value> |
77 |
</ELEMENT>
|
78 |
</CHRONO>
|
79 |
<CHRONO>
|
80 |
<id>internal</id> |
81 |
<separator>/</separator> |
82 |
<ELEMENT>
|
83 |
<type>text</type> |
84 |
<value>internal</value> |
85 |
</ELEMENT>
|
86 |
<ELEMENT>
|
87 |
<type>date</type> |
88 |
<value>full_date</value> |
89 |
</ELEMENT>
|
90 |
<ELEMENT>
|
91 |
<type>maarch_functions</type> |
92 |
<value>chr_by_category</value> |
93 |
</ELEMENT>
|
94 |
</CHRONO>
|
95 |
</root>
|