$debits = Liquidations_det::where('liquidation_id',$id)
->where('cbu','<>','')
->where(function ($q) { $q->where('result','<>','OK')
->orWhere('result',null);
})
->get()