Skip to content

Commit

Permalink
Fix condition when ff on
Browse files Browse the repository at this point in the history
  • Loading branch information
joaquinco committed Mar 5, 2025
1 parent b2f9cfc commit 8d0458e
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ def edit_disabled?
end

def actual_cost_edit_disabled?
return true unless SettingsHelper.feature_on?(:allow_global_billing_admin_update_actual_prices)
return false unless SettingsHelper.feature_on?(:allow_global_billing_admin_update_actual_prices)

@order_detail.awaiting_payment? && !current_user.global_billing_administrator?
end
Expand Down

0 comments on commit 8d0458e

Please sign in to comment.