Bug 18952: Add internal note to acq details tab
authorKatrin Fischer <katrin.fischer.83@web.de>
Mon, 4 Feb 2019 20:36:08 +0000 (21:36 +0100)
committerNick Clemens <nick@bywatersolutions.com>
Fri, 15 Mar 2019 19:38:39 +0000 (19:38 +0000)
Any important notes about an order are usually added to the
internal note. This patch makes the note visible on the
acq detail tab in the staff client.

To test:
- Add a basket
- Order something
- Add an internal note for the order
- Go to the detail page of the ordered record
- Switch to the Acquisition details tab
- Verify that with the patch the internal note shows
- Verify that the new column can be toggled using the
  column visibility settings

Signed-off-by: Maryse Simard <maryse.simard@inlibro.com>
Signed-off-by: Pierre-Marc Thibault <pierre-marc.thibault@inLibro.com>

Signed-off-by: Josef Moravec <josef.moravec@gmail.com>

Signed-off-by: Nick Clemens <nick@bywatersolutions.com>

admin/columns_settings.yml
koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/detail.tt

index d0ad093..30f8514 100644 (file)
@@ -199,6 +199,8 @@ modules:
         -
           columnname: quantity
         -
+          columnname: order_internalnote
+        -
           columnname: subscription
         -
           columnname: subscription_callnumber
index 55e52be..e369043 100644 (file)
           <th class="title-string">Receive date</th>
           <th>Status</th>
           <th>Quantity</th>
+          <th>Internal note</th>
           <th>Subscription</th>
           <th>Subscription callnumber</th>
         </tr>
               [% END %]
             </td>
             <td>[% order.quantity | html %]</td>
+            <td>[% order.order_internalnote | html %]</td>
             <td>
                 [% IF order.subscriptionid %]
                     <a href="/cgi-bin/koha/serials/subscription-detail.pl?subscriptionid=[% order.subscriptionid | uri %]">[% order.subscriptionid | html %]</a>