<div dojoType="dijit.layout.ContentPane" layoutAlign="client">
-
<div dojoType="dijit.layout.TabContainer" style="width: 96%; height: 100%;">
<div dojoType="dijit.layout.ContentPane"
class='oils-acq-detail-content-pane' title="Invoice" selected='true' style='height:600px'>
<div name='title_details'></div>
<div name='note'></div>
</td>
- <td class='acq-invoice-center-col'>
+ <td class='acq-invoice-center-col' nowrap='nowrap'>
<span name='inv_item_count'></span> / <span name='phys_item_count'></span>
</td>
<td class='acq-invoice-billed-col'><div name='cost_billed'></div></td>
</div> <!-- tab 2 -->
</div> <!-- end tabcontainer -->
</div> <!-- end contentpane -->
-
</div>
<div dojoType='openils.widget.ProgressDialog' jsId='progressDialog'></div>
<div jsId='extraItemsDialog' dojoType="dijit.Dialog" title="Extra Items">
['inv_item_count', 'phys_item_count', 'cost_billed', 'amount_paid'],
function(field) {
var dijitArgs = {required : true, constraints : {min: 0}, style : 'width:6em'};
- if(!field.match(/count/)) dijitArgs.style = 'width:9em';
+ if(field.match(/count/)) {
+ dijitArgs.style = 'width:4em;';
+ } else {
+ dijitArgs.style = 'width:9em;';
+ }
if(entry.isnew() && field == 'phys_item_count') {
// by default, attempt to pay for all non-canceled and as-of-yet-un-invoiced items
var count = Number(li.order_summary().item_count() || 0) -