public function indextables()
 {
     $datas = Transferencia::Datatables()->get();
     $data = $this->lisTransf($datas);
     return Datatables::of(collect($data))->editColumn('codigo', function ($data) {
         return '<a href="transferencia/' . $data['id'] . '" >' . $data['codigo'] . '</a>';
     })->addColumn('action', function ($data) {
         return '<a href="transferencia/' . $data['id'] . '/edit" class="btn btn-xs btn-primary">Edit</a>' . ' / <form method="POST" action="http://localhost/inventario/transferencia/ ' . $data['id'] . '" accept-charset="UTF-8" style="display:inline"><input name="_method" type="hidden" value="DELETE"><input name="_token" type="hidden" value="' . csrf_token() . '"><button type="submit" class="btn btn-danger btn-xs">Borrar</button></form>';
     })->make(true);
 }