auto isBusiness based on customer selected
This commit is contained in:
@@ -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(
|
||||
|
||||
Reference in New Issue
Block a user