order success
This commit is contained in:
@@ -13,8 +13,8 @@ import 'package:worker/core/theme/colors.dart';
|
||||
/// Allows user to request price negotiation instead of direct order.
|
||||
class PriceNegotiationSection extends HookWidget {
|
||||
|
||||
const PriceNegotiationSection({super.key, required this.needsNegotiation});
|
||||
final ValueNotifier<bool> needsNegotiation;
|
||||
const PriceNegotiationSection({super.key, required this.ignorePricingRule});
|
||||
final ValueNotifier<bool> ignorePricingRule;
|
||||
|
||||
@override
|
||||
Widget build(BuildContext context) {
|
||||
@@ -29,9 +29,9 @@ class PriceNegotiationSection extends HookWidget {
|
||||
child: Row(
|
||||
children: [
|
||||
Checkbox(
|
||||
value: needsNegotiation.value,
|
||||
value: ignorePricingRule.value,
|
||||
onChanged: (value) {
|
||||
needsNegotiation.value = value ?? false;
|
||||
ignorePricingRule.value = value ?? false;
|
||||
},
|
||||
activeColor: AppColors.warning,
|
||||
),
|
||||
|
||||
Reference in New Issue
Block a user