fix api
This commit is contained in:
@@ -80,7 +80,7 @@ class CustomerController extends Controller
|
||||
$gadai_status = 'L';
|
||||
}
|
||||
|
||||
$cawangan = Cawangan::on('mysql7')->where('kodcaw','=',$kodcaw)->get();
|
||||
$cawangan = Cawangan::on('mysql7')->where('kodcaw','=',$kodcaw)->first();
|
||||
|
||||
if($status == 'belum_tebus' || $status == 'sudah_tebus'){
|
||||
$gadai = Gadai::on($cawangan['mysql'])
|
||||
|
||||
Reference in New Issue
Block a user