PaymentVariantsWindow: Disable calcualte button when save button is enabled
This commit is contained in:
@ -134,6 +134,7 @@ namespace Elwig.Windows {
|
||||
(ConsiderPenaltiesInput.IsChecked != BillingData?.ConsiderContractPenalties) ||
|
||||
(ConsiderPenaltyInput.IsChecked != BillingData?.ConsiderTotalPenalty) ||
|
||||
(ConsiderAutoInput.IsChecked != BillingData?.ConsiderAutoBusinessShares));
|
||||
CalculateButton.IsEnabled = !SaveButton.IsEnabled && PaymentVariantList.SelectedItem is PaymentVar { TestVariant: true };
|
||||
}
|
||||
|
||||
private void UpdateSums() {
|
||||
|
Reference in New Issue
Block a user