amount fix

This commit is contained in:
CHIEFSOFT\ameye
2024-07-04 11:01:49 -04:00
parent 7c9bb1ec97
commit 0b6bc3019e
+1 -1
View File
@@ -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);