merged server

This commit is contained in:
hafifierahman
2024-12-31 00:16:55 +08:00
10 changed files with 169 additions and 36 deletions
+2 -2
View File
@@ -489,7 +489,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;
@@ -655,7 +655,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;