Bug 19953: Record page: acquisition details: add column for invoice
Test plan: 1. create a vendor with minimal info 2. create a basket with minimal info 3. add a item to the basket 4. close the basket 5. receive a shipment 6. on the "receipt summary" click on "receive" for the wanted item (it should be the only one) 7. items → receive? → tick this checkbox 8. save 9. click on "finish receiving" 10. go to the record → Acquisition details 11. apply this patch 12. refresh the page 13. you should see the new column Signed-off-by: Séverine QUEUNE <severine.queune@bulac.fr> Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de> Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
This commit is contained in:
parent
18e02913a0
commit
c3f9b750e2
|
|
@ -684,6 +684,7 @@
|
|||
<thead>
|
||||
<tr>
|
||||
<th>Vendor</th>
|
||||
<th>Invoice</th>
|
||||
<th>Basket group</th>
|
||||
<th>Basket</th>
|
||||
<th>Order number</th>
|
||||
|
|
@ -702,6 +703,17 @@
|
|||
[% END %]
|
||||
</td>
|
||||
<td>
|
||||
[% IF (order.invoiceid) %]
|
||||
[% IF CAN_user_acquisition %]
|
||||
<a href="/cgi-bin/koha/acqui/invoice.pl?invoiceid=[% order.invoiceid %]"
|
||||
title="Invoice detail page">
|
||||
[% order.invoicenumber %]</a>
|
||||
[% ELSE %]
|
||||
[% order.invoicenumber %]
|
||||
[% END %]
|
||||
[% END %]
|
||||
</td>
|
||||
<td>
|
||||
[% IF (order.basketgroupid) %]
|
||||
[% IF CAN_user_acquisition_group_manage %]
|
||||
<a href="/cgi-bin/koha/acqui/basketgroup.pl?op=add&booksellerid=[% order.id %]&basketgroupid=[% order.basketgroupid %]">[% order.groupname %] ([% order.basketgroupid %])</a>
|
||||
|
|
|
|||
Loading…
Reference in New Issue