merged server
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user