amount fix
This commit is contained in:
@@ -193,7 +193,7 @@ class Confg extends Bko_Controller {
|
||||
$out = array();
|
||||
$result ='';
|
||||
for ($i = 1; $i <= $quantity; $i++) {
|
||||
$data['amount'] = $amount;
|
||||
$data['amount'] = $amount*100;
|
||||
$data['code'] = strtoupper( $this->getCouponsCode(10) );
|
||||
$data['description'] = "Back Office Coupons Gen";
|
||||
$res = $this->backend_model->wrenchboard_api($data, $out);
|
||||
|
||||
Reference in New Issue
Block a user