Update the CheckOutItemResponse.inc template file.
[working/NCIPServer.git] / templates / includes / CheckOutItemResponse.inc
index 3b6a74d..661a94b 100644 (file)
@@ -1,6 +1,4 @@
-<DateDue>[% datedue %]</DateDue>
-<UniqueItemId>
-<ItemIdentifierValue>[% barcode | xml %]</ItemIdentifierValue>
-</UniqueItemId>
-<UserOptionalFields>
-</UserOptionalFields>
+[% INCLUDE "includes/CheckInItemResponse.inc" %]
+[% IF data.DateDue -%]
+<DateDue>[% data.DateDue | xml %]</DateDue>
+[% END -%]