dojo.query('[name=notes_count]', row)[0].innerHTML = li.lineitem_notes().length;
dojo.query('[name=noteslink]', row)[0].onclick = function() {self.drawLiNotes(li)};
+ if(li.purchase_order() && !this.isPO) {
+ openils.Util.show(nodeByName('po', row), 'inline');
+ nodeByName('po_link', row).setAttribute('href', oilsBasePath + '/acq/po/view/' + li.purchase_order());
+ }
+
var countNode = nodeByName('count', row);
countNode.innerHTML = li.item_count() || 0;
countNode.id = 'acq-lit-copy-count-label-' + li.id();
<tbody>
<tr>
<td rowspan='2' style='width:43px;'><img style='width:40px;height:65px;' name='jacket'></img></td>
- <td style='width:70%;font-weight:bold;'><a attr='title' href='javascript:void(0);'></a></td>
+ <td style='width:70%;font-weight:bold;'>
+ <a attr='title' href='javascript:void(0);'></a>
+ <span name='po' class='hidden'>(<a name='po_link' href='javascript:void(0);'>PO</a>)</span>
+ </td>
<td rowspan='2' style='text-align:right'>
</td>
</tr>