View | Details | Raw Unified | Return to bug 33885
Collapse All | Expand All

(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/orderreceive.tt (-2 / +5 lines)
Lines 1156-1162 Link Here
1156
                }
1156
                }
1157
                $("#bookfund").select2({ width: '50%' });
1157
                $("#bookfund").select2({ width: '50%' });
1158
                $("#current-fund").html(FUNC_CUR.format(row.fund.budget.budget_period_description, row.fund.name));
1158
                $("#current-fund").html(FUNC_CUR.format(row.fund.budget.budget_period_description, row.fund.name));
1159
                $("#creator").html([row.creator.surname, row.creator.firstname].filter(function(name){return name}).join(', ')+" ("+row.creator.patron_id+')')
1159
                if( row.creator ) {
1160
                    $("#creator").html([row.creator.surname, row.creator.firstname].filter(function(name){return name}).join(', ')+" ("+row.creator.patron_id+')')
1161
                } else {
1162
                    $("#creator").html(__("Account has been deleted"));
1163
                }
1160
                $("#quantity_to_receive").val(row.quantity).prop('readonly', !row.subscription_id);
1164
                $("#quantity_to_receive").val(row.quantity).prop('readonly', !row.subscription_id);
1161
                $("#quantity").val( effective_create_items == 'cataloguing' ? row.quantity_received || 1 : row.quantity_received )
1165
                $("#quantity").val( effective_create_items == 'cataloguing' ? row.quantity_received || 1 : row.quantity_received )
1162
                              .prop('readonly', !row.subscription_id && effective_create_items == 'receiving')
1166
                              .prop('readonly', !row.subscription_id && effective_create_items == 'receiving')
1163
- 

Return to bug 33885