Lines 14-20
return {
Link Here
|
14 |
}); |
14 |
}); |
15 |
} |
15 |
} |
16 |
|
16 |
|
17 |
my $notice_template = q{[%~ SET train = train_item.train ~%] |
17 |
my $notice_template = q{[%~ USE AuthorisedValues ~%] |
|
|
18 |
[%~ SET train = train_item.train ~%] |
18 |
[%~ SET item = train_item.catalogue_item ~%] |
19 |
[%~ SET item = train_item.catalogue_item ~%] |
19 |
Train name: [% train.name %] |
20 |
Train name: [% train.name %] |
20 |
Sent on: [% train.sent_on | $KohaDates %] |
21 |
Sent on: [% train.sent_on | $KohaDates %] |
Lines 24-30
Sent on: [% train.sent_on | $KohaDates %]
Link Here
|
24 |
Item number #[% train_item.user_train_item_id %] |
25 |
Item number #[% train_item.user_train_item_id %] |
25 |
|
26 |
|
26 |
[% FOREACH item_attribute IN train_item.attributes %] |
27 |
[% FOREACH item_attribute IN train_item.attributes %] |
27 |
[% item_attribute.processing_attribute.name %]: [% item_attribute.value %] |
28 |
[%~ SET value = item_attribute.value ~%] |
|
|
29 |
[%~ IF item_attribute.processing_attribute.type == 'authorised_value' ~%] |
30 |
[%~ SET value = AuthorisedValues.GetByCode(item_attribute.processing_attribute.option_source, item_attribute.value) ~%] |
31 |
[%~ END ~%] |
32 |
[% item_attribute.processing_attribute.name %]: [% value %] |
28 |
[% END %]}; |
33 |
[% END %]}; |
29 |
|
34 |
|
30 |
$dbh->do(q{ |
35 |
$dbh->do(q{ |