changed from server 30/12/2024

This commit is contained in:
root
2024-12-30 23:40:57 +08:00
parent 520ca5d92d
commit 909c3e3a16
10 changed files with 171 additions and 38 deletions
+3 -3
View File
@@ -483,7 +483,7 @@ class Penebusan
$data = Transaction::on('mysql7')->where('norujukan','=',$norujukan)->whereIn('trans_type', ['P', 'T', 'S'])->first();
if(!empty($data)){
return 'duplicate';
return response()->json('duplicate');
}
$ujrah=0;$onepercent=0;$rounded=0;
@@ -649,7 +649,7 @@ class Penebusan
$data = Transaction::on('mysql7')->where('norujukan','=',$norujukan)->where('trans_type','=','AT')->first();
if(!empty($data)){
return 'duplicate';
return response()->json('duplicate');
}
$ujrah=0;$onepercent=0;$rounded=0;
@@ -917,4 +917,4 @@ class Penebusan
}
}
}