fixed conflict
This commit is contained in:
@@ -119,6 +119,18 @@ class CustomerController extends Controller
|
||||
return response()->json($gadai);
|
||||
}
|
||||
|
||||
public function getLaporanCustomers($kodcaw, $tarikh)
|
||||
{
|
||||
$cawangan = Cawangan::on('mysql7')->where('kodcaw','=',$kodcaw)->first();
|
||||
|
||||
$gadai = Customer::on($cawangan['mysql'])
|
||||
->where('tarikhdaftar','=',$tarikh)
|
||||
->orderBy('tarikhdaftar', 'desc')
|
||||
->get();
|
||||
|
||||
return response()->json($gadai);
|
||||
}
|
||||
|
||||
public function create($kodcaw,Request $request){
|
||||
$current = Carbon::now();
|
||||
$current = new Carbon();
|
||||
|
||||
Reference in New Issue
Block a user