Handling for pop_carry_over_traget.
This commit is contained in:
parent
de6f263817
commit
4d5583df2d
@ -24,6 +24,7 @@ public:
|
|||||||
pop_min_price = 0;
|
pop_min_price = 0;
|
||||||
pop_max_price = 0;
|
pop_max_price = 0;
|
||||||
pop_carry_over = -1;
|
pop_carry_over = -1;
|
||||||
|
pop_carry_over_target = false;
|
||||||
pop_carry_over_time_range_id = -1;
|
pop_carry_over_time_range_id = -1;
|
||||||
pop_carry_over_start_time_range = -1;
|
pop_carry_over_start_time_range = -1;
|
||||||
pop_carry_over_end_time_range = -1;
|
pop_carry_over_end_time_range = -1;
|
||||||
@ -43,6 +44,7 @@ public:
|
|||||||
double pop_min_price;
|
double pop_min_price;
|
||||||
double pop_max_price;
|
double pop_max_price;
|
||||||
int pop_carry_over;
|
int pop_carry_over;
|
||||||
|
bool pop_carry_over_target;
|
||||||
int pop_carry_over_time_range_id;
|
int pop_carry_over_time_range_id;
|
||||||
int pop_carry_over_start_time_range;
|
int pop_carry_over_start_time_range;
|
||||||
int pop_carry_over_end_time_range;
|
int pop_carry_over_end_time_range;
|
||||||
|
@ -486,6 +486,11 @@ bool Configuration::ParseJson(Configuration* cfg, const char* json)
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
} else if (strcmp(inner_obj_name, "pop_carry_over_target") == 0) {
|
||||||
|
if (k->value.IsBool()) {
|
||||||
|
bool const v = k->value.GetBool();
|
||||||
|
this->currentPaymentOptions.last().pop_carry_over_target = v;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
case MemberType::DurationType:
|
case MemberType::DurationType:
|
||||||
|
Loading…
Reference in New Issue
Block a user