Bug 17691 - add serial subscription
authorGrace McKenzie <grace.mcky@gmail.com>
Wed, 18 Jan 2017 02:20:05 +0000 (02:20 +0000)
committerKyle M Hall <kyle@bywatersolutions.com>
Thu, 19 Jan 2017 13:37:32 +0000 (13:37 +0000)
Adding some subscription information to the vendor page

To test
- Search for a vendor, access profile
- Under Contact, Subscription details

Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Fixed a missing </div>

Signed-off-by: Jonathan Druart <jonathan.druart@biblibre.com>
koha-tmpl/intranet-tmpl/prog/en/modules/acqui/supplier.tt

index e02dabf..8d8e9fd 100644 (file)
@@ -370,6 +370,19 @@ function delete_contact(ev) {
                 [% END %]
             </div>
 
+            <div>
+
+                <div class="subscription-details">
+                    <h2>Subscription details</h2>
+                    <p><strong>Number of subscriptions: </strong>[% subscriptioncount %]
+                    [% IF subscriptioncount == 1 %] subscription [% ELSE %]
+                    subscriptions [% END %]
+                    </p>
+                </div>
+
+
+            </div>
+
         </div>
 
         [% IF ( contracts ) %]