auto isBusiness based on customer selected

This commit is contained in:
2026-05-19 12:03:03 +02:00
parent 4e03d52a5d
commit 3f2f55d6c2
2 changed files with 12 additions and 6 deletions

View File

@@ -387,9 +387,8 @@ class _OperationFormScreenState extends State<OperationFormScreen> {
children: [
SharedCustomerSection(
customer: state.operation.customer,
onCustomerSelected: (customer) => context
.read<OperationFormCubit>()
.updateFields(customer: customer),
onCustomerSelected: (customer) =>
context.read<OperationFormCubit>().updateCustomer(customer),
),
const SizedBox(height: 16),
TextFormField(