app/ClientChannelReference.php
// function to deactivate client channel reference
function to deactivate client channel reference
function to deactivate client channel reference
public function deactivateClientChannelReference($channelRefId) {
    	$result = DB::table('client_channels_reference')
		            ->where('channel_ref_id', $channelRefId)
		            ->update(['status' => 137]);
    	return $result;
    }
public function deactivateClientChannelReference ( $ channelRefId ) { $ result = DB :: table ( 'client_channels_reference' ) -> where ( 'channel_ref_id' , $ channelRefId ) -> update ( [ 'status' => 137 ] ) ; return $ result ; }
function to deactivate client channel reference
function to deactivate client channel reference