Bug 8179: Remove commented code
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io> Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com> Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
This commit is contained in:
parent
b95b4d4c89
commit
fd15202d6b
|
|
@ -195,7 +195,6 @@ foreach my $budget (@{$budgets}) {
|
|||
b_sort1_authcat => $budget->{'sort1_authcat'},
|
||||
b_sort2_authcat => $budget->{'sort2_authcat'},
|
||||
b_active => $budget->{budget_period_active},
|
||||
# b_sel => ( $budget->{budget_id} == $order->budget_id ) ? 1 : 0,
|
||||
b_level => $budget->{budget_level},
|
||||
};
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1112,19 +1112,9 @@
|
|||
if(row.subscription_id) {
|
||||
$('#modal-order-main #items-panel').removeClass('show').addClass('hide');
|
||||
$('#modal-order-main #history-panel').removeClass('hide').addClass('show');
|
||||
/*$('#modal-order-main').tabs("disable", "#items-panel");
|
||||
$('#modal-order-main').tabs("enable", "#history-panel");
|
||||
if($('#modal-order-main').tabs( "option", "active" ) == 3) {
|
||||
$('#modal-order-main').tabs( "option", "active", 0);
|
||||
}*/
|
||||
} else {
|
||||
$('#modal-order-main #history-panel').removeClass('show').addClass('hide');
|
||||
$('#modal-order-main #items-panel').removeClass('hide').addClass('show');
|
||||
/*$('#modal-order-main').tabs("enable", "#items-panel");
|
||||
$('#modal-order-main').tabs("disable", "#history-panel");
|
||||
if($('#modal-order-main').tabs( "option", "active" ) == 2) {
|
||||
$('#modal-order-main').tabs( "option", "active", 0);
|
||||
}*/
|
||||
if(effective_create_items == 'receiving') {
|
||||
$("#acq-create-receiving").show();
|
||||
$("#acq-create-ordering").hide();
|
||||
|
|
@ -1161,12 +1151,6 @@
|
|||
}
|
||||
} else {
|
||||
$('#modal-order-main #items-panel').removeClass('show').addClass('hide');
|
||||
/*
|
||||
if($('#modal-order-main').tabs( "option", "active" ) == 3) {
|
||||
$('#modal-order-main').tabs( "option", "active", 0);
|
||||
}
|
||||
$('#modal-order-main').tabs("disable", "#items-panel");
|
||||
*/
|
||||
}
|
||||
}
|
||||
$("#select_currency").hide();
|
||||
|
|
@ -1226,15 +1210,6 @@
|
|||
$("#order_edit").modal('hide');
|
||||
})
|
||||
|
||||
/*$('#modal-order-main').tabs({
|
||||
activate: function(event, ui) {
|
||||
var active = ui.newPanel.attr('id')
|
||||
if(active == 'history-panel') {
|
||||
show_subs($("#order_edit").data('row'));
|
||||
}
|
||||
}
|
||||
});*/
|
||||
|
||||
$("#order_edit").on("show.bs.modal", function (event) {
|
||||
var anchor = $(event.relatedTarget);
|
||||
var n = anchor.data("row");
|
||||
|
|
|
|||
Loading…
Reference in New Issue