setter
parent
49cdc157d3
commit
0f2a8f4653
|
@ -224,12 +224,12 @@ class Coupon extends Base
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
$data['commission_agency'] = $this->data["distributionProportion"]["commission_agency"];
|
$data['commission_agency'] = $this->data["distributionProportion"]["agency"];
|
||||||
$data['commission_admin'] = $this->data["distributionProportion"]["commission_admin"];
|
$data['commission_admin'] = $this->data["distributionProportion"]["admin"];
|
||||||
$data['commission_consumer'] = $this->data["distributionProportion"]["commission_consumer"];
|
$data['commission_consumer'] = $this->data["distributionProportion"]["consumer"];
|
||||||
$data['commission_dis_admin'] = $this->data["distributionProportionUser"]["commission_dis_admin"];
|
$data['commission_dis_admin'] = $this->data["distributionProportionUser"]["admin"];
|
||||||
$data['commission_dis_distribution'] = $this->data["distributionProportionUser"]["commission_dis_distribution"];
|
$data['commission_dis_distribution'] = $this->data["distributionProportionUser"]["distribution"];
|
||||||
$data['commission_dis_distributed'] = $this->data["distributionProportionUser"]["commission_dis_distributed"];
|
$data['commission_dis_distributed'] = $this->data["distributionProportionUser"]["distributed"];
|
||||||
|
|
||||||
$totalCommission = $data['commission_agency'] + $data['commission_admin'] + $data['commission_consumer'];
|
$totalCommission = $data['commission_agency'] + $data['commission_admin'] + $data['commission_consumer'];
|
||||||
if ($totalCommission != 100) {
|
if ($totalCommission != 100) {
|
||||||
|
|
Loading…
Reference in New Issue