[%- USE HTML %] [%- USE L %] [%- USE LxERP %]

[%- LxERP.t8('Conversion of "birthday" contact person attribute') %]

[%- LxERP.t8('The contact person attribute "birthday" is converted from a free-form text field into a date field.') %] [%- LxERP.t8('This requires you to manually correct entries for which an automatic conversion failed and to check those for which it succeeded.') %]

[% BLOCK birthday_table %] [% FOREACH row IN data %] [% END %]
[%- LxERP.t8('Database ID') %] [%- LxERP.t8('Name') %] [%- LxERP.t8('Given Name') %] [%- LxERP.t8('Birthday (before conversion)') %] [%- LxERP.t8('Birthday (after conversion)') %]
[% row.cp_id %] [% row.cp_givenname | html %] [% row.cp_name | html %] [% row.cp_birthday_old | html %] [% L.date_tag('cp_birthday_'_ row.row_index, row.cp_birthday) %]
[% END %]

[%- LxERP.t8('Entries for which automatic conversion failed:') %]

[% PROCESS birthday_table data = data %]

[%- LxERP.t8('Entries for which automatic conversion succeeded:') %]

[% PROCESS birthday_table data = auto_data %]