PreorderBilling: activation_billing now also works for operator_setup
This commit is contained in:
@@ -451,7 +451,7 @@ class PreorderBillingController extends mfBaseController {
|
|||||||
$status_change_date = $status_244_change_date;
|
$status_change_date = $status_244_change_date;
|
||||||
}
|
}
|
||||||
|
|
||||||
if($status_change_date < $earliest_bill_date) {
|
if($status_change_date < $earliest_bill_date && !$preorder->activation_billing) {
|
||||||
$this->log->debug(__METHOD__.": Not billing operator_setup for preorder ".$preorder->id." because status change date ".$status_change_date->format("Y-m-d")." is before earliest_bill_date ".$earliest_bill_date->format("Y-m-d"));
|
$this->log->debug(__METHOD__.": Not billing operator_setup for preorder ".$preorder->id." because status change date ".$status_change_date->format("Y-m-d")." is before earliest_bill_date ".$earliest_bill_date->format("Y-m-d"));
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user