This commit is contained in:
Zakwan Hamdan
2020-10-28 00:11:58 +08:00
parent 1776c441d3
commit 508270157c
+1 -1
View File
@@ -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'])